From eabb713f154c13a8d6b9689476b96fbb683a480f Mon Sep 17 00:00:00 2001 From: Bill Peckham Date: Fri, 15 Feb 2019 11:25:34 -0800 Subject: [PATCH] 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 --- core/Makefile | 1 + 1 file changed, 1 insertion(+) 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) \