summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJiyong Park <jiyong@google.com>2020-03-07 16:42:32 +0900
committerJiyong Park <jiyong@google.com>2020-04-20 16:28:53 +0900
commit6a27edcc373dd6d18ae55b09e1082192b71d72a6 (patch)
treeb3abe64ea2186234a402cb21f5fb5b991f4710f1
parentb8224c0fdd139fdc62418936198eced75d3f2c62 (diff)
downloadlibcxxabi-6a27edcc373dd6d18ae55b09e1082192b71d72a6.tar.gz
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. Exempt-From-Owner-Approval: cherry-pick from AOSP Bug: 150999716 Test: m Merged-In: Iaf7967c1426c1e14edf7f45dc8b4eef452bbc7f9 (cherry picked from commit ed96332532dd7a6b741b7645bde359fe5af376a4) Change-Id: Iaf7967c1426c1e14edf7f45dc8b4eef452bbc7f9
-rw-r--r--Android.bp8
1 files changed, 8 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index e31b571..56a2832 100644
--- a/Android.bp
+++ b/Android.bp
@@ -47,6 +47,10 @@ cc_library_static {
defaults: ["libc++abi_defaults"],
host_supported: false,
srcs: ["src/cxa_demangle.cpp"],
+ apex_available: [
+ "//apex_available:platform",
+ "//apex_available:anyapex",
+ ],
}
cc_library_static {
@@ -136,4 +140,8 @@ cc_library_static {
],
}
},
+ apex_available: [
+ "//apex_available:platform",
+ "//apex_available:anyapex",
+ ],
}