Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(9)

Issue 2712893002: Closure compiler: fix incremental builds (Closed)

Created:
3 years, 10 months ago by Dan Beam
Modified:
3 years, 10 months ago
Reviewers:
Dirk Pranke
CC:
chromium-reviews, vitalyp+closure_chromium.org, jlklein+watch-closure_chromium.org, dbeam+watch-closure_chromium.org, dpapad
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Closure 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! #

Unified diffs Side-by-side diffs Delta from patch set Stats (+36 lines, -14 lines) Patch
M third_party/closure_compiler/compile.py View 4 chunks +18 lines, -7 lines 0 comments Download
M third_party/closure_compiler/compile2.py View 4 chunks +18 lines, -7 lines 0 comments Download

Messages

Total messages: 16 (12 generated)
Dirk Pranke
lgtm
3 years, 10 months ago (2017-02-23 03:15:27 UTC) #3
Dan Beam
publishing just so folks see the full description (and can effectively shame me)
3 years, 10 months ago (2017-02-23 03:18:53 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2712893002/20001
3 years, 10 months ago (2017-02-23 04:02:35 UTC) #13
commit-bot: I haz the power
3 years, 10 months ago (2017-02-23 04:21:30 UTC) #16
Message was sent while issue was closed.
Committed patchset #1 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/ec5f9b7821faea7d2083376a934e...

Powered by Google App Engine
This is Rietveld 408576698