Set use_vendor to false for media apex
Use __ANDROID_APEX__ macro to define out binder dependencies in
libstagefright_foundation for apex, and exclude libbinder shared lib.
bug: 166468760
Change-Id: If016c8f22bc4d240a68ff5737f74b460fac1974e
diff --git a/media/codecs/g711/decoder/Android.bp b/media/codecs/g711/decoder/Android.bp
index efff60b..51f4c38 100644
--- a/media/codecs/g711/decoder/Android.bp
+++ b/media/codecs/g711/decoder/Android.bp
@@ -35,7 +35,13 @@
],
cfi: true,
},
- apex_available: ["com.android.media.swcodec"],
+
+ apex_available: [
+ "//apex_available:platform",
+ "com.android.media.swcodec",
+ "test_com.android.media.swcodec",
+ ],
+
min_sdk_version: "29",
target: {