diff options
author | mark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-13 12:53:16 +0000 |
---|---|---|
committer | mark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-13 12:53:16 +0000 |
commit | 1bba09cc68b4f5335ecd335a4e52b74f221ef583 (patch) | |
tree | d3d7cbe9c9cfada1a901023b4c50245f559e5fe4 /breakpad | |
parent | f3964daf023b2d10df1111248de367a0647d6392 (diff) | |
download | chromium_src-1bba09cc68b4f5335ecd335a4e52b74f221ef583.zip chromium_src-1bba09cc68b4f5335ecd335a4e52b74f221ef583.tar.gz chromium_src-1bba09cc68b4f5335ecd335a4e52b74f221ef583.tar.bz2 |
Disable RTTI and C++ exceptions in the Mac build. Disable RTTI in the Linux
build, where C++ exceptions are already disabled.
BUG=19094 12248
TEST=Mac release-mode Google Chrome.app should shrink by about 6MB.
Mac disk image should shrink by about 1.5MB.
Linux binary and package should shrink too.
Review URL: http://codereview.chromium.org/165330
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23304 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'breakpad')
-rw-r--r-- | breakpad/breakpad.gyp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/breakpad/breakpad.gyp b/breakpad/breakpad.gyp index 7fac254..334bcd1 100644 --- a/breakpad/breakpad.gyp +++ b/breakpad/breakpad.gyp @@ -144,6 +144,11 @@ 'src/client/mac/Framework/Breakpad.mm', 'src/client/mac/Framework/OnDemandServer.mm', ], + 'xcode_settings': { + # The Mac Breakpad framework uses C++ exceptions internally, but + # is careful to not propagate them to callers. + 'GCC_ENABLE_CPP_EXCEPTIONS': 'YES', + }, }, ], }], |