Change default Windows compiler to MSVS 2015 (VS version 14.0)
BUG=
R=zra@google.com
Review URL: https://codereview.chromium.org/2217393002 .
diff --git a/tools/utils.py b/tools/utils.py
index 0611bdd..51a3a03 100644
--- a/tools/utils.py
+++ b/tools/utils.py
@@ -103,7 +103,7 @@
# 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 @@
# 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: