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: cherry-pick from AOSP
Bug: 150999716
Test: m
Merged-In: I458238884fdd1bb56f2829c21efd7be034d88c9b
(cherry picked from commit 3adbb4da752373f3260a5c5a40e875b82519ac58)
Change-Id: I458238884fdd1bb56f2829c21efd7be034d88c9b
diff --git a/Android.bp b/Android.bp
index fbdc10f..52ae704 100644
--- a/Android.bp
+++ b/Android.bp
@@ -25,6 +25,10 @@
static_libs: ["guava-jre"],
},
},
+ apex_available: [
+ "//apex_available:platform",
+ "//apex_available:anyapex",
+ ],
}
java_library {