diff options
author | Dan Willemsen <dwillemsen@google.com> | 2021-10-15 03:22:22 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2021-10-15 03:22:22 +0000 |
commit | 860ca62c01ce8bf26d0c4581ee57dc1c6e9312c9 (patch) | |
tree | c8cd19ebf981e58c6bc151e9059fabbd64890b36 | |
parent | 9625cd6095db79a30f80b2fbcad6b6fda22e9ec7 (diff) | |
parent | 6250582f5894c10902e883cda8e4d00678d8c5b0 (diff) | |
download | x86_64-w64-mingw32-4.8-860ca62c01ce8bf26d0c4581ee57dc1c6e9312c9.tar.gz |
Expose libwinpthread-1.dll for the sdk-repo builds am: 61f9308c4d am: 5ff560d6c5 am: bced1aa67b am: 6250582f58
Original change: https://android-review.googlesource.com/c/platform/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/+/1827839
Change-Id: I1d00155697ff4bbfa129ff305e86e748f581855f
-rw-r--r-- | Android.bp | 34 |
1 files changed, 34 insertions, 0 deletions
@@ -56,7 +56,41 @@ license { ], } +license { + name: "winpthreads_license", + visibility: ["//build/soong"], + license_kinds: [ + "SPDX-license-identifier-BSD", + "SPDX-license-identifier-MIT", + ], + license_text: ["licenses/mingw-w64-svn-r5861/mingw-w64-libraries/winpthreads/COPYING"], +} + filegroup { name: "mingw-libwinpthread-notice", srcs: ["licenses/mingw-w64-svn-r5861/mingw-w64-libraries/winpthreads/COPYING"], } + +cc_prebuilt_library_shared { + name: "libwinpthread-1", + host_supported: true, + device_supported: false, + stl: "none", + licenses: ["winpthreads_license"], + multilib: { + lib32: { + srcs: ["x86_64-w64-mingw32/lib32/libwinpthread-1.dll"], + }, + lib64: { + srcs: ["x86_64-w64-mingw32/bin/libwinpthread-1.dll"], + }, + }, + visibility: ["//development/build"], + + enabled: false, + target: { + windows: { + enabled: true, + }, + }, +} |