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-01 01:42:08 +0000
commita1ea48c78126c38e5b584d13371538fd969b032c (patch)
tree5542344a76634ae30bd49784d136ab801508d47e
parent5d09bc7b6a28a0c828c581630332cbb21b43cc4b (diff)
downloadjsoncpp-a1ea48c78126c38e5b584d13371538fd969b032c.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 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 {