From 937b4bf173caa185ff437ca2c7b4030b5c8aa056 Mon Sep 17 00:00:00 2001 From: Jiyong Park Date: Wed, 8 Apr 2020 23:40:03 +0900 Subject: [PATCH] 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 --- libstats/push_compat/Android.bp | 1 + libstats/socket/Android.bp | 1 + 2 files changed, 2 insertions(+) diff --git a/libstats/push_compat/Android.bp b/libstats/push_compat/Android.bp index fcd8c8363..caea04857 100644 --- a/libstats/push_compat/Android.bp +++ b/libstats/push_compat/Android.bp @@ -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 { diff --git a/libstats/socket/Android.bp b/libstats/socket/Android.bp index 9fd9fbc20..690dc941c 100644 --- a/libstats/socket/Android.bp +++ b/libstats/socket/Android.bp @@ -54,6 +54,7 @@ cc_library_headers { name: "libstatssocket_headers", export_include_dirs: ["include"], host_supported: true, + apex_available: ["com.android.resolv"], } cc_benchmark {