aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLiz Kammer <eakammer@google.com>2022-01-24 22:01:03 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2022-01-24 22:01:03 +0000
commite1994880d01d61160ed1a761bcd2dd79aa1912b8 (patch)
tree56e2cb87201135f87c41592ddf614f3a0f01f40c
parent82d8129b864bd2d4fb44c9c95d2bf07d117c3460 (diff)
parenta6fee370bedf000f6d2032fe0ea599beaa5a5330 (diff)
downloadx86_64-w64-mingw32-4.8-e1994880d01d61160ed1a761bcd2dd79aa1912b8.tar.gz
Make libwinpthread a prebuilt_cc_library_static am: a6fee370be
Original change: https://android-review.googlesource.com/c/platform/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/+/1950276 Change-Id: Ie6d81a742c64164df1e52026f6a256bac7b46103
-rw-r--r--Android.bp20
1 files changed, 20 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index e34afa83..5452aff4 100644
--- a/Android.bp
+++ b/Android.bp
@@ -94,3 +94,23 @@ cc_prebuilt_library_shared {
},
},
}
+
+cc_prebuilt_library_static {
+ name: "libwinpthread",
+ host_supported: true,
+ enabled: false,
+ target: {
+ windows: {
+ enabled: true,
+ },
+ windows_x86: {
+ srcs: ["x86_64-w64-mingw32/lib32/libwinpthread.a"],
+ },
+ windows_x86_64: {
+ srcs: ["x86_64-w64-mingw32/lib/libwinpthread.a"],
+ },
+ },
+ stl: "none",
+ notice: ":mingw-libwinpthread-notice",
+ licenses: ["winpthreads_license"],
+}