summaryrefslogtreecommitdiff
path: root/common.gypi
diff options
context:
space:
mode:
authorepoger@google.com <epoger@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-07-22 14:41:26 +0000
committerepoger@google.com <epoger@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-07-22 14:41:26 +0000
commitf5de5914df53f773c67fd962d1765bd1c7afb1f4 (patch)
tree54e872c7ac22c720bf43775f76dc0f2aedad04f4 /common.gypi
parent01c4429b609cf075c8f346504401dc68d1c841ac (diff)
downloadgyp-f5de5914df53f773c67fd962d1765bd1c7afb1f4.tar.gz
Add debug symbols to Windows static libraries
As requested in http://code.google.com/p/skia/issues/detail?id=320 Review URL: http://codereview.appspot.com/4805050 git-svn-id: http://skia.googlecode.com/svn/trunk/gyp@1940 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'common.gypi')
-rw-r--r--common.gypi10
1 files changed, 6 insertions, 4 deletions
diff --git a/common.gypi b/common.gypi
index 6991908..1c925ba 100644
--- a/common.gypi
+++ b/common.gypi
@@ -92,9 +92,10 @@
'Debug': {
'msvs_settings': {
'VCCLCompilerTool': {
- 'Optimization': '0', # 0 = /Od
+ 'DebugInformationFormat': '1', # debugOldStyleInfo (/Z7)
+ 'Optimization': '0', # optimizeDisabled (/Od)
'PreprocessorDefinitions': ['_DEBUG'],
- 'RuntimeLibrary': '3', # 3 = /MDd (debug DLL)
+ 'RuntimeLibrary': '3', # rtMultiThreadedDebugDLL (/MDd)
},
'VCLinkerTool': {
'GenerateDebugInformation': 'true',
@@ -104,9 +105,10 @@
'Release': {
'msvs_settings': {
'VCCLCompilerTool': {
- 'Optimization': '2', # 2 = /Os
+ 'DebugInformationFormat': '0', # debugDisabled
+ 'Optimization': '2', # optimizeMaxSpeed (/O2)
'PreprocessorDefinitions': ['NDEBUG'],
- 'RuntimeLibrary': '2', # 2 = /MD (nondebug DLL)
+ 'RuntimeLibrary': '2', # rtMultiThreadedDLL (/MD)
},
'VCLinkerTool': {
'GenerateDebugInformation': 'false',