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: I60e1ae6fa837772c2682d4a26ea34bd80e69bc9e
This commit is contained in:
Jiyong Park
2020-03-07 16:40:05 +09:00
parent 54695b5b19
commit 2d6d9ab848

View File

@@ -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",