aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Willemsen <dwillemsen@google.com>2021-10-15 03:39:17 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2021-10-15 03:39:17 +0000
commit3ca63a51d52d7f9d7e0bbe5b4893719d993596a9 (patch)
treec8cd19ebf981e58c6bc151e9059fabbd64890b36
parent06a6c8884c50620c83486def53f0515e10c48864 (diff)
parent860ca62c01ce8bf26d0c4581ee57dc1c6e9312c9 (diff)
downloadx86_64-w64-mingw32-4.8-3ca63a51d52d7f9d7e0bbe5b4893719d993596a9.tar.gz
Expose libwinpthread-1.dll for the sdk-repo builds am: 61f9308c4d am: 5ff560d6c5 am: bced1aa67b am: 6250582f58 am: 860ca62c01
Original change: https://android-review.googlesource.com/c/platform/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/+/1827839 Change-Id: I379648b405ca093166c61bec11cf5567ba713b4d
-rw-r--r--Android.bp34
1 files changed, 34 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index ae93b9fe..e34afa83 100644
--- a/Android.bp
+++ b/Android.bp
@@ -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,
+ },
+ },
+}