aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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,
+ },
+ },
+}