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: I8fd2a3c9b69454c6018c72f5198898bc90dc4d0d
This commit is contained in:
Jiyong Park 2020-04-08 23:40:03 +09:00
parent e3d371e319
commit 937b4bf173
2 changed files with 2 additions and 0 deletions

View file

@ -47,6 +47,7 @@ cc_library {
defaults: ["libstatspush_compat_defaults"],
export_include_dirs: ["include"],
static_libs: ["libgtest_prod"],
apex_available: ["com.android.resolv"],
}
cc_test {

View file

@ -54,6 +54,7 @@ cc_library_headers {
name: "libstatssocket_headers",
export_include_dirs: ["include"],
host_supported: true,
apex_available: ["com.android.resolv"],
}
cc_benchmark {