From 0ed04aef4c5bf1d74deb4cc93ecf3c4193f47996 Mon Sep 17 00:00:00 2001 From: Jooyung Han Date: Thu, 16 Apr 2020 18:48:33 +0900 Subject: [PATCH] libbase/liblog: set min_sdk_version 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: If4ff1fbc31e5be3f5611a4713ae4032aba4ee5f2 Change-Id: If4ff1fbc31e5be3f5611a4713ae4032aba4ee5f2 (cherry picked from commit 3851f7e8361a84a15dffd7cbc08bee61d66f8fad) --- base/Android.bp | 2 ++ liblog/Android.bp | 1 + 2 files changed, 3 insertions(+) diff --git a/base/Android.bp b/base/Android.bp index 5b91078ba..0c7871981 100644 --- a/base/Android.bp +++ b/base/Android.bp @@ -51,6 +51,7 @@ cc_library_headers { "//apex_available:anyapex", "//apex_available:platform", ], + min_sdk_version: "29", } cc_defaults { @@ -132,6 +133,7 @@ cc_library { "//apex_available:anyapex", "//apex_available:platform", ], + min_sdk_version: "29", } cc_library_static { diff --git a/liblog/Android.bp b/liblog/Android.bp index 0b98e1add..6051ac7fa 100644 --- a/liblog/Android.bp +++ b/liblog/Android.bp @@ -42,6 +42,7 @@ cc_library_headers { "//apex_available:platform", "//apex_available:anyapex", ], + min_sdk_version: "29", native_bridge_supported: true, export_include_dirs: ["include"], system_shared_libs: [],