summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJiyong Park <jiyong@google.com>2020-03-07 16:40:05 +0900
committerJiyong Park <jiyong@google.com>2020-03-07 17:44:01 +0900
commit2d6d9ab848d7e0490dfdea52e5ec15beca9a74d8 (patch)
tree1db4dca1498cbd9b1f26039d9df7ce351f971832
parent54695b5b19291c5292d877bf0de8659cab9d12cb (diff)
downloadlibcxx-android-r-preview-2.tar.gz
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: I60e1ae6fa837772c2682d4a26ea34bd80e69bc9e
-rw-r--r--Android.bp8
1 files changed, 8 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index 4e30d2cbb..c6f65be46 100644
--- a/Android.bp
+++ b/Android.bp
@@ -57,6 +57,10 @@ cc_library_static {
vendor_available: true,
ramdisk_available: true,
recovery_available: true,
+ apex_available: [
+ "//apex_available:platform",
+ "//apex_available:anyapex",
+ ],
native_bridge_supported: true,
srcs: [
"src/algorithm.cpp",
@@ -114,6 +118,10 @@ cc_library_shared {
},
ramdisk_available: true,
recovery_available: true,
+ apex_available: [
+ "//apex_available:platform",
+ "//apex_available:anyapex",
+ ],
whole_static_libs: ["libc++_static"],
stl: "none",