Index: build/common.gypi |
diff --git a/build/common.gypi b/build/common.gypi |
index cdc02e002f88fc0fa70588ebcf452262e20bef4d..4321532ed26190ddb65c01398fefcd6737592953 100644 |
--- a/build/common.gypi |
+++ b/build/common.gypi |
@@ -900,8 +900,8 @@ |
['fastbuild!=0', { |
'conditions': [ |
- # For Windows, we don't genererate debug information. |
- ['OS=="win"', { |
+ # For Windows and Mac, we don't genererate debug information. |
+ ['OS=="win" or OS=="mac"', { |
'msvs_settings': { |
'VCLinkerTool': { |
'GenerateDebugInformation': 'false', |
@@ -909,7 +909,10 @@ |
'VCCLCompilerTool': { |
'DebugInformationFormat': '0', |
} |
- } |
+ }, |
+ 'xcode_settings': { |
+ 'GCC_GENERATE_DEBUGGING_SYMBOLS': 'NO', |
+ }, |
}, { # else: OS != "win", generate less debug information. |
'variables': { |
'debug_extra_cflags': '-g1', |