summaryrefslogtreecommitdiffstats
path: root/build/common.gypi
diff options
context:
space:
mode:
authorthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-05 21:46:51 +0000
committerthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-05 21:46:51 +0000
commit43c1fd1144d1e371e65470c907c05a3e66448a7b (patch)
tree9c832e1401fb5c60f03423d8ad0ef97750041a97 /build/common.gypi
parent0614085da0f3094475cabdb785e4729d2853ddcb (diff)
downloadchromium_src-43c1fd1144d1e371e65470c907c05a3e66448a7b.zip
chromium_src-43c1fd1144d1e371e65470c907c05a3e66448a7b.tar.gz
chromium_src-43c1fd1144d1e371e65470c907c05a3e66448a7b.tar.bz2
mac: Use stabs instead of dwarf when fastbuild=1
libbase_i18n.a goes from 1MB to 300kB with this. I could imagine that this CL makes the trybot compile time quite a bit faster. BUG=none TEST=none TBR=mark Review URL: http://codereview.chromium.org/7737027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99673 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build/common.gypi')
-rw-r--r--build/common.gypi8
1 files changed, 8 insertions, 0 deletions
diff --git a/build/common.gypi b/build/common.gypi
index 007b908..14e78d1 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -857,6 +857,14 @@
'debug_extra_cflags': '-g0',
},
}],
+ ['OS=="mac"', {
+ 'xcode_settings': {
+ # Goma needs to ship all symbol information over the wire.
+ # <(debug_extra_cflags) will still generate -g1 STABS information,
+ # which is smaller than -gdwarf-2 information.
+ 'GCC_GENERATE_DEBUGGING_SYMBOLS': 'NO',
+ },
+ }],
], # conditions for fastbuild.
}], # fastbuild!=0
['selinux==1', {