aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSuren Baghdasaryan <surenb@google.com>2018-12-14 10:05:48 -0800
committerSuren Baghdasaryan <surenb@google.com>2019-02-02 17:04:53 +0000
commit67f5c6d029c51838107db66eb98506abf0a6a745 (patch)
tree5542344a76634ae30bd49784d136ab801508d47e
parent0699c4cfdc941e6475410364af2b19bb6d3d2f38 (diff)
downloadjsoncpp-67f5c6d029c51838107db66eb98506abf0a6a745.tar.gz
make libjsoncpp available for init and in VNDK
init_second_stage needs to parse cgroups.json file and therefore requires libjsoncpp. Make it available for init on recovery partition. Also add libjsoncpp into vndk because libprocessgroup needs it. Exempt-From-Owner-Approval: janitorial Bug: 111307099 Test: builds, boots Change-Id: I8cd589f02fd7beef351f5962e1a257418e253f6c Merged-In: I8cd589f02fd7beef351f5962e1a257418e253f6c Signed-off-by: Suren Baghdasaryan <surenb@google.com>
-rw-r--r--Android.bp5
1 files changed, 5 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index dafcb8f..3209f02 100644
--- a/Android.bp
+++ b/Android.bp
@@ -34,7 +34,12 @@ cc_library {
name: "libjsoncpp",
defaults: ["libjsoncpp_defaults"],
vendor_available: true,
+ vndk: {
+ enabled: true,
+ support_system_process: true,
+ },
host_supported: true,
+ recovery_available: true,
}
cc_library_static {