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

Issue 1582173003: Update the toolchain if there's a mismatch between the env and win_toolchain.json (Closed)

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

Description

Update the toolchain if there's a mismatch between the env and win_toolchain.json BUG=569152 Committed: https://crrev.com/e44b02e42a8b593a83bc569240923d0e6faa64d0 Cr-Commit-Position: refs/heads/master@{#369867}

Patch Set 1 #

Total comments: 1

Patch Set 2 : Update the toolchain if there's a mismatch between the env and the json file. #

Total comments: 4

Patch Set 3 : Address Scott nit. #

Patch Set 4 : CURRENT_TOOLCHAIN_VERSION -> CURRENT_DEFAULT_TOOLCHAIN_VERSION #

Patch Set 5 : Rebase. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -3 lines) Patch
M build/vs_toolchain.py View 1 2 3 4 4 chunks +20 lines, -3 lines 0 comments Download

Messages

Total messages: 20 (7 generated)
Sébastien Marchand
PTAL. Not sure if it'll fix the problem or if it's a silly idea (I'm ...
4 years, 11 months ago (2016-01-15 00:49:15 UTC) #2
brucedawson
On 2016/01/15 00:49:15, Sébastien Marchand wrote: > PTAL. Not sure if it'll fix the problem ...
4 years, 11 months ago (2016-01-15 00:55:39 UTC) #3
scottmg
https://codereview.chromium.org/1582173003/diff/1/build/vs_toolchain.py File build/vs_toolchain.py (right): https://codereview.chromium.org/1582173003/diff/1/build/vs_toolchain.py#newcode36 build/vs_toolchain.py:36: if not os.path.exists(json_data_file): I don't think overriding the version ...
4 years, 11 months ago (2016-01-15 01:05:19 UTC) #4
Sébastien Marchand
This should be better :), I've tried it locally and it seems to work, here's ...
4 years, 11 months ago (2016-01-15 20:58:39 UTC) #7
scottmg
Yeah, that seems better. lgtm, maybe Bruce will suggestions of something to test/try. https://codereview.chromium.org/1582173003/diff/40001/build/vs_toolchain.py File ...
4 years, 11 months ago (2016-01-15 21:08:13 UTC) #8
brucedawson
Another test (which I think your change will pass): run "gclient runhooks" twice after changing ...
4 years, 11 months ago (2016-01-15 21:10:52 UTC) #9
Sébastien Marchand
Yeah, I've run runhooks multiple time and it works as expected. https://codereview.chromium.org/1582173003/diff/40001/build/vs_toolchain.py File build/vs_toolchain.py (right): ...
4 years, 11 months ago (2016-01-15 21:21:40 UTC) #10
brucedawson
Somewhat related: depot_tools\win_toolchain\get_toolchain_if_necessary.py also examines GYP_MSVS_VERSION. So, changing the default requires one of: 1) build\vs_toolchain.py ...
4 years, 11 months ago (2016-01-15 21:34:08 UTC) #11
scottmg
I think ideally we'd delete all the version override stuff and just have "the toolchain" ...
4 years, 11 months ago (2016-01-15 21:38:17 UTC) #12
Sébastien Marchand
Rebased and confirmed that it's still working, so I'll land this. +1 to removing the ...
4 years, 11 months ago (2016-01-15 21:55:15 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1582173003/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1582173003/100001
4 years, 11 months ago (2016-01-15 21:56:50 UTC) #16
commit-bot: I haz the power
Committed patchset #5 (id:100001)
4 years, 11 months ago (2016-01-15 22:30:04 UTC) #18
commit-bot: I haz the power
4 years, 11 months ago (2016-01-15 22:31:00 UTC) #20
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/e44b02e42a8b593a83bc569240923d0e6faa64d0
Cr-Commit-Position: refs/heads/master@{#369867}

Powered by Google App Engine
This is Rietveld 408576698