Chromium Code Reviews
DescriptionClosure compiler: fix incremental builds
I added --checks_only to the closure_flags in this CL:
https://codereview.chromium.org/2629323002
Unfortunately, I didn't know that --checks_only appears to not write a
--js_output_file even if specified. This makes sense, as the only
possibly sane thing to write might be an empty file (but that's really
not useful outside of the context of a build system, and would probably
just accidentally nuke people's files).
This CL creates an empty file at the desired location if --checks_only
is on and the compile succeeds. This makes ninja happy and fixes
incremental builds (and should reduce bot cycle and flake time).
R=dpapad@chromium.org
BUG=none
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation
Review-Url: https://codereview.chromium.org/2712893002
Cr-Commit-Position: refs/heads/master@{#452389}
Committed: https://chromium.googlesource.com/chromium/src/+/ec5f9b7821faea7d2083376a934e306e0763572e
Patch Set 1 : because everybody likes **kwargs! #
Messages
Total messages: 16 (12 generated)
|
||||||||||||||||||||||||||||