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: Id9f934640b30527cec7b5cc4c180a04c4aeffb40
(cherry picked from commit 4eca36ad3d1c7bfb5fe2d4d865b0ff809dc7f549)
Change-Id: Id9f934640b30527cec7b5cc4c180a04c4aeffb40
diff --git a/Android.bp b/Android.bp
index cbc268c..7c7ba25 100644
--- a/Android.bp
+++ b/Android.bp
@@ -53,6 +53,11 @@
enabled: true,
},
},
+ apex_available: [
+ "//apex_available:platform",
+ "com.android.adbd",
+ "com.android.media.swcodec",
+ ],
}
cc_binary {