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
Change-Id: Id5691b02c107ed7b844a186f0a5effa3cb0fe52a
diff --git a/libc/Android.bp b/libc/Android.bp
index 4d35592..a6a7780 100644
--- a/libc/Android.bp
+++ b/libc/Android.bp
@@ -1774,6 +1774,12 @@
ramdisk_available: true,
recovery_available: true,
native_bridge_supported: true,
+ apex_available: [
+ "//apex_available:platform",
+ "com.android.runtime",
+ "com.android.art.debug",
+ "com.android.art.release",
+ ],
no_libcrt: true,
stl: "none",
@@ -1905,6 +1911,10 @@
ramdisk_available: true,
recovery_available: true,
native_bridge_supported: true,
+ apex_available: [
+ "//apex_available:platform",
+ "//apex_available:anyapex",
+ ],
cflags: [
"-Wno-gcc-compat",