Commit 500d3b24 authored by Martin Kreichgauer's avatar Martin Kreichgauer Committed by Commit Bot

Don't attempt to copy vcruntime140_1*.dll when building with VS2017

Builds currently fail because the file doesn't exist in Visual Studio
2017.

Bug: 1089996
Change-Id: I1558fc11fda532406baf5b0af998c5e58a774aa5
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2252620Reviewed-by: default avatarBruce Dawson <brucedawson@chromium.org>
Commit-Queue: Bruce Dawson <brucedawson@chromium.org>
Commit-Queue: Martin Kreichgauer <martinkr@chromium.org>
Cr-Commit-Position: refs/heads/master@{#780056}
parent a2a3da64
......@@ -269,7 +269,7 @@ def _CopyUCRTRuntime(target_dir, source_dir, target_cpu, suffix):
source_dir = os.path.join(vc_redist_root, 'debug_nonredist',
'arm64', vc_toolset_dir)
file_parts = ('msvcp140', 'vccorlib140', 'vcruntime140')
if target_cpu == 'x64':
if target_cpu == 'x64' and GetVisualStudioVersion() != '2017':
file_parts = file_parts + ('vcruntime140_1', )
for file_part in file_parts:
dll = file_part + suffix
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment