aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Willemsen <dwillemsen@google.com>2021-10-15 02:29:40 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2021-10-15 02:29:40 +0000
commit5ff560d6c5bca8f740c27a06704f773834cd0c99 (patch)
treec8cd19ebf981e58c6bc151e9059fabbd64890b36
parent9625cd6095db79a30f80b2fbcad6b6fda22e9ec7 (diff)
parent61f9308c4da1fbb1c6a5c13405e3a3550505b335 (diff)
downloadx86_64-w64-mingw32-4.8-5ff560d6c5bca8f740c27a06704f773834cd0c99.tar.gz
Expose libwinpthread-1.dll for the sdk-repo builds am: 61f9308c4d
Original change: https://android-review.googlesource.com/c/platform/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/+/1827839 Change-Id: Ie2b930e860791a4e1a2b93ed63bfdf631839f5db
-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,
+ },
+ },
+}