diff options
author | Jiyong Park <jiyong@google.com> | 2020-04-28 17:10:06 +0900 |
---|---|---|
committer | Jiyong Park <jiyong@google.com> | 2020-05-19 02:04:48 +0000 |
commit | 912db88c1d89d011f68e9c4091e7f11382842836 (patch) | |
tree | 75cef8a8e7b22298f291c2b30bb789d44fb98e53 /Android.bp | |
parent | 8e3910f37427cdde100f742d6134404229439ca7 (diff) | |
download | zlib-912db88c1d89d011f68e9c4091e7f11382842836.tar.gz |
Set apex_available property
The marked library(ies) were available to the APEXes via the
hand-written whitelist in build/soong/apex/apex.go. Trying to remove the
whitelist by adding apex_available property to the Android.bp of the
libraries.
Exempt-From-Owner-Approval: approved by enh
Bug: 150999716
Test: m
Merged-In: I022ce8459039c11f62d7f7f4e6e1a822489da953
Change-Id: I5a6070ad03768575c9b5980b3e03ddc3d222e119
Diffstat (limited to 'Android.bp')
-rw-r--r-- | Android.bp | 20 |
1 files changed, 14 insertions, 6 deletions
@@ -73,12 +73,6 @@ cc_library { }, } -cc_library_static { - name: "libz_current", - defaults: ["libz_defaults"], - sdk_version: "current", -} - cc_binary_host { name: "minigzip", srcs: ["contrib/minigzip/minigzip.c"], @@ -115,6 +109,20 @@ cc_binary { // license: "NOTICE", // } +// TODO(b/155351357) remove this library and let libtextclassifier to use libz +// instead. +// libz_current allows modules building against the NDK to have access to zlib +// API that's not available from the NDK libz. +cc_library_static { + name: "libz_current", + defaults: ["libz_defaults"], + sdk_version: "current", + + apex_available: [ + "com.android.extservices", // indirectly via libtextclassifier + ], +} + ndk_library { name: "libz", symbol_file: "libz.map.txt", |