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

Side by Side Diff: pylib/gyp/MSVSVersion.py

Issue 27685004: Fix support for Visual Studio 2010 Express projects. (Closed) Base URL: http://gyp.googlecode.com/svn/trunk
Patch Set: . Created 7 years, 1 month 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « pylib/gyp/MSVSNew.py ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2013 Google Inc. All rights reserved. 1 # Copyright (c) 2013 Google Inc. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 """Handle version information related to Visual Stuio.""" 5 """Handle version information related to Visual Stuio."""
6 6
7 import errno 7 import errno
8 import os 8 import os
9 import re 9 import re
10 import subprocess 10 import subprocess
(...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after
242 default_toolset='v110'), 242 default_toolset='v110'),
243 '2010': VisualStudioVersion('2010', 243 '2010': VisualStudioVersion('2010',
244 'Visual Studio 2010', 244 'Visual Studio 2010',
245 solution_version='11.00', 245 solution_version='11.00',
246 project_version='4.0', 246 project_version='4.0',
247 flat_sln=False, 247 flat_sln=False,
248 uses_vcxproj=True, 248 uses_vcxproj=True,
249 path=path, 249 path=path,
250 sdk_based=sdk_based), 250 sdk_based=sdk_based),
251 '2010e': VisualStudioVersion('2010e', 251 '2010e': VisualStudioVersion('2010e',
252 'Visual Studio 2010', 252 'Visual C++ Express 2010',
253 solution_version='11.00', 253 solution_version='11.00',
254 project_version='4.0', 254 project_version='4.0',
255 flat_sln=True, 255 flat_sln=True,
256 uses_vcxproj=True, 256 uses_vcxproj=True,
257 path=path, 257 path=path,
258 sdk_based=sdk_based), 258 sdk_based=sdk_based),
259 '2008': VisualStudioVersion('2008', 259 '2008': VisualStudioVersion('2008',
260 'Visual Studio 2008', 260 'Visual Studio 2008',
261 solution_version='10.00', 261 solution_version='10.00',
262 project_version='9.00', 262 project_version='9.00',
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
397 return _CreateVersion(msvs_version, override_path, sdk_based=True) 397 return _CreateVersion(msvs_version, override_path, sdk_based=True)
398 version = str(version) 398 version = str(version)
399 versions = _DetectVisualStudioVersions(version_map[version], 'e' in version) 399 versions = _DetectVisualStudioVersions(version_map[version], 'e' in version)
400 if not versions: 400 if not versions:
401 if version == 'auto': 401 if version == 'auto':
402 # Default to 2005 if we couldn't find anything 402 # Default to 2005 if we couldn't find anything
403 return _CreateVersion('2005', None) 403 return _CreateVersion('2005', None)
404 else: 404 else:
405 return _CreateVersion(version, None) 405 return _CreateVersion(version, None)
406 return versions[0] 406 return versions[0]
OLDNEW
« no previous file with comments | « pylib/gyp/MSVSNew.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698