summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2020-05-02 01:05:30 +0000
committerandroid-build-team Robot <android-build-team-robot@google.com>2020-05-02 01:05:30 +0000
commitee7a9bb20130808ca3ceb2f253528b1b1e60e3d5 (patch)
tree92c295e37230b3be82c46f9a69bf41e2893e1784
parentdfb6d034cf4007c655b642ddc46a84125f973f01 (diff)
parente8d70076de07ecf3f31de9a8ce7affde9b5e0dda (diff)
downloadplatform_external_libavc-ee7a9bb20130808ca3ceb2f253528b1b1e60e3d5.tar.gz
platform_external_libavc-ee7a9bb20130808ca3ceb2f253528b1b1e60e3d5.tar.bz2
platform_external_libavc-ee7a9bb20130808ca3ceb2f253528b1b1e60e3d5.zip
Snap for 6453963 from e8d70076de07ecf3f31de9a8ce7affde9b5e0dda to rvc-release
Change-Id: I75bd41f759ae9b985f6496964cc20334b0d6220c
-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"]