Skip to content

Commit 937b4bf

Browse files
committed
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
1 parent e3d371e commit 937b4bf

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

libstats/push_compat/Android.bp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ cc_library {
4747
defaults: ["libstatspush_compat_defaults"],
4848
export_include_dirs: ["include"],
4949
static_libs: ["libgtest_prod"],
50+
apex_available: ["com.android.resolv"],
5051
}
5152

5253
cc_test {

libstats/socket/Android.bp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ cc_library_headers {
5454
name: "libstatssocket_headers",
5555
export_include_dirs: ["include"],
5656
host_supported: true,
57+
apex_available: ["com.android.resolv"],
5758
}
5859

5960
cc_benchmark {

0 commit comments

Comments
 (0)