summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJiyong Park2018-04-27 07:48:43 -0500
committerJiyong Park2018-05-14 19:47:04 -0500
commit612210c75b2c55bf79f93b6789773c7459d320e4 (patch)
treeef9186e2abf031fc2e6dfd85a5a204c71a9ece40
parent313aa7172f70423ecda70ff4486cd09861bbb5ee (diff)
downloadplatform-system-core-612210c75b2c55bf79f93b6789773c7459d320e4.tar.gz
platform-system-core-612210c75b2c55bf79f93b6789773c7459d320e4.tar.xz
platform-system-core-612210c75b2c55bf79f93b6789773c7459d320e4.zip
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
-rw-r--r--base/Android.bp1
-rw-r--r--libbacktrace/Android.bp1
-rw-r--r--libcutils/Android.bp2
-rw-r--r--liblog/Android.bp3
-rw-r--r--libpackagelistparser/Android.bp1
-rw-r--r--libsystem/Android.bp1
-rw-r--r--libutils/Android.bp1
-rw-r--r--property_service/libpropertyinfoparser/Android.bp1
8 files changed, 10 insertions, 1 deletions
diff --git a/base/Android.bp b/base/Android.bp
index ec81f6122..47b29c6a6 100644
--- a/base/Android.bp
+++ b/base/Android.bp
@@ -26,6 +26,7 @@ cc_defaults {
26cc_library_headers { 26cc_library_headers {
27 name: "libbase_headers", 27 name: "libbase_headers",
28 vendor_available: true, 28 vendor_available: true,
29 recovery_available: true,
29 host_supported: true, 30 host_supported: true,
30 export_include_dirs: ["include"], 31 export_include_dirs: ["include"],
31 32
diff --git a/libbacktrace/Android.bp b/libbacktrace/Android.bp
index 11b8144be..65145c2c7 100644
--- a/libbacktrace/Android.bp
+++ b/libbacktrace/Android.bp
@@ -51,6 +51,7 @@ libbacktrace_sources = [
51cc_library_headers { 51cc_library_headers {
52 name: "libbacktrace_headers", 52 name: "libbacktrace_headers",
53 vendor_available: true, 53 vendor_available: true,
54 recovery_available: true,
54 export_include_dirs: ["include"], 55 export_include_dirs: ["include"],
55} 56}
56 57
diff --git a/libcutils/Android.bp b/libcutils/Android.bp
index e82325768..cdbb65f45 100644
--- a/libcutils/Android.bp
+++ b/libcutils/Android.bp
@@ -32,6 +32,7 @@ libcutils_nonwindows_sources = [
32cc_library_headers { 32cc_library_headers {
33 name: "libcutils_headers", 33 name: "libcutils_headers",
34 vendor_available: true, 34 vendor_available: true,
35 recovery_available: true,
35 host_supported: true, 36 host_supported: true,
36 export_include_dirs: ["include"], 37 export_include_dirs: ["include"],
37 target: { 38 target: {
@@ -54,6 +55,7 @@ cc_library {
54 enabled: true, 55 enabled: true,
55 support_system_process: true, 56 support_system_process: true,
56 }, 57 },
58 recovery_available: true,
57 host_supported: true, 59 host_supported: true,
58 srcs: [ 60 srcs: [
59 "config_utils.cpp", 61 "config_utils.cpp",
diff --git a/liblog/Android.bp b/liblog/Android.bp
index 7d9e30602..2d5a5dbb2 100644
--- a/liblog/Android.bp
+++ b/liblog/Android.bp
@@ -46,6 +46,7 @@ cc_library_headers {
46 name: "liblog_headers", 46 name: "liblog_headers",
47 host_supported: true, 47 host_supported: true,
48 vendor_available: true, 48 vendor_available: true,
49 recovery_available: true,
49 export_include_dirs: ["include"], 50 export_include_dirs: ["include"],
50 target: { 51 target: {
51 windows: { 52 windows: {
@@ -65,7 +66,7 @@ cc_library_headers {
65cc_library { 66cc_library {
66 name: "liblog", 67 name: "liblog",
67 host_supported: true, 68 host_supported: true,
68 69 recovery_available: true,
69 srcs: liblog_sources, 70 srcs: liblog_sources,
70 71
71 target: { 72 target: {
diff --git a/libpackagelistparser/Android.bp b/libpackagelistparser/Android.bp
index 27693b3f8..c38594a97 100644
--- a/libpackagelistparser/Android.bp
+++ b/libpackagelistparser/Android.bp
@@ -1,6 +1,7 @@
1cc_library { 1cc_library {
2 2
3 name: "libpackagelistparser", 3 name: "libpackagelistparser",
4 recovery_available: true,
4 srcs: ["packagelistparser.c"], 5 srcs: ["packagelistparser.c"],
5 cflags: [ 6 cflags: [
6 "-Wall", 7 "-Wall",
diff --git a/libsystem/Android.bp b/libsystem/Android.bp
index 82bf1bce0..2e22b435f 100644
--- a/libsystem/Android.bp
+++ b/libsystem/Android.bp
@@ -1,6 +1,7 @@
1cc_library_headers { 1cc_library_headers {
2 name: "libsystem_headers", 2 name: "libsystem_headers",
3 vendor_available: true, 3 vendor_available: true,
4 recovery_available: true,
4 host_supported: true, 5 host_supported: true,
5 export_include_dirs: ["include"], 6 export_include_dirs: ["include"],
6 7
diff --git a/libutils/Android.bp b/libutils/Android.bp
index 0d7925a4a..9395ef807 100644
--- a/libutils/Android.bp
+++ b/libutils/Android.bp
@@ -15,6 +15,7 @@
15cc_library_headers { 15cc_library_headers {
16 name: "libutils_headers", 16 name: "libutils_headers",
17 vendor_available: true, 17 vendor_available: true,
18 recovery_available: true,
18 host_supported: true, 19 host_supported: true,
19 20
20 header_libs: [ 21 header_libs: [
diff --git a/property_service/libpropertyinfoparser/Android.bp b/property_service/libpropertyinfoparser/Android.bp
index ea9b968b6..70f6faab5 100644
--- a/property_service/libpropertyinfoparser/Android.bp
+++ b/property_service/libpropertyinfoparser/Android.bp
@@ -2,6 +2,7 @@ cc_library_static {
2 name: "libpropertyinfoparser", 2 name: "libpropertyinfoparser",
3 host_supported: true, 3 host_supported: true,
4 vendor_available: true, 4 vendor_available: true,
5 recovery_available: true,
5 srcs: ["property_info_parser.cpp"], 6 srcs: ["property_info_parser.cpp"],
6 7
7 cpp_std: "experimental", 8 cpp_std: "experimental",