stats: Set min_sdk_version
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: Icd184c6fe06a688bd79ef6514bb49dffb706a9a1
Change-Id: Icd184c6fe06a688bd79ef6514bb49dffb706a9a1
(cherry picked from commit cc3588afcb)
This commit is contained in:
parent
84f253e40a
commit
f2d4dc6b8f
2 changed files with 2 additions and 0 deletions
|
|
@ -50,6 +50,7 @@ cc_library {
|
|||
],
|
||||
static_libs: ["libgtest_prod"],
|
||||
apex_available: ["com.android.resolv"],
|
||||
min_sdk_version: "29",
|
||||
}
|
||||
|
||||
cc_test {
|
||||
|
|
|
|||
|
|
@ -86,6 +86,7 @@ cc_library_headers {
|
|||
export_include_dirs: ["include"],
|
||||
host_supported: true,
|
||||
apex_available: ["com.android.resolv"],
|
||||
min_sdk_version: "29",
|
||||
}
|
||||
|
||||
cc_benchmark {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue