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
Merged-In: Ida890adfe6dfac79267fc0e18b63d2330266438c
Change-Id: Ida890adfe6dfac79267fc0e18b63d2330266438c
(cherry picked from commit 7ea0d74bc8
)
This commit is contained in:
parent
310b46c1ca
commit
7937f29be8
3 changed files with 4 additions and 0 deletions
|
@ -8,6 +8,7 @@ cc_library_headers {
|
|||
"//apex_available:platform",
|
||||
"//apex_available:anyapex",
|
||||
],
|
||||
min_sdk_version: "apex_inherit",
|
||||
export_include_dirs: ["include"],
|
||||
|
||||
target: {
|
||||
|
|
|
@ -43,6 +43,7 @@ cc_library {
|
|||
"//apex_available:anyapex",
|
||||
"//apex_available:platform",
|
||||
],
|
||||
min_sdk_version: "apex_inherit",
|
||||
}
|
||||
|
||||
cc_test {
|
||||
|
|
|
@ -22,6 +22,7 @@ cc_library_headers {
|
|||
"//apex_available:platform",
|
||||
"//apex_available:anyapex",
|
||||
],
|
||||
min_sdk_version: "apex_inherit",
|
||||
|
||||
header_libs: [
|
||||
"liblog_headers",
|
||||
|
@ -168,6 +169,7 @@ cc_library {
|
|||
"//apex_available:anyapex",
|
||||
"//apex_available:platform",
|
||||
],
|
||||
min_sdk_version: "apex_inherit",
|
||||
}
|
||||
|
||||
cc_library {
|
||||
|
|
Loading…
Reference in a new issue