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:
Jooyung Han 2020-05-21 22:46:03 +09:00
parent c669b6bd89
commit 350467dac3
2 changed files with 14 additions and 0 deletions

View file

@ -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"],
}

View file

@ -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"],
}