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: I274feb4542624b348999e7c5f189f8606c6cd63d
(cherry picked from commit 3144db91ba989f6744eba50e8897009a02bb26e3)
Change-Id: I274feb4542624b348999e7c5f189f8606c6cd63d
diff --git a/server/Android.bp b/server/Android.bp
index 96db22c..509fbe5 100644
--- a/server/Android.bp
+++ b/server/Android.bp
@@ -6,6 +6,14 @@
"binder/android/net/metrics/INetdEventListener.aidl",
],
versions: ["1"],
+ backend: {
+ ndk: {
+ apex_available: [
+ "//apex_available:platform",
+ "com.android.resolv",
+ ],
+ },
+ },
}
// These are used in netd_integration_test