Add debug symbols to Windows static libraries
authorepoger@google.com <epoger@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Fri, 22 Jul 2011 14:41:26 +0000 (14:41 +0000)
committerepoger@google.com <epoger@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Fri, 22 Jul 2011 14:41:26 +0000 (14:41 +0000)
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@1940 2bbb7eff-a529-9590-31e7-b0007b416f81

gyp/common.gypi

index 69919089f0438d490b21b71bccd7c8b551a3e34c..1c925ba3d59238fadff38d01e8a45ef275d657f9 100644 (file)
             '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',
             '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',