libcutils: 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: I453c63fe29607ea0312da5465b03c741486fb670
Change-Id: I453c63fe29607ea0312da5465b03c741486fb670
(cherry picked from commit 88f00f2d43)
This commit is contained in:
Jooyung Han 2020-04-16 18:48:33 +09:00
parent 8950624662
commit 86455d7f87

View file

@ -33,6 +33,7 @@ cc_library_headers {
"//apex_available:platform",
"//apex_available:anyapex",
],
min_sdk_version: "29",
native_bridge_supported: true,
export_include_dirs: ["include"],
target: {
@ -59,6 +60,7 @@ cc_library {
"//apex_available:platform",
"//apex_available:anyapex",
],
min_sdk_version: "29",
export_include_dirs: ["include"],
@ -142,6 +144,7 @@ cc_library {
"//apex_available:platform",
"//apex_available:anyapex",
],
min_sdk_version: "29",
native_bridge_supported: true,
srcs: [
"config_utils.cpp",