summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Android.bp22
1 files changed, 19 insertions, 3 deletions
diff --git a/Android.bp b/Android.bp
index 681d33c..ae0567e 100644
--- a/Android.bp
+++ b/Android.bp
@@ -1,8 +1,11 @@
cc_library_static {
name: "libavcdec",
vendor_available: true,
- host_supported:true,
- shared_libs: ["liblog", "libcutils",],
+ host_supported: true,
+ shared_libs: [
+ "liblog",
+ "libcutils",
+ ],
cflags: [
"-fPIC",
@@ -241,13 +244,21 @@ cc_library_static {
// cfi: true,
blacklist: "libavc_blacklist.txt",
},
+ apex_available: [
+ "//apex_available:platform", // used by libstagefright_soft_avcdec
+ "com.android.media.swcodec",
+ ],
+ min_sdk_version: "29",
}
cc_library_static {
name: "libavcenc",
vendor_available: true,
host_supported: true,
- shared_libs: ["liblog", "libcutils",],
+ shared_libs: [
+ "liblog",
+ "libcutils",
+ ],
cflags: [
"-DNDEBUG",
@@ -512,6 +523,11 @@ cc_library_static {
// cfi: true,
blacklist: "libavc_blacklist.txt",
},
+ apex_available: [
+ "//apex_available:platform", //due to libstagefright_soft_avcenc
+ "com.android.media.swcodec",
+ ],
+ min_sdk_version: "29",
}
subdirs = ["test"]