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

Issue 2743423002: Copy *all* UCRT DLLs to the output directory (Closed)

Created:
3 years, 9 months ago by brucedawson
Modified:
3 years, 9 months ago
CC:
chromium-reviews, scottmg
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Copy *all* UCRT DLLs to the output directory In component builds where DEPOT_TOOLS_WIN_TOOLCHAIN=0 the VS toolchain script would copy *most* of the UCRT DLLs, but not all of them. It would fail to copy the api-ms-win-crt-*.dll files. This was not noticed because these only need to be copied in if you make the mini_installer target, and if you had previously done generated your output directory with DEPOT_TOOLS_WIN_TOOLCHAIN=1 then the files would be copied in then, and retained. This changes the script to copy from %WINDOWSSDKDIR%\Redist\ucrt\DLLs directory, or the default location if this variable is not set. This path is used elsewhere, why copy_cdb_to_output.py and is supported by both values of DEPOT_TOOLS_WIN_TOOLCHAIN. If the SDK is installed in a non-default location then DEPOT_TOOLS_WIN_TOOLCHAIN=0 users will have to ensure that WINDOWSSDKDIR is set. Local testing confirms that the set of files copied is now identical for DEPOT_TOOLS_WIN_TOOLCHAIN=0/1 (the file versions are different due to SDK updates but that is known and expected). BUG=692300 Review-Url: https://codereview.chromium.org/2743423002 Cr-Commit-Position: refs/heads/master@{#456484} Committed: https://chromium.googlesource.com/chromium/src/+/46cd6d9361fffc104929e0ed654576eb3b286f14

Patch Set 1 #

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

Messages

Total messages: 16 (12 generated)
brucedawson
PTAL. I think this is straightforward.
3 years, 9 months ago (2017-03-13 17:55:16 UTC) #5
Sébastien Marchand
lgtm
3 years, 9 months ago (2017-03-13 18:20:10 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2743423002/1
3 years, 9 months ago (2017-03-13 19:23:38 UTC) #12
commit-bot: I haz the power
3 years, 9 months ago (2017-03-13 21:13:21 UTC) #16
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/46cd6d9361fffc104929e0ed6545...

Powered by Google App Engine
This is Rietveld 408576698