diff options
-rw-r--r-- | Android.bp | 22 |
1 files changed, 19 insertions, 3 deletions
@@ -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"] |