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: I3cb9f457c132f2553b002004837b55a3068c93a9
diff --git a/Android.bp b/Android.bp
index 4805bb8..98b4a2a 100644
--- a/Android.bp
+++ b/Android.bp
@@ -30,6 +30,9 @@
},
ndk: {
gen_log: true,
+ apex_available: [
+ "com.android.resolv",
+ ],
},
},
versions: [
@@ -166,6 +169,7 @@
sanitize: {
cfi: true,
},
+ apex_available: ["com.android.resolv"],
}
cc_library_static {
@@ -178,6 +182,7 @@
srcs: [
"stats.proto",
],
+ apex_available: ["com.android.resolv"],
}
genrule {
@@ -209,6 +214,7 @@
"libgtest_prod", // Used by libstatspush_compat
"libstatspush_compat",
],
+ apex_available: ["com.android.resolv"],
}
filegroup {