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

Unified Diff: build/common.gypi

Issue 115664: Explicitly enable /INCREMENTAL linking for gyp-generated Debug builds,... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/chrome.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/common.gypi
===================================================================
--- build/common.gypi (revision 16681)
+++ build/common.gypi (working copy)
@@ -97,6 +97,11 @@
],
'default_configuration': 'Debug',
'configurations': {
+ # VCLinkerTool LinkIncremental values below:
+ # 0 == default
+ # 1 == /INCREMENTAL:NO
+ # 2 == /INCREMENTAL
+ # Debug links incremental, Release does not.
'Debug': {
'conditions': [
[ 'OS=="mac"', {
@@ -120,7 +125,7 @@
'RuntimeLibrary': '1',
},
'VCLinkerTool': {
- 'LinkIncremental': '1',
+ 'LinkIncremental': '2',
},
'VCResourceCompilerTool': {
'PreprocessorDefinitions': ['_DEBUG'],
@@ -143,6 +148,13 @@
'configuration_platform': 'Win32',
'msvs_props': ['release.vsprops'],
}],
+ [ 'OS=="win"', {
+ 'msvs_settings': {
+ 'VCLinkerTool': {
+ 'LinkIncremental': '1',
+ },
+ },
+ }],
],
},
},
@@ -442,6 +454,13 @@
'ImportLibrary': '$(OutDir)\\lib\\$(TargetName).lib',
'TargetMachine': '1',
'FixedBaseAddress': '1',
+ # SubSystem values:
+ # 0 == not set
+ # 1 == /SUBSYSTEM:CONSOLE
+ # 2 == /SUBSYSTEM:WINDOWS
+ # Most of the executables we'll ever create are tests
+ # and utilities with console output.
+ 'SubSystem': '1',
},
'VCMIDLTool': {
'GenerateStublessProxies': 'true',
« no previous file with comments | « no previous file | chrome/chrome.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698