From a0e75045e6817a51e4e6b05880d871525a4d52fe Mon Sep 17 00:00:00 2001 From: Jiyong Park Date: Thu, 24 May 2018 14:11:00 +0900 Subject: Build adbd for recovery adbd (and its dependencies) are marked as recovery_available:true so that recovery version of the binary is built separately from the one for system partition. This allows us to stop copying the system version to the recovery partition and also opens up the way to enable shared libraries in the recovery partition. Then we can also build adbd as a dynamic executable. Bug: 79146551 Test: m -j adbd.recovery Change-Id: Ib95614c7435f9d0afc02a0c7d5ae1a94e439e32a --- debuggerd/Android.bp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'debuggerd') diff --git a/debuggerd/Android.bp b/debuggerd/Android.bp index 7c28b2814..0b1366209 100644 --- a/debuggerd/Android.bp +++ b/debuggerd/Android.bp @@ -17,6 +17,7 @@ cc_defaults { cc_library_headers { name: "libdebuggerd_common_headers", export_include_dirs: ["common/include"], + recovery_available: true, } cc_library_shared { @@ -67,6 +68,7 @@ cc_library_static { cc_library_static { name: "libdebuggerd_handler_core", defaults: ["debuggerd_defaults"], + recovery_available: true, srcs: ["handler/debuggerd_handler.cpp"], header_libs: [ @@ -88,6 +90,7 @@ cc_library_static { cc_library_static { name: "libdebuggerd_handler", defaults: ["debuggerd_defaults"], + recovery_available: true, srcs: ["handler/debuggerd_fallback_nop.cpp"], whole_static_libs: [ @@ -143,6 +146,7 @@ cc_library { cc_library_static { name: "libdebuggerd", defaults: ["debuggerd_defaults"], + recovery_available: true, srcs: [ "libdebuggerd/backtrace.cpp", -- cgit v1.2.3-54-g00ecf