Chromium Code Reviews| 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' |
|
Jennifer Messerly
2012/10/16 22:07:00
IIRC, there's an environment variable for Program
ricow1
2012/10/18 06:22:04
John is right, for easy retrieval of this take a l
|
| + '\\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', |