forked from openkylin/platform_build
Normalize timestamps in host java libraries
Remove timestamps from jar files in host java libraries to get consistent results between builds to help with build artifact caching. Bug: 38215808 Test: sha1sum desugar.jar && touch Desugar.java && m -j desugar && sha1sum desugar.jar Change-Id: I1ecac9b2b80f673937086686540ab0736259df1b
This commit is contained in:
parent
57273013cf
commit
1664b90d67
|
@ -76,9 +76,11 @@ $(full_classes_compiled_jar): \
|
||||||
$(proto_java_sources_file_stamp) \
|
$(proto_java_sources_file_stamp) \
|
||||||
$(annotation_processor_deps) \
|
$(annotation_processor_deps) \
|
||||||
$(NORMALIZE_PATH) \
|
$(NORMALIZE_PATH) \
|
||||||
|
$(ZIPTIME) \
|
||||||
$(LOCAL_ADDITIONAL_DEPENDENCIES) \
|
$(LOCAL_ADDITIONAL_DEPENDENCIES) \
|
||||||
| $(SOONG_JAVAC_WRAPPER)
|
| $(SOONG_JAVAC_WRAPPER)
|
||||||
$(transform-host-java-to-package)
|
$(transform-host-java-to-package)
|
||||||
|
$(remove-timestamps-from-package)
|
||||||
|
|
||||||
javac-check : $(full_classes_compiled_jar)
|
javac-check : $(full_classes_compiled_jar)
|
||||||
javac-check-$(LOCAL_MODULE) : $(full_classes_compiled_jar)
|
javac-check-$(LOCAL_MODULE) : $(full_classes_compiled_jar)
|
||||||
|
|
Loading…
Reference in New Issue