diff --git a/Android.bp b/Android.bp index a02b20b..343b234 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", @@ -229,13 +232,20 @@ cc_library_static { // cfi: true, blacklist: "libavc_blacklist.txt", }, + apex_available: [ + "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", @@ -482,6 +492,10 @@ cc_library_static { // cfi: true, blacklist: "libavc_blacklist.txt", }, + apex_available: [ + "com.android.media.swcodec", + ], + min_sdk_version: "29", } subdirs = ["test"]