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: I6cfff21dcaf861392f8b69d97195831cdda4c1be
This commit is contained in:
parent
748aa1e459
commit
669c6bb63c
1 changed files with 17 additions and 3 deletions
20
Android.bp
20
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"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue