aboutsummaryrefslogtreecommitdiffstats
path: root/Android.bp
diff options
context:
space:
mode:
Diffstat (limited to 'Android.bp')
-rw-r--r--Android.bp22
1 files changed, 22 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index aba4538e69..b6dc00e2c1 100644
--- a/Android.bp
+++ b/Android.bp
@@ -237,6 +237,12 @@ cc_defaults {
linux_glibc_x86_64: {
host_ldlibs: ["-lutil"],
},
+ darwin: {
+ host_ldlibs: [
+ "-framework SystemConfiguration",
+ "-framework CoreFoundation",
+ ],
+ },
host: {
static_libs: ["libsqlite"],
},
@@ -331,6 +337,11 @@ cc_library_static {
"py2-c-module-_ctypes_test",
"py2-c-module-_ctypes",
],
+ target: {
+ darwin: {
+ whole_static_libs: ["py2-c-module-_scproxy"],
+ },
+ },
}
cc_binary {
@@ -937,3 +948,14 @@ cc_library_static {
},
},
}
+
+cc_library_host_static {
+ name: "py2-c-module-_scproxy",
+ defaults: ["py2-interp-defaults"],
+ srcs: ["Mac/Modules/_scproxy.c"],
+ target: {
+ linux: {
+ enabled: false,
+ },
+ },
+}