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

Issue 1967653002: Update toolchain packaging to support VC++ preview toolsets (Closed)

Created:
4 years, 7 months ago by brucedawson
Modified:
4 years, 7 months ago
Reviewers:
scottmg
CC:
chromium-reviews, dpranke+depot_tools_chromium.org, iannucci+depot_tools_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/tools/depot_tools.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Update toolchain packaging to support VC++ preview toolsets This change adds a --override option to the VC++ packaging script so that an arbitrary bin/include/lib containing directory can be used to package up those components of VC++. See this post for details: https://blogs.msdn.microsoft.com/vcblog/2016/02/16/try-out-the-latest-c-compiler-toolset-without-waiting-for-the-next-update-of-visual-studio/ Typical usage is like this: package_from_installed.py 2015 --override <projdir>\packages\VisualCppTools.14.0.24109-Pre\lib\native In order to make this work the path tuple support was fixed so that the local relative path was propagated to the destination path, instead of just the file name. At the same time, the code to package up the UCRT installers was deleted because it isn't needed, and windows.winmd is filtered out because it makes consistent package creation impossible (it is different on every machine). While removing the UCRT installers I discovered nested if VS_VERSION checks. Oops. Fixed. BUG=440500 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=300527

Patch Set 1 #

Total comments: 9

Patch Set 2 : Code review tweaks #

Unified diffs Side-by-side diffs Delta from patch set Stats (+64 lines, -57 lines) Patch
M win_toolchain/package_from_installed.py View 1 6 chunks +64 lines, -57 lines 0 comments Download

Messages

Total messages: 11 (4 generated)
brucedawson
Fixes, and support for testing pre-release compilers. PTAL. I am currently testing a package created ...
4 years, 7 months ago (2016-05-10 18:30:15 UTC) #2
brucedawson
https://codereview.chromium.org/1967653002/diff/1/win_toolchain/package_from_installed.py File win_toolchain/package_from_installed.py (left): https://codereview.chromium.org/1967653002/diff/1/win_toolchain/package_from_installed.py#oldcode161 win_toolchain/package_from_installed.py:161: if VS_VERSION == '2015': This was embarrassing to find. ...
4 years, 7 months ago (2016-05-10 18:31:35 UTC) #3
scottmg
lgtm https://codereview.chromium.org/1967653002/diff/1/win_toolchain/package_from_installed.py File win_toolchain/package_from_installed.py (right): https://codereview.chromium.org/1967653002/diff/1/win_toolchain/package_from_installed.py#newcode56 win_toolchain/package_from_installed.py:56: if (override_dir): no () https://codereview.chromium.org/1967653002/diff/1/win_toolchain/package_from_installed.py#newcode82 win_toolchain/package_from_installed.py:82: ('VC/redist/x86/Microsoft.VC140.CRT', 'sys32'), ...
4 years, 7 months ago (2016-05-10 18:58:30 UTC) #4
brucedawson
All comments addressed, and I double-checked that the new tuple handling doesn't affect previously packaged ...
4 years, 7 months ago (2016-05-10 19:24:05 UTC) #6
scottmg
lgtm
4 years, 7 months ago (2016-05-10 19:26:38 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1967653002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1967653002/20001
4 years, 7 months ago (2016-05-10 19:28:33 UTC) #9
commit-bot: I haz the power
4 years, 7 months ago (2016-05-10 19:33:10 UTC) #11
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
http://src.chromium.org/viewvc/chrome?view=rev&revision=300527

Powered by Google App Engine
This is Rietveld 408576698