Merge "Don't zip hiddenapi output jar into jar" am: f05a023a5a am: 808af69564

am: bcf2fa33d3

Change-Id: I7ced2ae5b772bec65cc18645b6cb75088650d9ba
This commit is contained in:
Colin Cross 2018-10-08 15:49:07 -07:00 committed by android-build-merger
commit 2a51a25495
1 changed files with 1 additions and 1 deletions

View File

@ -2739,7 +2739,7 @@ $(call hiddenapi-copy-dex-files,\
$(2): OUTPUT_DIR := $(dir $(call hiddenapi-soong-output-dex,$(2)))
$(2): OUTPUT_JAR := $(dir $(call hiddenapi-soong-output-dex,$(2)))classes.jar
$(2): $(1) $(call hiddenapi-soong-output-dex,$(2)) | $(SOONG_ZIP) $(MERGE_ZIPS)
$(SOONG_ZIP) -o $${OUTPUT_JAR} -C $${OUTPUT_DIR} -D $${OUTPUT_DIR}
$(SOONG_ZIP) -o $${OUTPUT_JAR} -C $${OUTPUT_DIR} -f "$${OUTPUT_DIR}/classes*.dex"
$(MERGE_ZIPS) -D -zipToNotStrip $${OUTPUT_JAR} -stripFile "classes*.dex" $(2) $${OUTPUT_JAR} $(1)
endef