Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1152)

Unified Diff: tools/utils.py

Issue 1257013004: Update build utils to prefer Visual Studio 2013. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/utils.py
diff --git a/tools/utils.py b/tools/utils.py
index cc37f6a15198e1911ae86236a2114514936ef860..2301d9bd610fdb1398bab74c981bd4a046cbd279 100644
--- a/tools/utils.py
+++ b/tools/utils.py
@@ -97,7 +97,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 10.0\Common7" \
+ defaultPath = r"C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7" \
r"\IDE"
defaultExecutable = "devenv.com"
@@ -142,8 +142,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 == '10.0':
- # Stop search since if we found non-Express VS2010 version
+ if not isExpress and subkeyName == '12.0':
+ # Stop search since if we found non-Express VS2013 version
# installed, which is preferred version.
return installDir, executable
else:
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698