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

Issue 1676943002: Copy the Universal CRT files to the output dirs (Closed)

Created:
4 years, 10 months ago by brucedawson
Modified:
4 years, 10 months ago
Reviewers:
Nico, M-A Ruel, scottmg
CC:
chromium-reviews, scottmg
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Copy the Universal CRT files to the output dirs Chromium component builds rely on the Windows 10 Universal CRT which must be either installed (problematic) or copied to the directory where the executables are located. This change copies those files to the output directories when "gclient runhooks" or "gclient sync" is run. It also copies ucrtbase.dll to release directories, which was previously erroneously skipped. Note that this process doesn't happen and isn't needed when DEPOT_TOOLS_WIN_TOOLCHAIN=0 is set because then the UCRT is guaranteed to be installed. This also updates msvs_dependencies.isolate so that the necessary DLLs, include vcruntime140*.dll and ucrtbase*.dll, get copied to swarming machines. TBR=thakis@chromium.org BUG=440500 Committed: https://crrev.com/d5273ddb31a98cc84c2ec6e74ff0d8ccd5952693 Cr-Commit-Position: refs/heads/master@{#374300}

Patch Set 1 #

Patch Set 2 : Pulled latest code #

Patch Set 3 : Release directories also, and verbose flag #

Patch Set 4 : Copy ucrtbase to release directories also #

Patch Set 5 : Add DLLs to msvs_dependencies.isolate for swarming #

Total comments: 10

Patch Set 6 : CR changes and CRLF to LF fixes #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+116 lines, -5 lines) Patch
M build/config/win/msvs_dependencies.isolate View 1 2 3 4 5 4 chunks +104 lines, -0 lines 2 comments Download
M build/vs_toolchain.py View 1 2 3 4 5 3 chunks +12 lines, -5 lines 2 comments Download

Messages

Total messages: 24 (10 generated)
brucedawson
This change is necessary (I've verified that it is needed by testing on a clean ...
4 years, 10 months ago (2016-02-08 19:05:09 UTC) #4
Nico
How does this work with swarming? Are all these dlls listed in a .isolate file?
4 years, 10 months ago (2016-02-08 19:11:59 UTC) #6
brucedawson
maruel@ - can you comment on the swarming aspects of this change?
4 years, 10 months ago (2016-02-08 20:15:01 UTC) #7
M-A Ruel
Oh my, this is a fair number of "useful libraries" to carry around. You may ...
4 years, 10 months ago (2016-02-08 20:19:14 UTC) #9
Nico
https://codereview.chromium.org/1676943002/diff/80001/build/config/win/msvs_dependencies.isolate File build/config/win/msvs_dependencies.isolate (right): https://codereview.chromium.org/1676943002/diff/80001/build/config/win/msvs_dependencies.isolate#newcode83 build/config/win/msvs_dependencies.isolate:83: ['OS=="win" and msvs_version==2015 and component=="shared_library" and (CONFIGURATION_NAME=="Debug or CONFIGURATION_NAME=="Release")', ...
4 years, 10 months ago (2016-02-08 20:19:57 UTC) #10
brucedawson
It is a lot of extra DLLs to throw around. Luckily the total size of ...
4 years, 10 months ago (2016-02-08 21:00:31 UTC) #11
brucedawson
With much help from maruel@ I tested this change with swarming. The results are: Without ...
4 years, 10 months ago (2016-02-08 22:44:10 UTC) #13
M-A Ruel
ltm
4 years, 10 months ago (2016-02-09 00:16:41 UTC) #14
M-A Ruel
On 2016/02/09 00:16:41, M-A Ruel wrote: > ltm err, lgtm
4 years, 10 months ago (2016-02-09 00:16:48 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1676943002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1676943002/100001
4 years, 10 months ago (2016-02-09 00:41:15 UTC) #18
Nico
lgtm from me too, but two nits. ok to do these in a follow-up; more ...
4 years, 10 months ago (2016-02-09 01:13:38 UTC) #19
brucedawson
https://codereview.chromium.org/1676943002/diff/100001/build/config/win/msvs_dependencies.isolate File build/config/win/msvs_dependencies.isolate (right): https://codereview.chromium.org/1676943002/diff/100001/build/config/win/msvs_dependencies.isolate#newcode178 build/config/win/msvs_dependencies.isolate:178: On 2016/02/09 01:13:37, Nico wrote: > EMPTY LINE Done. ...
4 years, 10 months ago (2016-02-09 01:38:56 UTC) #20
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 10 months ago (2016-02-09 04:28:00 UTC) #22
commit-bot: I haz the power
4 years, 10 months ago (2016-02-09 04:29:51 UTC) #24
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/d5273ddb31a98cc84c2ec6e74ff0d8ccd5952693
Cr-Commit-Position: refs/heads/master@{#374300}

Powered by Google App Engine
This is Rietveld 408576698