From 0c0b774a648fac23dd4168669579a1efaf05aee9 Mon Sep 17 00:00:00 2001 From: Jeffrey Huang Date: Fri, 14 Feb 2020 10:27:17 -0800 Subject: [PATCH] Allow apexes to link against more libs Bug: 145923087 Test: m -j Change-Id: I45e002ffbd16f13b71f32c80e8a2f826bfa9ec2e --- base/Android.bp | 4 ++++ libsysutils/Android.bp | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/base/Android.bp b/base/Android.bp index a32959bb9..25c74f219 100644 --- a/base/Android.bp +++ b/base/Android.bp @@ -128,6 +128,10 @@ cc_library { static_libs: ["fmtlib"], whole_static_libs: ["fmtlib"], export_static_lib_headers: ["fmtlib"], + apex_available: [ + "//apex_available:anyapex", + "//apex_available:platform", + ], } cc_library_static { diff --git a/libsysutils/Android.bp b/libsysutils/Android.bp index ccda5d1cb..627f0d4e1 100644 --- a/libsysutils/Android.bp +++ b/libsysutils/Android.bp @@ -39,6 +39,10 @@ cc_library { "clang-analyzer-security*", "android-*", ], + apex_available: [ + "//apex_available:anyapex", + "//apex_available:platform", + ], } cc_test {