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

Issue 1932133002: Only write gyp-win-tool when needed (Closed)

Created:
4 years, 7 months ago by brucedawson
Modified:
4 years, 7 months ago
Reviewers:
scottmg
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Only write gyp-win-tool when needed The gyp-win-tool is written every time .ninja files are regenerated. This can cause significant overbuild. This change simply avoids writing it (and touching its time-stamp) if nothing has changed. A similar fix will be needed for Mac. BUG=607776 Committed: https://crrev.com/e8cfc6cac3577dc1bd061a59afedb05a5199df3e Cr-Commit-Position: refs/heads/master@{#390707}

Patch Set 1 #

Total comments: 8

Patch Set 2 : Code review tweaks #

Patch Set 3 : Better compatibility with mac version #

Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -5 lines) Patch
M build/toolchain/win/setup_toolchain.py View 1 2 1 chunk +17 lines, -5 lines 0 comments Download

Messages

Total messages: 12 (4 generated)
brucedawson
This explains why my builds rebuild more than I expect. I'll test tomorrow and see ...
4 years, 7 months ago (2016-04-29 01:55:22 UTC) #2
scottmg
gyp has a WriteOnDiff() but it's crazily written, so let's not reuse it. :/ lgtm ...
4 years, 7 months ago (2016-04-29 02:11:40 UTC) #3
brucedawson
Tweaks made. https://codereview.chromium.org/1932133002/diff/1/build/toolchain/win/setup_toolchain.py File build/toolchain/win/setup_toolchain.py (right): https://codereview.chromium.org/1932133002/diff/1/build/toolchain/win/setup_toolchain.py#newcode156 build/toolchain/win/setup_toolchain.py:156: try: On 2016/04/29 02:11:40, scottmg wrote: > ...
4 years, 7 months ago (2016-04-29 17:25:28 UTC) #4
scottmg
lgtm
4 years, 7 months ago (2016-04-29 17:35:04 UTC) #5
brucedawson
On 2016/04/29 17:35:04, scottmg wrote: > lgtm I just made a CL to update the ...
4 years, 7 months ago (2016-04-29 18:03:46 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1932133002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1932133002/40001
4 years, 7 months ago (2016-04-29 18:04:09 UTC) #9
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 7 months ago (2016-04-29 18:44:44 UTC) #10
commit-bot: I haz the power
4 years, 7 months ago (2016-04-30 17:27:37 UTC) #11
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/e8cfc6cac3577dc1bd061a59afedb05a5199df3e
Cr-Commit-Position: refs/heads/master@{#390707}

Powered by Google App Engine
This is Rietveld 408576698