diff options
author | Jooyung Han <jooyung@google.com> | 2020-05-21 22:36:36 +0900 |
---|---|---|
committer | Jooyung Han <jooyung@google.com> | 2020-05-28 10:58:56 +0000 |
commit | 459aacf9428125a06a2092cc48b14bb3710b49fd (patch) | |
tree | cf9e412374fa7aa50c2136f225e57989049a6ee0 | |
parent | 7b129a25432c1a1a3d1919499d8e2f583c753b8d (diff) | |
download | jsr305-459aacf9428125a06a2092cc48b14bb3710b49fd.tar.gz |
Set min_sdk_version to be part of mainline modulesandroid11-dev
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.
From the perspective of Mainline modules, min_sdk_version should
be equal to or less than "29"(com.android.media). However, quick
code-search revealed that the minimum of min_sdk_versions of modules
depending on this seems to be 14.
Bug: 152655956
Test: m
Change-Id: Ib53d23a26ecebca4abcebedc4d4ba7cecc2119cb
-rw-r--r-- | Android.bp | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -17,6 +17,11 @@ java_library_static { host_supported: true, hostdex: true, sdk_version: "core_current", + apex_available: [ + "//apex_available:platform", + "com.android.media", + ], + min_sdk_version: "14", srcs: ["ri/src/main/java/**/*.java"], } |