From 922a5c7d75ccda09777c04b1eb063e50df707ecb Mon Sep 17 00:00:00 2001 From: Jiyong Park Date: Sat, 7 Mar 2020 17:35:02 +0900 Subject: [PATCH] Set apex_available property The marked library(ies) were available to the APEXes via the hand-written whitelist in build/soong/apex/apex.go. Trying to remove the whitelist by adding apex_available property to the Android.bp of the libraries. Bug: 150999716 Test: m Change-Id: Id5691b02c107ed7b844a186f0a5effa3cb0fe52a --- libc/Android.bp | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/libc/Android.bp b/libc/Android.bp index 4d35592c7..a6a778013 100644 --- a/libc/Android.bp +++ b/libc/Android.bp @@ -1774,6 +1774,12 @@ cc_library_headers { ramdisk_available: true, recovery_available: true, native_bridge_supported: true, + apex_available: [ + "//apex_available:platform", + "com.android.runtime", + "com.android.art.debug", + "com.android.art.release", + ], no_libcrt: true, stl: "none", @@ -1905,6 +1911,10 @@ cc_defaults { ramdisk_available: true, recovery_available: true, native_bridge_supported: true, + apex_available: [ + "//apex_available:platform", + "//apex_available:anyapex", + ], cflags: [ "-Wno-gcc-compat",