From b1ac9b427533d181ea3bc0309c1392553c858500 Mon Sep 17 00:00:00 2001 From: Jooyung Han Date: Tue, 23 Nov 2021 11:11:36 +0900 Subject: [PATCH] Set min_sdk_version Many modules requiring min_sdk_version have been used without setting it, but hard-coded as "30" in allowlist. Bug: 158059172 Test: m Change-Id: I0b461c28077584f2db2d2f688423f2227c0a2d1a --- diagnose_usb/Android.bp | 1 + libasyncio/Android.bp | 1 + libcrypto_utils/Android.bp | 1 + 3 files changed, 3 insertions(+) diff --git a/diagnose_usb/Android.bp b/diagnose_usb/Android.bp index cb79ffe91..d7d87b502 100644 --- a/diagnose_usb/Android.bp +++ b/diagnose_usb/Android.bp @@ -7,6 +7,7 @@ cc_library_static { cflags: ["-Wall", "-Wextra", "-Werror"], host_supported: true, recovery_available: true, + min_sdk_version: "apex_inherit", apex_available: [ "com.android.adbd", // TODO(b/151398197) remove the below diff --git a/libasyncio/Android.bp b/libasyncio/Android.bp index 692e223a1..296e20731 100644 --- a/libasyncio/Android.bp +++ b/libasyncio/Android.bp @@ -32,6 +32,7 @@ cc_library { defaults: ["libasyncio_defaults"], vendor_available: true, recovery_available: true, + min_sdk_version: "apex_inherit", apex_available: [ "//apex_available:platform", "com.android.adbd", diff --git a/libcrypto_utils/Android.bp b/libcrypto_utils/Android.bp index a9f6958e3..2559137d9 100644 --- a/libcrypto_utils/Android.bp +++ b/libcrypto_utils/Android.bp @@ -44,6 +44,7 @@ cc_library { enabled: true, }, }, + min_sdk_version: "apex_inherit", apex_available: [ "//apex_available:platform", "com.android.adbd",