From dd66b18a9fab1707c59befaa544aaac713e4f5f8 Mon Sep 17 00:00:00 2001 From: Jooyung Han Date: Thu, 16 Apr 2020 18:48:30 +0900 Subject: 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 Merged-In: I212003d617a04b1cf42c4f5a119708f01401caa3 Change-Id: I212003d617a04b1cf42c4f5a119708f01401caa3 (cherry picked from commit 42b623b81b8f19a2e90543c59e9b5b6fdec4dd60) --- Android.bp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Android.bp b/Android.bp index 62b88dc..736dfd2 100644 --- a/Android.bp +++ b/Android.bp @@ -64,6 +64,7 @@ cc_object { "com.android.adbd", "com.android.media.swcodec", ], + min_sdk_version: "29", } cc_genrule { @@ -97,6 +98,7 @@ cc_object { "com.android.adbd", "com.android.media.swcodec", ], + min_sdk_version: "29", } cc_genrule { @@ -140,6 +142,7 @@ cc_library_static { "com.android.adbd", "com.android.media.swcodec", ], + min_sdk_version: "29", } cc_object { @@ -221,6 +224,7 @@ cc_library { "com.android.adbd", "com.android.media.swcodec", ], + min_sdk_version: "29", } // Example ASan-ified libminijail shared library for target. @@ -463,6 +467,6 @@ rust_library_host_rlib { target: { darwin: { enabled: false, - } + }, }, } -- cgit v1.2.3