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

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

Issue 10383282: Fixing mistake in the mapping of manifest settings from vcbuild to msbuild. (Closed) Base URL: http://gyp.googlecode.com/svn/trunk/
Patch Set: Created 8 years, 7 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | pylib/gyp/MSVSSettings_test.py » ('j') | 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) 2011 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 The Chromium Authors. 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 """Code to validate and convert settings of the Microsoft build tools. 5 """Code to validate and convert settings of the Microsoft build tools.
6 6
7 This file contains code to validate and convert settings of the Microsoft 7 This file contains code to validate and convert settings of the Microsoft
8 build tools. The function ConvertToMSBuildSettings(), ValidateMSVSSettings(), 8 build tools. The function ConvertToMSBuildSettings(), ValidateMSVSSettings(),
9 and ValidateMSBuildSettings() are the entry points. 9 and ValidateMSBuildSettings() are the entry points.
10 10
11 This file was created by comparing the projects created by Visual Studio 2008 11 This file was created by comparing the projects created by Visual Studio 2008
(...skipping 462 matching lines...) Expand 10 before | Expand all | Expand 10 after
474 else: 474 else:
475 print >> stderr, ('Warning: unrecognized tool %s' % tool_name) 475 print >> stderr, ('Warning: unrecognized tool %s' % tool_name)
476 476
477 477
478 # MSVS and MBuild names of the tools. 478 # MSVS and MBuild names of the tools.
479 _compile = _Tool('VCCLCompilerTool', 'ClCompile') 479 _compile = _Tool('VCCLCompilerTool', 'ClCompile')
480 _link = _Tool('VCLinkerTool', 'Link') 480 _link = _Tool('VCLinkerTool', 'Link')
481 _midl = _Tool('VCMIDLTool', 'Midl') 481 _midl = _Tool('VCMIDLTool', 'Midl')
482 _rc = _Tool('VCResourceCompilerTool', 'ResourceCompile') 482 _rc = _Tool('VCResourceCompilerTool', 'ResourceCompile')
483 _lib = _Tool('VCLibrarianTool', 'Lib') 483 _lib = _Tool('VCLibrarianTool', 'Lib')
484 _manifest = _Tool('VCManifestTool', 'Mt') 484 _manifest = _Tool('VCManifestTool', 'Manifest')
485 485
486 486
487 _AddTool(_compile) 487 _AddTool(_compile)
488 _AddTool(_link) 488 _AddTool(_link)
489 _AddTool(_midl) 489 _AddTool(_midl)
490 _AddTool(_rc) 490 _AddTool(_rc)
491 _AddTool(_lib) 491 _AddTool(_lib)
492 _AddTool(_manifest) 492 _AddTool(_manifest)
493 # Add sections only found in the MSBuild settings. 493 # Add sections only found in the MSBuild settings.
494 _msbuild_validators[''] = {} 494 _msbuild_validators[''] = {}
(...skipping 528 matching lines...) Expand 10 before | Expand all | Expand 10 after
1023 _MSVSOnly(_manifest, 'UseUnicodeResponseFiles', _boolean) 1023 _MSVSOnly(_manifest, 'UseUnicodeResponseFiles', _boolean)
1024 1024
1025 # MSBuild options not found in MSVS. 1025 # MSBuild options not found in MSVS.
1026 _MSBuildOnly(_manifest, 'EnableDPIAwareness', _boolean) 1026 _MSBuildOnly(_manifest, 'EnableDPIAwareness', _boolean)
1027 _MSBuildOnly(_manifest, 'GenerateCategoryTags', _boolean) # /category 1027 _MSBuildOnly(_manifest, 'GenerateCategoryTags', _boolean) # /category
1028 _MSBuildOnly(_manifest, 'ManifestFromManagedAssembly', 1028 _MSBuildOnly(_manifest, 'ManifestFromManagedAssembly',
1029 _file_name) # /managedassemblyname 1029 _file_name) # /managedassemblyname
1030 _MSBuildOnly(_manifest, 'OutputResourceManifests', _string) # /outputresource 1030 _MSBuildOnly(_manifest, 'OutputResourceManifests', _string) # /outputresource
1031 _MSBuildOnly(_manifest, 'SuppressDependencyElement', _boolean) # /nodependency 1031 _MSBuildOnly(_manifest, 'SuppressDependencyElement', _boolean) # /nodependency
1032 _MSBuildOnly(_manifest, 'TrackerLogDirectory', _folder_name) 1032 _MSBuildOnly(_manifest, 'TrackerLogDirectory', _folder_name)
OLDNEW
« no previous file with comments | « no previous file | pylib/gyp/MSVSSettings_test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698