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: Id08058f3105463558c6c82298344a33af0efb2d3
This commit is contained in:
Jiyong Park 2020-04-08 22:37:42 +09:00
parent 89cce05891
commit e3d371e319
1 changed files with 8 additions and 0 deletions

View File

@ -13,6 +13,10 @@ cc_library_headers {
enabled: true,
},
},
apex_available: [
"//apex_available:platform",
"//apex_available:anyapex",
],
}
cc_library {
@ -52,4 +56,8 @@ cc_library {
"-Werror",
"-Wexit-time-destructors",
],
apex_available: [
"//apex_available:platform",
"//apex_available:anyapex",
],
}