Change default Windows compiler to MSVS 2015 (VS version 14.0)

BUG=
R=zra@google.com

Review URL: https://codereview.chromium.org/2217393002 .
This commit is contained in:
William Hesse 2016-08-06 00:12:56 +02:00
parent a83edeee95
commit e82a20b180

View file

@ -103,7 +103,7 @@ def GetWindowsRegistryKeyName(name):
# Try to guess Visual Studio location when buiding on Windows.
def GuessVisualStudioPath():
defaultPath = r"C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7" \
defaultPath = r"C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7" \
r"\IDE"
defaultExecutable = "devenv.com"
@ -148,8 +148,8 @@ def GuessVisualStudioPath():
# Can't find value under the key - continue to the next key.
continue
isExpress = executable != 'devenv.com'
if not isExpress and subkeyName == '12.0':
# Stop search since if we found non-Express VS2013 version
if not isExpress and subkeyName == '14.0':
# Stop search since if we found non-Express VS2015 version
# installed, which is preferred version.
return installDir, executable
else: