diff options
author | Dan Willemsen <dwillemsen@google.com> | 2017-09-27 16:08:53 -0700 |
---|---|---|
committer | Dan Willemsen <dwillemsen@google.com> | 2017-09-27 20:02:59 -0700 |
commit | 9de5a545a801336965f9e64c0e89867c53b1885f (patch) | |
tree | 116503a146fffede408aa8a6f11c329c0aaae199 | |
parent | d157ac9fdb59d1aff35316625bc3a8486d767f44 (diff) | |
download | android_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.bp | 33 |
1 files changed, 5 insertions, 28 deletions
@@ -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, |