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: I9b630aabff01eb1dd5dc4c0f14517e6d1a914126
This commit is contained in:
Jooyung Han 2020-06-16 01:39:56 +09:00
parent fb5e5063f3
commit 6c8a51c9f6
2 changed files with 4 additions and 0 deletions

View File

@ -21,4 +21,6 @@ java_library_static {
"data_stall_event.proto",
],
sdk_version: "system_current",
// this is part of updatable modules(NetworkStack) which targets 29(Q)
min_sdk_version: "29",
}

View File

@ -26,4 +26,6 @@ java_library_static {
},
srcs: ["src/metrics_constants/metrics_constants.proto"],
sdk_version: "system_current",
// this is part of updatable modules(CaptivePortalLogin) which targets 29(Q)
min_sdk_version: "29",
}