Merge "Use soong_zip instead of jar to generate .jar files in javac actions" am: 1d56417af0
am: 2d1430e51c
Change-Id: Iec9836498edc164265b79034da7a75b588d65057
This commit is contained in:
commit
0a8b83d0cb
|
@ -2093,7 +2093,7 @@ $(if $(PRIVATE_JAR_PACKAGES), \
|
|||
$(if $(PRIVATE_JAR_EXCLUDE_PACKAGES), $(hide) rm -rf \
|
||||
$(foreach pkg, $(PRIVATE_JAR_EXCLUDE_PACKAGES), \
|
||||
$(PRIVATE_CLASS_INTERMEDIATES_DIR)/$(subst .,/,$(pkg))))
|
||||
$(hide) $(JAR) -cf $@ $(call jar-args-sorted-files-in-directory,$(PRIVATE_CLASS_INTERMEDIATES_DIR))
|
||||
$(hide) $(SOONG_ZIP) -jar -o $@ -C $(PRIVATE_CLASS_INTERMEDIATES_DIR) -D $(PRIVATE_CLASS_INTERMEDIATES_DIR)
|
||||
$(if $(PRIVATE_EXTRA_JAR_ARGS),$(call add-java-resources-to,$@))
|
||||
endef
|
||||
|
||||
|
|
|
@ -99,6 +99,7 @@ $(full_classes_compiled_jar): \
|
|||
$(NORMALIZE_PATH) \
|
||||
$(JAR_ARGS) \
|
||||
$(ZIPSYNC) \
|
||||
$(SOONG_ZIP) \
|
||||
| $(SOONG_JAVAC_WRAPPER)
|
||||
$(transform-host-java-to-dalvik-package)
|
||||
|
||||
|
|
|
@ -90,6 +90,7 @@ $(full_classes_compiled_jar): \
|
|||
$(ZIPTIME) \
|
||||
$(JAR_ARGS) \
|
||||
$(ZIPSYNC) \
|
||||
$(SOONG_ZIP) \
|
||||
| $(SOONG_JAVAC_WRAPPER)
|
||||
$(transform-host-java-to-package)
|
||||
$(remove-timestamps-from-package)
|
||||
|
|
|
@ -296,6 +296,7 @@ $(full_classes_compiled_jar): \
|
|||
$(NORMALIZE_PATH) \
|
||||
$(JAR_ARGS) \
|
||||
$(ZIPSYNC) \
|
||||
$(SOONG_ZIP) \
|
||||
| $(SOONG_JAVAC_WRAPPER)
|
||||
@echo "Target Java: $@
|
||||
$(call compile-java,$(TARGET_JAVAC),$(PRIVATE_ALL_JAVA_HEADER_LIBRARIES))
|
||||
|
|
Loading…
Reference in New Issue