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.
Exempt-From-Owner-Approval: cherry-pick from aosp
Bug: 152655956
Test: m
Merged-In: Ifea5ed988fad2e0d29271e6e9cbf0e12100b37d9
Change-Id: Ifea5ed988fad2e0d29271e6e9cbf0e12100b37d9
(cherry picked from commit a395c8d9aa
)
This commit is contained in:
parent
f9d44007cc
commit
7bcb89317d
10 changed files with 16 additions and 2 deletions
|
@ -17,4 +17,5 @@ cc_library_headers {
|
|||
"libutils_headers",
|
||||
"libstagefright_foundation_headers",
|
||||
],
|
||||
min_sdk_version: "29",
|
||||
}
|
||||
|
|
|
@ -35,4 +35,5 @@ cc_library_static {
|
|||
enabled: true,
|
||||
},
|
||||
},
|
||||
min_sdk_version: "29",
|
||||
}
|
||||
|
|
|
@ -28,6 +28,7 @@ cc_library_headers {
|
|||
"libcutils_headers",
|
||||
"libutils_headers",
|
||||
],
|
||||
min_sdk_version: "29",
|
||||
}
|
||||
|
||||
// These interfaces are android-specific implementation unrelated to binder
|
||||
|
@ -152,6 +153,7 @@ cc_library {
|
|||
sanitize: {
|
||||
misc_undefined: ["integer"],
|
||||
},
|
||||
min_sdk_version: "29",
|
||||
}
|
||||
|
||||
// AIDL interface between libbinder and framework.jar
|
||||
|
|
|
@ -22,7 +22,7 @@ cc_library_static {
|
|||
|
||||
shared_libs: [
|
||||
"libbinder",
|
||||
"libhidlbase", // libhwbinder is in here
|
||||
"libhidlbase", // libhwbinder is in here
|
||||
],
|
||||
|
||||
export_include_dirs: ["include"],
|
||||
|
@ -31,6 +31,7 @@ cc_library_static {
|
|||
"-Wall",
|
||||
"-Werror",
|
||||
],
|
||||
min_sdk_version: "29",
|
||||
}
|
||||
|
||||
hidl_package_root {
|
||||
|
|
|
@ -27,6 +27,7 @@ cc_library_headers {
|
|||
"android.hardware.graphics.bufferqueue@1.0",
|
||||
"android.hardware.graphics.bufferqueue@2.0",
|
||||
],
|
||||
min_sdk_version: "29",
|
||||
}
|
||||
|
||||
cc_library_shared {
|
||||
|
|
|
@ -4,4 +4,7 @@ sysprop_library {
|
|||
api_packages: ["android.sysprop"],
|
||||
property_owner: "Platform",
|
||||
vendor_available: true,
|
||||
cpp: {
|
||||
min_sdk_version: "29",
|
||||
},
|
||||
}
|
||||
|
|
|
@ -25,5 +25,6 @@ cc_library_headers {
|
|||
windows: {
|
||||
enabled: true,
|
||||
},
|
||||
}
|
||||
},
|
||||
min_sdk_version: "29",
|
||||
}
|
||||
|
|
|
@ -25,6 +25,7 @@ cc_library_headers {
|
|||
name: "libnativewindow_headers",
|
||||
export_include_dirs: ["include"],
|
||||
vendor_available: true,
|
||||
min_sdk_version: "29",
|
||||
}
|
||||
|
||||
ndk_library {
|
||||
|
|
|
@ -133,6 +133,7 @@ cc_library_shared {
|
|||
"libhardware_headers",
|
||||
"libui_headers",
|
||||
],
|
||||
min_sdk_version: "29",
|
||||
}
|
||||
|
||||
cc_library_headers {
|
||||
|
@ -151,6 +152,7 @@ cc_library_headers {
|
|||
export_header_lib_headers: [
|
||||
"libnativewindow_headers",
|
||||
],
|
||||
min_sdk_version: "29",
|
||||
}
|
||||
|
||||
// defaults to enable VALIDATE_REGIONS traces
|
||||
|
|
|
@ -2,6 +2,7 @@ cc_library_headers {
|
|||
name: "libpdx_headers",
|
||||
export_include_dirs: ["private"],
|
||||
vendor_available: true,
|
||||
min_sdk_version: "29",
|
||||
}
|
||||
|
||||
cc_library_static {
|
||||
|
|
Loading…
Reference in a new issue