From 757f299842657d994360d53fc9e5150dd96e2899 Mon Sep 17 00:00:00 2001 From: Shikha Panwar Date: Fri, 25 Mar 2022 19:43:14 +0000 Subject: [PATCH] Make some debuggerd libraries available in apex com.android.virt Test: Build passed & tested the whole topic Bug:227443903 Change-Id: I113cd1e559307e191fec405206f23e1b4ce1a5fc --- debuggerd/Android.bp | 8 ++++++++ debuggerd/rust/tombstoned_client/Android.bp | 1 + 2 files changed, 9 insertions(+) diff --git a/debuggerd/Android.bp b/debuggerd/Android.bp index e0c138b56..ad0231d8d 100644 --- a/debuggerd/Android.bp +++ b/debuggerd/Android.bp @@ -24,6 +24,10 @@ cc_library_headers { export_include_dirs: ["common/include"], recovery_available: true, vendor_ramdisk_available: true, + apex_available: [ + "com.android.virt", + "//apex_available:platform", + ], } cc_library_shared { @@ -44,6 +48,10 @@ cc_library_shared { "libbase", "libcutils", ], + apex_available: [ + "com.android.virt", + "//apex_available:platform", + ], export_header_lib_headers: ["libdebuggerd_common_headers"], export_include_dirs: ["tombstoned/include"], diff --git a/debuggerd/rust/tombstoned_client/Android.bp b/debuggerd/rust/tombstoned_client/Android.bp index 981f8a451..2007f3934 100644 --- a/debuggerd/rust/tombstoned_client/Android.bp +++ b/debuggerd/rust/tombstoned_client/Android.bp @@ -17,6 +17,7 @@ cc_library_static { shared_libs: [ "libtombstoned_client", ], + apex_available: ["com.android.virt"], } rust_defaults {