aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBill Peckham <bpeckham@google.com>2019-02-15 11:25:34 -0800
committerBill Peckham <bpeckham@google.com>2019-02-15 11:25:34 -0800
commiteabb713f154c13a8d6b9689476b96fbb683a480f (patch)
treeaa1990687d33785591628838068d5345f0193210
parentdba735e9a52411bc8b7cc5e54359a981b6ce016e (diff)
downloadbuild-eabb713f154c13a8d6b9689476b96fbb683a480f.tar.gz
Include soong_zip in OTA tools package.
Including soong_zip in the OTA tools package enables its use in target files repackaging scripts. Bug: 124468071 Test: Generate build, verify that soong_zip exists in otatools.zip at bin/soong_zip Change-Id: Iee0d9dba73a66de4d1aa6970dd8fb8debb723660
-rw-r--r--core/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/Makefile b/core/Makefile
index 1846a8802e..7eefd13e19 100644
--- a/core/Makefile
+++ b/core/Makefile
@@ -3497,6 +3497,7 @@ $(BUILT_OTATOOLS_PACKAGE): $(OTATOOLS) $(OTATOOLS_DEPS) $(OTATOOLS_RELEASETOOLS)
$(hide) rm -rf $@ $(zip_root)
$(hide) mkdir -p $(dir $@) $(zip_root)/bin $(zip_root)/framework $(zip_root)/releasetools
$(call copy-files-with-structure,$(OTATOOLS),$(HOST_OUT)/,$(zip_root))
+ $(hide) cp $(SOONG_ZIP) $(zip_root)/bin/
$(hide) cp -r -d -p build/make/tools/releasetools/* $(zip_root)/releasetools
$(hide) rm -rf $@ $(zip_root)/releasetools/*.pyc
$(hide) $(SOONG_ZIP) -o $@ -C $(zip_root) -D $(zip_root) \