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 {