Use apex_available instead of no_apex
no_apex is removed in favor of the new apex_available property.
Bug: 139016109
Bug: 128708192
Test: m
Change-Id: I8d6a01d58fd1a8daf04aa0777ff66d4245c31465
diff --git a/libs/binder/Android.bp b/libs/binder/Android.bp
index 296e3f6..2cd20b5 100644
--- a/libs/binder/Android.bp
+++ b/libs/binder/Android.bp
@@ -71,7 +71,13 @@
// libbinder does not offer a stable wire protocol.
// if a second copy of it is installed, then it may break after security
// or dessert updates. Instead, apex users should use libbinder_ndk.
- no_apex: true,
+ apex_available: [
+ "//apex_available:platform",
+ // TODO(b/139016109) remove these three
+ "apex_test_build_features",
+ "com.android.media.swcodec",
+ "test_com.android.media.swcodec",
+ ],
srcs: [
"Binder.cpp",