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

Issue 1660723002: Updates to package VS 2015 to not require UCRT (Closed)

Created:
4 years, 10 months ago by brucedawson
Modified:
4 years, 10 months ago
Reviewers:
Dirk Pranke, 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

Updates to package VS 2015 to not require UCRT This change packages the api-ms-* DLLs and the VS 2015 CRT DLLs in all of the VS package directories that we add to the path, so that they can run without having the UCRT installed. The Common7\IDE path was removed because it isn't actually packaged, in VS 2013 or VS 2015, so adding it to the path is purely confusing. In addition to changing the packaging script the installation script has to change in order to continue if the UCRT cannot be installed. It still makes sense to try to install it, and print a message saying where the installer is, for the convenience of Google developers who may want more flexibility in running VS 2015 binaries. A 'calculating hash' message was added to make the mysterious hashing hangs (which can be several minutes long) less mysterious. BUG=440500 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=298541

Patch Set 1 #

Patch Set 2 : Moving print statement #

Patch Set 3 : Tweak no-elevation message #

Total comments: 9

Patch Set 4 : CR fixes #

Total comments: 2

Patch Set 5 : Add blank line per code review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+41 lines, -23 lines) Patch
M win_toolchain/get_toolchain_if_necessary.py View 1 2 3 2 chunks +5 lines, -9 lines 0 comments Download
M win_toolchain/package_from_installed.py View 1 2 3 4 4 chunks +36 lines, -14 lines 0 comments Download

Messages

Total messages: 20 (6 generated)
brucedawson
This appears to let the compiler run without installing the UCRT. I packaged the DLLs ...
4 years, 10 months ago (2016-02-02 22:46:46 UTC) #2
scottmg
https://codereview.chromium.org/1660723002/diff/40001/win_toolchain/get_toolchain_if_necessary.py File win_toolchain/get_toolchain_if_necessary.py (right): https://codereview.chromium.org/1660723002/diff/40001/win_toolchain/get_toolchain_if_necessary.py#newcode115 win_toolchain/get_toolchain_if_necessary.py:115: print 'Calculating hash of toolchain in %s. Please wait...' ...
4 years, 10 months ago (2016-02-02 22:55:13 UTC) #3
scottmg
On 2016/02/02 22:46:46, brucedawson wrote: > This appears to let the compiler run without installing ...
4 years, 10 months ago (2016-02-02 22:55:27 UTC) #4
brucedawson
On 2016/02/02 22:55:27, scottmg wrote: > On 2016/02/02 22:46:46, brucedawson wrote: > > This appears ...
4 years, 10 months ago (2016-02-03 00:14:35 UTC) #5
brucedawson
I might fix the paths for 32-bit OS at the same time. Thoughts? https://codereview.chromium.org/1660723002/diff/40001/win_toolchain/get_toolchain_if_necessary.py File ...
4 years, 10 months ago (2016-02-03 00:19:50 UTC) #6
scottmg
On 2016/02/03 00:19:50, brucedawson wrote: > I might fix the paths for 32-bit OS at ...
4 years, 10 months ago (2016-02-03 00:23:53 UTC) #7
scottmg
https://codereview.chromium.org/1660723002/diff/40001/win_toolchain/package_from_installed.py File win_toolchain/package_from_installed.py (left): https://codereview.chromium.org/1660723002/diff/40001/win_toolchain/package_from_installed.py#oldcode188 win_toolchain/package_from_installed.py:188: 'set PATH=%~dp0..\\..\\Common7\\IDE;%PATH%\n' On 2016/02/03 00:19:49, brucedawson wrote: > On ...
4 years, 10 months ago (2016-02-03 00:23:56 UTC) #8
brucedawson
I just uploaded my fixes based on your comments. On 2016/02/03 00:23:53, scottmg wrote: > ...
4 years, 10 months ago (2016-02-03 00:27:14 UTC) #9
brucedawson
I think I'll do the 32-bit change separately - better to roll an extra package ...
4 years, 10 months ago (2016-02-03 02:09:59 UTC) #10
scottmg
lgtm https://codereview.chromium.org/1660723002/diff/60001/win_toolchain/package_from_installed.py File win_toolchain/package_from_installed.py (right): https://codereview.chromium.org/1660723002/diff/60001/win_toolchain/package_from_installed.py#newcode167 win_toolchain/package_from_installed.py:167: # Copy the x64 ucrt DLLs to all ...
4 years, 10 months ago (2016-02-03 04:12:01 UTC) #11
Dirk Pranke
It seems a bit odd to me that we'd want to spend any time on ...
4 years, 10 months ago (2016-02-03 05:30:39 UTC) #13
brucedawson
https://codereview.chromium.org/1660723002/diff/60001/win_toolchain/package_from_installed.py File win_toolchain/package_from_installed.py (right): https://codereview.chromium.org/1660723002/diff/60001/win_toolchain/package_from_installed.py#newcode167 win_toolchain/package_from_installed.py:167: # Copy the x64 ucrt DLLs to all directories ...
4 years, 10 months ago (2016-02-03 06:32:16 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1660723002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1660723002/80001
4 years, 10 months ago (2016-02-03 06:33:43 UTC) #18
commit-bot: I haz the power
4 years, 10 months ago (2016-02-03 06:35:41 UTC) #20
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
http://src.chromium.org/viewvc/chrome?view=rev&revision=298541

Powered by Google App Engine
This is Rietveld 408576698