summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Willemsen <dwillemsen@google.com>2018-10-23 13:46:11 -0700
committerDan Willemsen <dwillemsen@google.com>2018-11-02 00:51:47 +0000
commitc0ea7c543f76c884efa5a0d182436f84412e2cd0 (patch)
tree7e810d43df8792bfa66b726c9c1b7b874f4b21df
parent6aa84d74649e257ff07cc67b97ffc70959c8f50a (diff)
downloadlibchrome-c0ea7c543f76c884efa5a0d182436f84412e2cd0.tar.gz
Mark libchrome as recovery_available for update_engine_sideload
update_engine_sideload builds onto the recovery partition, which means libchrome needs to be marked as recovery_available, so that it can be built again with recovery-specific dependencies. Some modules build for recovery differently -- omitting dependencies, removing source files, different cflags, etc. Because of this, the builds for the recovery partition are separate from the builds for the system or vendor partitions. Test: build update_engine_sideload Change-Id: Id31a7170e6c9fcff65e3af4eb04440c14cd5c8fa
-rw-r--r--Android.bp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index ec721a70c0..500b602993 100644
--- a/Android.bp
+++ b/Android.bp
@@ -331,6 +331,7 @@ libchromeAndroidSrc = [
cc_library {
name: "libchrome",
host_supported: true,
+ recovery_available: true,
vendor_available: true,
defaults: ["libchrome-defaults"],
srcs: libchromeCommonSrc,