Mark as recovery_available: true

Libraries that are direct or indirect dependencies of modules installed
to recovery partition (e.g. toybox) are marked as recovery_available:
true. This allows a recovery variant of the lib is created when it is
depended by other recovery or recovery_available modules.

Bug: 67916654
Bug: 64960723
Test: m -j
Change-Id: Ie59155c08890e96ce1893fa3687afcf763d7aea3
This commit is contained in:
Jiyong Park 2018-04-27 21:48:43 +09:00
parent 313aa7172f
commit 612210c75b
8 changed files with 10 additions and 1 deletions

View File

@ -26,6 +26,7 @@ cc_defaults {
cc_library_headers {
name: "libbase_headers",
vendor_available: true,
recovery_available: true,
host_supported: true,
export_include_dirs: ["include"],

View File

@ -51,6 +51,7 @@ libbacktrace_sources = [
cc_library_headers {
name: "libbacktrace_headers",
vendor_available: true,
recovery_available: true,
export_include_dirs: ["include"],
}

View File

@ -32,6 +32,7 @@ libcutils_nonwindows_sources = [
cc_library_headers {
name: "libcutils_headers",
vendor_available: true,
recovery_available: true,
host_supported: true,
export_include_dirs: ["include"],
target: {
@ -54,6 +55,7 @@ cc_library {
enabled: true,
support_system_process: true,
},
recovery_available: true,
host_supported: true,
srcs: [
"config_utils.cpp",

View File

@ -46,6 +46,7 @@ cc_library_headers {
name: "liblog_headers",
host_supported: true,
vendor_available: true,
recovery_available: true,
export_include_dirs: ["include"],
target: {
windows: {
@ -65,7 +66,7 @@ cc_library_headers {
cc_library {
name: "liblog",
host_supported: true,
recovery_available: true,
srcs: liblog_sources,
target: {

View File

@ -1,6 +1,7 @@
cc_library {
name: "libpackagelistparser",
recovery_available: true,
srcs: ["packagelistparser.c"],
cflags: [
"-Wall",

View File

@ -1,6 +1,7 @@
cc_library_headers {
name: "libsystem_headers",
vendor_available: true,
recovery_available: true,
host_supported: true,
export_include_dirs: ["include"],

View File

@ -15,6 +15,7 @@
cc_library_headers {
name: "libutils_headers",
vendor_available: true,
recovery_available: true,
host_supported: true,
header_libs: [

View File

@ -2,6 +2,7 @@ cc_library_static {
name: "libpropertyinfoparser",
host_supported: true,
vendor_available: true,
recovery_available: true,
srcs: ["property_info_parser.cpp"],
cpp_std: "experimental",