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: Ida890adfe6dfac79267fc0e18b63d2330266438c
This commit is contained in:
Jooyung Han 2020-04-16 18:48:33 +09:00
parent 18da289fac
commit 7ea0d74bc8
3 changed files with 4 additions and 0 deletions

View File

@ -8,6 +8,7 @@ cc_library_headers {
"//apex_available:platform",
"//apex_available:anyapex",
],
min_sdk_version: "apex_inherit",
export_include_dirs: ["include"],
target: {

View File

@ -43,6 +43,7 @@ cc_library {
"//apex_available:anyapex",
"//apex_available:platform",
],
min_sdk_version: "apex_inherit",
}
cc_test {

View File

@ -22,6 +22,7 @@ cc_library_headers {
"//apex_available:platform",
"//apex_available:anyapex",
],
min_sdk_version: "apex_inherit",
header_libs: [
"liblog_headers",
@ -162,6 +163,7 @@ cc_library {
"//apex_available:anyapex",
"//apex_available:platform",
],
min_sdk_version: "apex_inherit",
}
cc_library {