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: I60e1ae6fa837772c2682d4a26ea34bd80e69bc9e
(cherry picked from commit 2d6d9ab848)
Change-Id: I60e1ae6fa837772c2682d4a26ea34bd80e69bc9e
This commit is contained in:
@@ -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",
|
||||
|
||||
|
||||
Reference in New Issue
Block a user