aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Willemsen <dwillemsen@google.com>2017-09-27 16:08:53 -0700
committerDan Willemsen <dwillemsen@google.com>2017-09-27 20:02:59 -0700
commit9de5a545a801336965f9e64c0e89867c53b1885f (patch)
tree116503a146fffede408aa8a6f11c329c0aaae199
parentd157ac9fdb59d1aff35316625bc3a8486d767f44 (diff)
downloadandroid_external_curl-9de5a545a801336965f9e64c0e89867c53b1885f.tar.gz
android_external_curl-9de5a545a801336965f9e64c0e89867c53b1885f.tar.bz2
android_external_curl-9de5a545a801336965f9e64c0e89867c53b1885f.zip
Rename libz-host -> libz
Also remove host_ldlibs, -lrt is in the default list for linux now. And switch to always declaring shared_libs even for the static library. It's functionally equivalent and reduces duplication. Test: m host Change-Id: I869b4d35361c607d647f6840cfd9c6655ef2afba
-rw-r--r--Android.bp33
1 files changed, 5 insertions, 28 deletions
diff --git a/Android.bp b/Android.bp
index 61ccab4..4938592 100644
--- a/Android.bp
+++ b/Android.bp
@@ -188,37 +188,14 @@ cc_library {
"lib/vtls/gskit.c",
"lib/vtls/mbedtls.c",
],
- shared: {
- shared_libs: [
- "libcrypto",
- "libssl",
- ],
- },
- static: {
- static_libs: [
- "libcrypto",
- "libssl",
- "libz",
- ],
- },
+ shared_libs: [
+ "libcrypto",
+ "libssl",
+ "libz",
+ ],
target: {
host: {
cflags: ["-D_GNU_SOURCE=1"],
- shared: {
- shared_libs: [
- "libz-host",
- ],
- },
- },
- linux: {
- host_ldlibs: ["-lrt"],
- },
- android: {
- shared: {
- shared_libs: [
- "libz",
- ],
- },
},
},
unique_host_soname: true,