diff options
author | Jooyung Han <jooyung@google.com> | 2020-04-16 18:48:30 +0900 |
---|---|---|
committer | Jooyung Han <jooyung@google.com> | 2020-04-23 01:02:42 +0900 |
commit | 153d61e685d083f35d2aff53cb03ed12aa977ac4 (patch) | |
tree | 084b9f9801734793e4a2300217afaddf0add0a9f | |
parent | 89330bce50a357e32dd12e28363cd7dc64f1924c (diff) | |
download | libyuv-153d61e685d083f35d2aff53cb03ed12aa977ac4.tar.gz |
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.
Bug: 152655956
Test: m
Change-Id: Ieda1b7f0de1c4a5ce4137a0b17731cf619826f9e
-rw-r--r-- | files/Android.bp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/files/Android.bp b/files/Android.bp index 5d7cbb6a..6939a1c1 100644 --- a/files/Android.bp +++ b/files/Android.bp @@ -63,6 +63,12 @@ cc_library { shared_libs: ["libjpeg"], export_include_dirs: ["include"], + + apex_available: [ + "//apex_available:platform", + "com.android.media.swcodec", + ], + min_sdk_version: "29", } // compatibilty static library until all uses of libyuv_static are replaced @@ -71,6 +77,11 @@ cc_library_static { name: "libyuv_static", vendor_available: true, whole_static_libs: ["libyuv"], + apex_available: [ + "//apex_available:platform", + "com.android.media.swcodec", + ], + min_sdk_version: "29", } cc_test { |