From 86455d7f87c84c42eab136a82630a72426d0d335 Mon Sep 17 00:00:00 2001 From: Jooyung Han Date: Thu, 16 Apr 2020 18:48:33 +0900 Subject: [PATCH] libcutils: 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: I453c63fe29607ea0312da5465b03c741486fb670 Change-Id: I453c63fe29607ea0312da5465b03c741486fb670 (cherry picked from commit 88f00f2d4392a9b13f373209dad224b7763c4bff) --- libcutils/Android.bp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libcutils/Android.bp b/libcutils/Android.bp index 9ed7927e9..24110eeae 100644 --- a/libcutils/Android.bp +++ b/libcutils/Android.bp @@ -33,6 +33,7 @@ cc_library_headers { "//apex_available:platform", "//apex_available:anyapex", ], + min_sdk_version: "29", native_bridge_supported: true, export_include_dirs: ["include"], target: { @@ -59,6 +60,7 @@ cc_library { "//apex_available:platform", "//apex_available:anyapex", ], + min_sdk_version: "29", export_include_dirs: ["include"], @@ -142,6 +144,7 @@ cc_library { "//apex_available:platform", "//apex_available:anyapex", ], + min_sdk_version: "29", native_bridge_supported: true, srcs: [ "config_utils.cpp",