From e82a20b1801da638061c946026e3654aeccfa588 Mon Sep 17 00:00:00 2001 From: William Hesse Date: Sat, 6 Aug 2016 00:12:56 +0200 Subject: [PATCH] Change default Windows compiler to MSVS 2015 (VS version 14.0) BUG= R=zra@google.com Review URL: https://codereview.chromium.org/2217393002 . --- tools/utils.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/utils.py b/tools/utils.py index 0611bdd3e7c..51a3a036d58 100644 --- a/tools/utils.py +++ b/tools/utils.py @@ -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: