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

Unified Diff: build/common.gypi

Issue 1995004: Make RuntimeLibrary adjustable for Win/Debug build (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/common.gypi
===================================================================
--- build/common.gypi (revision 46563)
+++ build/common.gypi (working copy)
@@ -378,6 +378,11 @@
# See http://msdn.microsoft.com/en-us/library/aa652367(VS.71).aspx
'win_release_RuntimeLibrary%': '0', # 0 = /MT (nondebug static)
'win_debug_RuntimeLibrary%': '1', # 1 = /MTd (debug static)
+ # See http://msdn.microsoft.com/en-us/library/8wtf2dfz(VS.71).aspx
+ 'win_debug_RuntimeChecks%': '3', # 3 = all checks enabled, 0 = off
+ # See http://msdn.microsoft.com/en-us/library/47238hez(VS.71).aspx
+ 'win_debug_InlineFunctionExpansion%': '0', # 0 = off
+ 'win_release_InlineFunctionExpansion%': '2', # 2 = max
'release_extra_cflags%': '',
'debug_extra_cflags%': '',
@@ -619,7 +624,8 @@
'VCCLCompilerTool': {
'Optimization': '<(win_debug_Optimization)',
'PreprocessorDefinitions': ['_DEBUG'],
- 'BasicRuntimeChecks': '3',
+ 'BasicRuntimeChecks': '<(win_debug_RuntimeChecks)',
+ 'InlineFunctionExpansion': '<(win_debug_InlineFunctionExpansion)',
'RuntimeLibrary': '<(win_debug_RuntimeLibrary)',
},
'VCLinkerTool': {
@@ -650,6 +656,7 @@
'msvs_settings': {
'VCCLCompilerTool': {
'Optimization': '<(win_release_Optimization)',
+ 'InlineFunctionExpansion': '<(win_release_InlineFunctionExpansion)',
'RuntimeLibrary': '<(win_release_RuntimeLibrary)',
},
'VCLinkerTool': {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698