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: I11a4e877ee27f7c55e2f00371c6fa58daedb1a9f
(cherry picked from commit 601d31c234
)
Change-Id: I11a4e877ee27f7c55e2f00371c6fa58daedb1a9f
18 lines
397 B
Plaintext
18 lines
397 B
Plaintext
cc_library_static {
|
|
name: "libbuildversion",
|
|
host_supported: true,
|
|
recovery_available: true,
|
|
srcs: ["libbuildversion.cpp"],
|
|
export_include_dirs: ["include"],
|
|
cflags: ["-fvisibility=hidden"],
|
|
target: {
|
|
windows: {
|
|
enabled: true,
|
|
},
|
|
},
|
|
apex_available: [
|
|
"//apex_available:platform",
|
|
"//apex_available:anyapex",
|
|
],
|
|
}
|