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: I662ad951a3221f967b53e7af65cb203a4b4a5e5d
Change-Id: I662ad951a3221f967b53e7af65cb203a4b4a5e5d
(cherry picked from commit d40f05a618)
This commit is contained in:
Jooyung Han 2020-04-16 18:48:25 +09:00
parent 261fadc3a2
commit 71c477bae4
1 changed files with 7 additions and 0 deletions

View File

@ -51,4 +51,11 @@ cc_library_static {
"libSACdec/include", "libSACdec/include",
"libSACenc/include", "libSACenc/include",
], ],
apex_available: [
"//apex_available:platform",
"com.android.bluetooth.updatable",
"com.android.media.swcodec",
],
min_sdk_version: "29",
} }