summaryrefslogtreecommitdiffstats
path: root/breakpad/breakpad.gyp
diff options
context:
space:
mode:
authormark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-25 21:26:58 +0000
committermark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-25 21:26:58 +0000
commit16870e1dc8a5b55d1f93c01492a6bd440ade35e9 (patch)
tree82f8ca33172bbe0c60f4b6cc781f0801bf257d4a /breakpad/breakpad.gyp
parent134bc8ea037dd2152d0b61802b56ed20dda2ab26 (diff)
downloadchromium_src-16870e1dc8a5b55d1f93c01492a6bd440ade35e9.zip
chromium_src-16870e1dc8a5b55d1f93c01492a6bd440ade35e9.tar.gz
chromium_src-16870e1dc8a5b55d1f93c01492a6bd440ade35e9.tar.bz2
Build Mac Breakpad dump_syms at -O0 to avoid a crash.
Review URL: http://codereview.chromium.org/174450 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24329 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'breakpad/breakpad.gyp')
-rw-r--r--breakpad/breakpad.gyp13
1 files changed, 12 insertions, 1 deletions
diff --git a/breakpad/breakpad.gyp b/breakpad/breakpad.gyp
index 1fc1440..6312200 100644
--- a/breakpad/breakpad.gyp
+++ b/breakpad/breakpad.gyp
@@ -112,7 +112,18 @@
'libraries': [
'$(SDKROOT)/System/Library/Frameworks/Foundation.framework',
],
- }
+ },
+ 'configurations': {
+ 'Release': {
+ 'xcode_settings': {
+ # dump_syms crashes when built at -O1, -O2, and -O3. It does
+ # not crash at -Os. To play it safe, dump_syms is always built
+ # at -O0 until this can be sorted out.
+ # TODO(mark): Sort it out.
+ 'GCC_OPTIMIZATION_LEVEL': '0', # -O0
+ },
+ },
+ },
},
{
'target_name': 'symupload',