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
Change-Id: Icd184c6fe06a688bd79ef6514bb49dffb706a9a1
This commit is contained in:
Jooyung Han 2020-04-16 18:48:33 +09:00
parent ffadbc8bac
commit cc3588afcb
2 changed files with 2 additions and 0 deletions

View file

@ -48,6 +48,7 @@ cc_library {
export_include_dirs: ["include"],
static_libs: ["libgtest_prod"],
apex_available: ["com.android.resolv"],
min_sdk_version: "29",
}
cc_test {

View file

@ -55,6 +55,7 @@ cc_library_headers {
export_include_dirs: ["include"],
host_supported: true,
apex_available: ["com.android.resolv"],
min_sdk_version: "29",
}
cc_benchmark {