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

Unified Diff: tools/build.py

Issue 11184008: Change Windows build default to build with VS 2010. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 2 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 | tools/gyp_dart.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/build.py
===================================================================
--- tools/build.py (revision 13701)
+++ tools/build.py (working copy)
@@ -42,7 +42,11 @@
default=str(HOST_CPUS))
result.add_option("--devenv",
help='Path containing devenv.com on Windows',
- default='C:\\Program Files (x86)\\Microsoft Visual Studio 9.0\\Common7\\IDE')
+ default='C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\Common7'
+ '\\IDE')
+ result.add_option("--executable",
+ help='Name of the devenv.com/msbuild executable on Windows (varies for '
+ 'different versions of Visual Studio)', default='devenv.com')
return result
@@ -262,13 +266,13 @@
if os.path.exists('dart-%s.gyp' % CurrentDirectoryBaseName()):
project_file = 'dart-%s.sln' % CurrentDirectoryBaseName()
if target == 'all':
- args = [options.devenv + os.sep + 'devenv.com',
+ args = [options.devenv + os.sep + options.executable,
'/build',
build_config,
project_file
]
else:
- args = [options.devenv + os.sep + 'devenv.com',
+ args = [options.devenv + os.sep + options.executable,
'/build',
build_config,
'/project',
« no previous file with comments | « no previous file | tools/gyp_dart.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698