Index: build/common.gypi |
=================================================================== |
--- build/common.gypi (revision 21565) |
+++ build/common.gypi (working copy) |
@@ -229,6 +229,50 @@ |
}], |
], |
}, |
+ 'conditions': [ |
+ [ 'OS=="win"', { |
+ # TODO(bradnelson): add a gyp mechanism to make this more graceful. |
+ 'Purify': { |
+ 'defines': [ |
+ 'NDEBUG', |
+ 'PURIFY', |
+ ], |
+ 'msvs_settings': { |
+ 'VCCLCompilerTool': { |
+ 'Optimization': '0', |
+ 'RuntimeLibrary': '0', |
+ 'BufferSecurityCheck': 'false', |
+ }, |
+ 'VCLinkerTool': { |
+ 'EnableCOMDATFolding': '1', |
+ 'LinkIncremental': '1', |
+ }, |
+ }, |
+ 'conditions': [ |
+ [ 'msvs_use_common_release', { |
+ 'configuration_platform': 'Win32', |
+ 'msvs_props': ['release.vsprops'], |
+ }], |
+ ], |
+ }, |
+ 'Release - no tcmalloc': { |
+ 'defines': [ |
Erik does not do reviews
2009/07/25 00:54:52
Let's add a define here that says NO_TCMALLOC. Th
|
+ 'NDEBUG', |
+ ], |
+ 'conditions': [ |
+ [ 'msvs_use_common_release', { |
+ 'configuration_platform': 'Win32', |
+ 'msvs_props': ['release.vsprops'], |
+ }], |
+ ], |
+ 'msvs_settings': { |
+ 'VCLinkerTool': { |
+ 'LinkIncremental': '1', |
+ }, |
+ }, |
+ }, |
+ }], |
+ ], |
}, |
}, |
'conditions': [ |