summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJiyong Park <jiyong@google.com>2020-04-28 18:23:23 +0900
committerJiyong Park <jiyong@google.com>2020-05-28 00:49:24 +0000
commit2f2a03fea2229fe2461662cfd186033eda5f6e6a (patch)
tree504a97b7935c2f305d81b11fa0bc92a7365b02b9
parent69a32df22aab9e05dc8553f52c2da28c6b9f3e2c (diff)
downloadzlib-2f2a03fea2229fe2461662cfd186033eda5f6e6a.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: If51a7e80f4aed7495cb49f5ceb54fd2b4af0f7d2 Change-Id: I15d316f0fa244b69b3b8c629b8e8b8b2c26354e7
-rw-r--r--Android.bp14
1 files changed, 14 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index c665c49..79e978d 100644
--- a/Android.bp
+++ b/Android.bp
@@ -71,6 +71,20 @@ cc_library {
enabled: true,
},
},
+
+// TODO(b/155456180): make libz a stub-providing library by uncommenting below
+// stubs: {
+// versions: ["29", "30"],
+// symbol_file: "libz.map.txt",
+// },
+
+ apex_available: [
+ "//apex_available:platform",
+ "com.android.art.debug", // from libdexfile
+ "com.android.art.release",
+ "com.android.bluetooth.updatable",
+ "com.android.runtime",
+ ],
}
cc_library_static {