Commit 290ee88f authored by machenbach's avatar machenbach Committed by Commit bot

Revert of [build] Use MSVS 2015 by default. (patchset #4 id:60001 of...

Revert of [build] Use MSVS 2015 by default. (patchset #4 id:60001 of https://codereview.chromium.org/1886983002/ )

Reason for revert:
Introduced flaky crashes on win debug.

Original issue's description:
> [build] Use MSVS 2015 by default.
>
> BUG=chromium:603131
> LOG=y
>
> Committed: https://crrev.com/e51e8b4ad77008ec7f88c144853e01001dbea900
> Cr-Commit-Position: refs/heads/master@{#35487}

TBR=jochen@chromium.org
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=chromium:603131

Review URL: https://codereview.chromium.org/1890873002

Cr-Commit-Position: refs/heads/master@{#35498}
parent 0f90237b
...@@ -46,8 +46,6 @@ ...@@ -46,8 +46,6 @@
'files': [ 'files': [
'<(PRODUCT_DIR)/x64/msvcp140d.dll', '<(PRODUCT_DIR)/x64/msvcp140d.dll',
'<(PRODUCT_DIR)/x64/vccorlib140d.dll', '<(PRODUCT_DIR)/x64/vccorlib140d.dll',
'<(PRODUCT_DIR)/x64/vcruntime140d.dll',
'<(PRODUCT_DIR)/x64/ucrtbased.dll',
], ],
}, },
}], }],
...@@ -56,8 +54,6 @@ ...@@ -56,8 +54,6 @@
'files': [ 'files': [
'<(PRODUCT_DIR)/x64/msvcp140.dll', '<(PRODUCT_DIR)/x64/msvcp140.dll',
'<(PRODUCT_DIR)/x64/vccorlib140.dll', '<(PRODUCT_DIR)/x64/vccorlib140.dll',
'<(PRODUCT_DIR)/x64/vcruntime140.dll',
'<(PRODUCT_DIR)/x64/ucrtbase.dll',
], ],
}, },
}], }],
...@@ -66,8 +62,6 @@ ...@@ -66,8 +62,6 @@
'files': [ 'files': [
'<(PRODUCT_DIR)/msvcp140d.dll', '<(PRODUCT_DIR)/msvcp140d.dll',
'<(PRODUCT_DIR)/vccorlib140d.dll', '<(PRODUCT_DIR)/vccorlib140d.dll',
'<(PRODUCT_DIR)/vcruntime140d.dll',
'<(PRODUCT_DIR)/ucrtbased.dll',
], ],
}, },
}], }],
...@@ -76,103 +70,6 @@ ...@@ -76,103 +70,6 @@
'files': [ 'files': [
'<(PRODUCT_DIR)/msvcp140.dll', '<(PRODUCT_DIR)/msvcp140.dll',
'<(PRODUCT_DIR)/vccorlib140.dll', '<(PRODUCT_DIR)/vccorlib140.dll',
'<(PRODUCT_DIR)/vcruntime140.dll',
'<(PRODUCT_DIR)/ucrtbase.dll',
],
},
}],
['OS=="win" and msvs_version==2015 and component=="shared_library" and target_arch=="ia32"', {
# 32-bit builds have an x64 directory which also needs Windows 10
# Universal C Runtime binaries copied over.
'variables': {
'files': [
'<(PRODUCT_DIR)/x64/api-ms-win-core-console-l1-1-0.dll',
'<(PRODUCT_DIR)/x64/api-ms-win-core-datetime-l1-1-0.dll',
'<(PRODUCT_DIR)/x64/api-ms-win-core-debug-l1-1-0.dll',
'<(PRODUCT_DIR)/x64/api-ms-win-core-errorhandling-l1-1-0.dll',
'<(PRODUCT_DIR)/x64/api-ms-win-core-file-l1-1-0.dll',
'<(PRODUCT_DIR)/x64/api-ms-win-core-file-l1-2-0.dll',
'<(PRODUCT_DIR)/x64/api-ms-win-core-file-l2-1-0.dll',
'<(PRODUCT_DIR)/x64/api-ms-win-core-handle-l1-1-0.dll',
'<(PRODUCT_DIR)/x64/api-ms-win-core-heap-l1-1-0.dll',
'<(PRODUCT_DIR)/x64/api-ms-win-core-interlocked-l1-1-0.dll',
'<(PRODUCT_DIR)/x64/api-ms-win-core-libraryloader-l1-1-0.dll',
'<(PRODUCT_DIR)/x64/api-ms-win-core-localization-l1-2-0.dll',
'<(PRODUCT_DIR)/x64/api-ms-win-core-memory-l1-1-0.dll',
'<(PRODUCT_DIR)/x64/api-ms-win-core-namedpipe-l1-1-0.dll',
'<(PRODUCT_DIR)/x64/api-ms-win-core-processenvironment-l1-1-0.dll',
'<(PRODUCT_DIR)/x64/api-ms-win-core-processthreads-l1-1-0.dll',
'<(PRODUCT_DIR)/x64/api-ms-win-core-processthreads-l1-1-1.dll',
'<(PRODUCT_DIR)/x64/api-ms-win-core-profile-l1-1-0.dll',
'<(PRODUCT_DIR)/x64/api-ms-win-core-rtlsupport-l1-1-0.dll',
'<(PRODUCT_DIR)/x64/api-ms-win-core-string-l1-1-0.dll',
'<(PRODUCT_DIR)/x64/api-ms-win-core-synch-l1-1-0.dll',
'<(PRODUCT_DIR)/x64/api-ms-win-core-synch-l1-2-0.dll',
'<(PRODUCT_DIR)/x64/api-ms-win-core-sysinfo-l1-1-0.dll',
'<(PRODUCT_DIR)/x64/api-ms-win-core-timezone-l1-1-0.dll',
'<(PRODUCT_DIR)/x64/api-ms-win-core-util-l1-1-0.dll',
'<(PRODUCT_DIR)/x64/api-ms-win-crt-conio-l1-1-0.dll',
'<(PRODUCT_DIR)/x64/api-ms-win-crt-convert-l1-1-0.dll',
'<(PRODUCT_DIR)/x64/api-ms-win-crt-environment-l1-1-0.dll',
'<(PRODUCT_DIR)/x64/api-ms-win-crt-filesystem-l1-1-0.dll',
'<(PRODUCT_DIR)/x64/api-ms-win-crt-heap-l1-1-0.dll',
'<(PRODUCT_DIR)/x64/api-ms-win-crt-locale-l1-1-0.dll',
'<(PRODUCT_DIR)/x64/api-ms-win-crt-math-l1-1-0.dll',
'<(PRODUCT_DIR)/x64/api-ms-win-crt-multibyte-l1-1-0.dll',
'<(PRODUCT_DIR)/x64/api-ms-win-crt-private-l1-1-0.dll',
'<(PRODUCT_DIR)/x64/api-ms-win-crt-process-l1-1-0.dll',
'<(PRODUCT_DIR)/x64/api-ms-win-crt-runtime-l1-1-0.dll',
'<(PRODUCT_DIR)/x64/api-ms-win-crt-stdio-l1-1-0.dll',
'<(PRODUCT_DIR)/x64/api-ms-win-crt-string-l1-1-0.dll',
'<(PRODUCT_DIR)/x64/api-ms-win-crt-time-l1-1-0.dll',
'<(PRODUCT_DIR)/x64/api-ms-win-crt-utility-l1-1-0.dll',
],
},
}],
['OS=="win" and msvs_version==2015 and component=="shared_library"', {
# Windows 10 Universal C Runtime binaries.
'variables': {
'files': [
'<(PRODUCT_DIR)/api-ms-win-core-console-l1-1-0.dll',
'<(PRODUCT_DIR)/api-ms-win-core-datetime-l1-1-0.dll',
'<(PRODUCT_DIR)/api-ms-win-core-debug-l1-1-0.dll',
'<(PRODUCT_DIR)/api-ms-win-core-errorhandling-l1-1-0.dll',
'<(PRODUCT_DIR)/api-ms-win-core-file-l1-1-0.dll',
'<(PRODUCT_DIR)/api-ms-win-core-file-l1-2-0.dll',
'<(PRODUCT_DIR)/api-ms-win-core-file-l2-1-0.dll',
'<(PRODUCT_DIR)/api-ms-win-core-handle-l1-1-0.dll',
'<(PRODUCT_DIR)/api-ms-win-core-heap-l1-1-0.dll',
'<(PRODUCT_DIR)/api-ms-win-core-interlocked-l1-1-0.dll',
'<(PRODUCT_DIR)/api-ms-win-core-libraryloader-l1-1-0.dll',
'<(PRODUCT_DIR)/api-ms-win-core-localization-l1-2-0.dll',
'<(PRODUCT_DIR)/api-ms-win-core-memory-l1-1-0.dll',
'<(PRODUCT_DIR)/api-ms-win-core-namedpipe-l1-1-0.dll',
'<(PRODUCT_DIR)/api-ms-win-core-processenvironment-l1-1-0.dll',
'<(PRODUCT_DIR)/api-ms-win-core-processthreads-l1-1-0.dll',
'<(PRODUCT_DIR)/api-ms-win-core-processthreads-l1-1-1.dll',
'<(PRODUCT_DIR)/api-ms-win-core-profile-l1-1-0.dll',
'<(PRODUCT_DIR)/api-ms-win-core-rtlsupport-l1-1-0.dll',
'<(PRODUCT_DIR)/api-ms-win-core-string-l1-1-0.dll',
'<(PRODUCT_DIR)/api-ms-win-core-synch-l1-1-0.dll',
'<(PRODUCT_DIR)/api-ms-win-core-synch-l1-2-0.dll',
'<(PRODUCT_DIR)/api-ms-win-core-sysinfo-l1-1-0.dll',
'<(PRODUCT_DIR)/api-ms-win-core-timezone-l1-1-0.dll',
'<(PRODUCT_DIR)/api-ms-win-core-util-l1-1-0.dll',
'<(PRODUCT_DIR)/api-ms-win-crt-conio-l1-1-0.dll',
'<(PRODUCT_DIR)/api-ms-win-crt-convert-l1-1-0.dll',
'<(PRODUCT_DIR)/api-ms-win-crt-environment-l1-1-0.dll',
'<(PRODUCT_DIR)/api-ms-win-crt-filesystem-l1-1-0.dll',
'<(PRODUCT_DIR)/api-ms-win-crt-heap-l1-1-0.dll',
'<(PRODUCT_DIR)/api-ms-win-crt-locale-l1-1-0.dll',
'<(PRODUCT_DIR)/api-ms-win-crt-math-l1-1-0.dll',
'<(PRODUCT_DIR)/api-ms-win-crt-multibyte-l1-1-0.dll',
'<(PRODUCT_DIR)/api-ms-win-crt-private-l1-1-0.dll',
'<(PRODUCT_DIR)/api-ms-win-crt-process-l1-1-0.dll',
'<(PRODUCT_DIR)/api-ms-win-crt-runtime-l1-1-0.dll',
'<(PRODUCT_DIR)/api-ms-win-crt-stdio-l1-1-0.dll',
'<(PRODUCT_DIR)/api-ms-win-crt-string-l1-1-0.dll',
'<(PRODUCT_DIR)/api-ms-win-crt-time-l1-1-0.dll',
'<(PRODUCT_DIR)/api-ms-win-crt-utility-l1-1-0.dll',
], ],
}, },
}], }],
......
...@@ -27,7 +27,6 @@ def main(): ...@@ -27,7 +27,6 @@ def main():
print 'Switching to pinned msvs toolchain.' print 'Switching to pinned msvs toolchain.'
print 'Clobbering to hopefully resolve problem with mksnapshot' print 'Clobbering to hopefully resolve problem with mksnapshot'
print 'Clobber after ICU roll.' print 'Clobber after ICU roll.'
print 'Switching to MSVS 2015.'
return 0 return 0
......
...@@ -87,7 +87,7 @@ ...@@ -87,7 +87,7 @@
'conditions': [ 'conditions': [
['OS=="win"', { ['OS=="win"', {
'action': [ 'action': [
'--config-variable', 'msvs_version=<(MSVS_VERSION)', '--config-variable', 'msvs_version=2013',
], ],
}, { }, {
'action': [ 'action': [
......
...@@ -796,11 +796,6 @@ ...@@ -796,11 +796,6 @@
'_HAS_EXCEPTIONS=0', '_HAS_EXCEPTIONS=0',
], ],
}], }],
['component=="shared_library"', {
'msvs_disabled_warnings': [
4251, # class 'std::xx' needs to have dll-interface.
],
}],
], ],
'msvs_cygwin_dirs': ['<(DEPTH)/third_party/cygwin'], 'msvs_cygwin_dirs': ['<(DEPTH)/third_party/cygwin'],
'msvs_disabled_warnings': [ 'msvs_disabled_warnings': [
......
...@@ -24,8 +24,8 @@ json_data_file = os.path.join(script_dir, 'win_toolchain.json') ...@@ -24,8 +24,8 @@ json_data_file = os.path.join(script_dir, 'win_toolchain.json')
import gyp import gyp
# Use MSVS2015 as the default toolchain. # Use MSVS2013 as the default toolchain.
CURRENT_DEFAULT_TOOLCHAIN_VERSION = '2015' CURRENT_DEFAULT_TOOLCHAIN_VERSION = '2013'
def SetEnvironmentAndGetRuntimeDllDirs(): def SetEnvironmentAndGetRuntimeDllDirs():
......
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