summaryrefslogtreecommitdiff
path: root/libnativeloader
diff options
context:
space:
mode:
authorJiyong Park <jiyong@google.com>2020-04-28 18:20:43 +0900
committerTreehugger Robot <treehugger-gerrit@google.com>2020-05-04 12:18:30 +0000
commit71f661c294156f2ebe10600368a23a35d882c67b (patch)
tree92f830a0ffe7e266a2182bac8dcb3fd4d6ba9c55 /libnativeloader
parent0c66e678a0562846449a424e297211a1aa70694d (diff)
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. Bug: 150999716 Test: m Merged-In: Ie9a693be10c6c6571c8aa5357500f5d931400593 (cherry picked from commit 0f152391c0458d3d1cce04a11bc92e7234955d6f) Change-Id: Ie9a693be10c6c6571c8aa5357500f5d931400593
Diffstat (limited to 'libnativeloader')
-rw-r--r--libnativeloader/Android.bp5
1 files changed, 5 insertions, 0 deletions
diff --git a/libnativeloader/Android.bp b/libnativeloader/Android.bp
index 4024d48c37..645cf6475e 100644
--- a/libnativeloader/Android.bp
+++ b/libnativeloader/Android.bp
@@ -71,6 +71,11 @@ cc_library {
cc_library_headers {
name: "libnativeloader-headers",
+ apex_available: [
+ "//apex_available:platform",
+ "com.android.art.debug",
+ "com.android.art.release",
+ ],
visibility: [
"//art:__subpackages__",
// TODO(b/133140750): Clean this up.