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

Issue 1822383002: Detect and warn on missing vcvarsall.bat (Closed)

Created:
4 years, 9 months ago by brucedawson
Modified:
4 years, 9 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

Detect and warn on missing vcvarsall.bat VC++ 2015 defaults to *not* installing the C++ toolchain. Several developers have failed to notice this and then hit cryptic errors when building Chrome. This detects the problem and gives a more informative error message for gn builds. crrev.com/1832593002 does this for gyp builds. BUG=440500 Committed: https://crrev.com/13856ebb7cb3b75dd9d40bb394ffa567ab4a524a Cr-Commit-Position: refs/heads/master@{#382915}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Increase indent #

Total comments: 4

Patch Set 3 : Fixed indentation and operator % for realz #

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

Messages

Total messages: 13 (4 generated)
brucedawson
A bit more hardening to more politely detect what is a somewhat common mistake. GYP ...
4 years, 9 months ago (2016-03-23 19:20:14 UTC) #2
scottmg
lgtm https://codereview.chromium.org/1822383002/diff/1/build/toolchain/win/setup_toolchain.py File build/toolchain/win/setup_toolchain.py (right): https://codereview.chromium.org/1822383002/diff/1/build/toolchain/win/setup_toolchain.py#newcode121 build/toolchain/win/setup_toolchain.py:121: os.environ['GYP_MSVS_OVERRIDE_PATH'], +indent here, they're arguments to join() not ...
4 years, 9 months ago (2016-03-23 19:30:13 UTC) #3
brucedawson
https://codereview.chromium.org/1822383002/diff/1/build/toolchain/win/setup_toolchain.py File build/toolchain/win/setup_toolchain.py (right): https://codereview.chromium.org/1822383002/diff/1/build/toolchain/win/setup_toolchain.py#newcode121 build/toolchain/win/setup_toolchain.py:121: os.environ['GYP_MSVS_OVERRIDE_PATH'], On 2016/03/23 19:30:13, scottmg wrote: > +indent here, ...
4 years, 9 months ago (2016-03-23 19:35:22 UTC) #4
scottmg
https://codereview.chromium.org/1822383002/diff/20001/build/toolchain/win/setup_toolchain.py File build/toolchain/win/setup_toolchain.py (right): https://codereview.chromium.org/1822383002/diff/20001/build/toolchain/win/setup_toolchain.py#newcode121 build/toolchain/win/setup_toolchain.py:121: os.environ['GYP_MSVS_OVERRIDE_PATH'], Yeah, I wish we had a good python ...
4 years, 9 months ago (2016-03-23 19:41:53 UTC) #5
brucedawson
https://codereview.chromium.org/1822383002/diff/20001/build/toolchain/win/setup_toolchain.py File build/toolchain/win/setup_toolchain.py (right): https://codereview.chromium.org/1822383002/diff/20001/build/toolchain/win/setup_toolchain.py#newcode121 build/toolchain/win/setup_toolchain.py:121: os.environ['GYP_MSVS_OVERRIDE_PATH'], On 2016/03/23 19:41:53, scottmg wrote: > Yeah, I ...
4 years, 9 months ago (2016-03-23 19:48:51 UTC) #7
scottmg
best-python-indenting-ever-lgtm hopefully it even works
4 years, 9 months ago (2016-03-23 19:50:26 UTC) #8
brucedawson
> hopefully it even works Hmmm. Good point. Now that the indenting is perfect I ...
4 years, 9 months ago (2016-03-23 19:51:25 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1822383002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1822383002/40001
4 years, 9 months ago (2016-03-23 19:52:57 UTC) #11
commit-bot: I haz the power
4 years, 9 months ago (2016-03-23 20:32:57 UTC) #13
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/13856ebb7cb3b75dd9d40bb394ffa567ab4a524a
Cr-Commit-Position: refs/heads/master@{#382915}

Powered by Google App Engine
This is Rietveld 408576698