diff options
author | erikchen <erikchen@chromium.org> | 2015-04-22 21:07:40 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-04-23 04:07:55 +0000 |
commit | c4fc98d94448349b8fcf3d0627a166c74caf7053 (patch) | |
tree | b52d243ebb64ec2d3802466d60982f4f9ca15d4c /build | |
parent | 0d8322372fb8b84df08c6a1bace5c2459e96abb5 (diff) | |
download | chromium_src-c4fc98d94448349b8fcf3d0627a166c74caf7053.zip chromium_src-c4fc98d94448349b8fcf3d0627a166c74caf7053.tar.gz chromium_src-c4fc98d94448349b8fcf3d0627a166c74caf7053.tar.bz2 |
mac: Add the flag "-gline-tables-only" to reduce dSYM size.
The dSYM for Google Chrome Framework has grown to be larger than 4GB. dsymutil
can't handle this. Reduce the amount of debug info output for official builds
of Google Chrome. On my local machine, the dSYM is 10x smaller.
BUG=479841
Review URL: https://codereview.chromium.org/1085843004
Cr-Commit-Position: refs/heads/master@{#326445}
Diffstat (limited to 'build')
-rw-r--r-- | build/common.gypi | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/build/common.gypi b/build/common.gypi index 7c3074b..e43adfd 100644 --- a/build/common.gypi +++ b/build/common.gypi @@ -5208,6 +5208,15 @@ }, { # asan != 0 'STRIPFLAGS': '-S', }], + ['branding=="Chrome" and buildtype=="Official"', { + 'OTHER_CFLAGS': [ + # The Google Chrome Framework dSYM generated by + # dsymutil has grown larger than 4GB, which + # dsymutil can't handle. Reduce the amount of debug + # symbols. + '-gline-tables-only', # See http://crbug.com/479841 + ] + }], ], }, # xcode_settings }, # configuration "Release" |