mirror of https://github.com/mstorsjo/fdk-aac.git
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
This commit is contained in:
parent
662d974400
commit
d40f05a618
11
Android.bp
11
Android.bp
|
@ -1,7 +1,7 @@
|
||||||
cc_library_static {
|
cc_library_static {
|
||||||
name: "libFraunhoferAAC",
|
name: "libFraunhoferAAC",
|
||||||
vendor_available: true,
|
vendor_available: true,
|
||||||
host_supported:true,
|
host_supported: true,
|
||||||
srcs: [
|
srcs: [
|
||||||
"libAACdec/src/*.cpp",
|
"libAACdec/src/*.cpp",
|
||||||
"libAACenc/src/*.cpp",
|
"libAACenc/src/*.cpp",
|
||||||
|
@ -27,7 +27,7 @@ cc_library_static {
|
||||||
"-DSUPPRESS_BUILD_DATE_INFO",
|
"-DSUPPRESS_BUILD_DATE_INFO",
|
||||||
],
|
],
|
||||||
sanitize: {
|
sanitize: {
|
||||||
misc_undefined:[
|
misc_undefined: [
|
||||||
"unsigned-integer-overflow",
|
"unsigned-integer-overflow",
|
||||||
"signed-integer-overflow",
|
"signed-integer-overflow",
|
||||||
"bounds",
|
"bounds",
|
||||||
|
@ -59,4 +59,11 @@ cc_library_static {
|
||||||
enabled: false,
|
enabled: false,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
|
apex_available: [
|
||||||
|
"//apex_available:platform",
|
||||||
|
"com.android.bluetooth.updatable",
|
||||||
|
"com.android.media.swcodec",
|
||||||
|
],
|
||||||
|
min_sdk_version: "29",
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue