diff options
author | Colin Cross <ccross@android.com> | 2018-03-29 17:57:00 +0000 |
---|---|---|
committer | Colin Cross <ccross@android.com> | 2018-03-29 17:57:00 +0000 |
commit | eddedb39b22b2e219a3cade9d030a136c038a38e (patch) | |
tree | 96a22d9cabe11468933b5d3612a32b66acbc93f7 | |
parent | 85092e93237c6b76c5d4602740672b34a0dea713 (diff) | |
download | libmojo-eddedb39b22b2e219a3cade9d030a136c038a38e.tar.gz |
Revert "Unzip mojo generated output files with current timestamps"
This reverts commit 85092e93237c6b76c5d4602740672b34a0dea713.
Reason for revert: Broke mac build, old mac versions have an old
unzip that doesn't support -DD.
Change-Id: I43eb06661da4a65a4e402a2948886c4476d976a7
-rwxr-xr-x | soong/mojom_source_generator.sh | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/soong/mojom_source_generator.sh b/soong/mojom_source_generator.sh index de2441f..f1fac9e 100755 --- a/soong/mojom_source_generator.sh +++ b/soong/mojom_source_generator.sh @@ -107,8 +107,6 @@ for file in "${files[@]}"; do "${file}" fi if [[ "${generators}" =~ .*java.* ]] ; then - # -DD uses current time for the timestamp of the unzipped files so - # ninja doesn't think they are out of date and need regenerating - unzip -qo -DD -d "${output_dir}"/src "${output_dir}/${rel_path}".srcjar + unzip -qo -d "${output_dir}"/src "${output_dir}/${rel_path}".srcjar fi done |