aboutsummaryrefslogtreecommitdiffstats
path: root/Android.bp
diff options
context:
space:
mode:
authorJooyung Han <jooyung@google.com>2020-04-16 18:48:25 +0900
committerJooyung Han <jooyung@google.com>2020-04-23 01:01:46 +0900
commitd40f05a61897c4ba746dd2b383fff0c158026c1f (patch)
tree8151013f6e261ead029db123dc5922166ad9da20 /Android.bp
parent662d97440093d0c89b3b94694892d779c3d92691 (diff)
downloadfdk-aac-d40f05a61897c4ba746dd2b383fff0c158026c1f.tar.gz
fdk-aac-d40f05a61897c4ba746dd2b383fff0c158026c1f.tar.bz2
fdk-aac-d40f05a61897c4ba746dd2b383fff0c158026c1f.zip
Set min_sdk_version to be part of mainline modules
Modules contributing mainline modules (APK/APEX) should set min_sdk_version as well as apex_available. For now setting min_sdk_version doesn't change build outputs. But build-time checks will be added soon. Bug: 152655956 Test: m Change-Id: I662ad951a3221f967b53e7af65cb203a4b4a5e5d
Diffstat (limited to 'Android.bp')
-rw-r--r--Android.bp17
1 files changed, 12 insertions, 5 deletions
diff --git a/Android.bp b/Android.bp
index c0937dd..555223b 100644
--- a/Android.bp
+++ b/Android.bp
@@ -1,7 +1,7 @@
cc_library_static {
name: "libFraunhoferAAC",
vendor_available: true,
- host_supported:true,
+ host_supported: true,
srcs: [
"libAACdec/src/*.cpp",
"libAACenc/src/*.cpp",
@@ -27,10 +27,10 @@ cc_library_static {
"-DSUPPRESS_BUILD_DATE_INFO",
],
sanitize: {
- misc_undefined:[
- "unsigned-integer-overflow",
- "signed-integer-overflow",
- "bounds",
+ misc_undefined: [
+ "unsigned-integer-overflow",
+ "signed-integer-overflow",
+ "bounds",
],
// Enable CFI if this becomes a shared library.
// cfi: true,
@@ -59,4 +59,11 @@ cc_library_static {
enabled: false,
},
},
+
+ apex_available: [
+ "//apex_available:platform",
+ "com.android.bluetooth.updatable",
+ "com.android.media.swcodec",
+ ],
+ min_sdk_version: "29",
}