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: Ie6912167932812afb6e5f1ef5325ce7997cd04ae
This commit is contained in:
parent
c669b6bd89
commit
350467dac3
2 changed files with 14 additions and 0 deletions
|
@ -17,6 +17,13 @@ aidl_interface {
|
|||
cpp: {
|
||||
enabled: false,
|
||||
},
|
||||
ndk: {
|
||||
apex_available: [
|
||||
"//apex_available:platform",
|
||||
"com.android.media.swcodec",
|
||||
],
|
||||
min_sdk_version: "29",
|
||||
},
|
||||
},
|
||||
versions: ["1"],
|
||||
}
|
||||
|
|
|
@ -20,6 +20,13 @@ aidl_interface {
|
|||
cpp: {
|
||||
enabled: false,
|
||||
},
|
||||
ndk: {
|
||||
apex_available: [
|
||||
"//apex_available:platform",
|
||||
"com.android.media.swcodec",
|
||||
],
|
||||
min_sdk_version: "29",
|
||||
},
|
||||
},
|
||||
versions: ["1"],
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue