diff options
author | erikchen <erikchen@chromium.org> | 2015-04-23 13:50:42 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-04-23 20:50:48 +0000 |
commit | 6d8a562e40f10b2a1e4c49f3f56c7578e3bb070d (patch) | |
tree | 744c710ac0aae50234e1db2e209704457dc1196b /build | |
parent | a13b9ad691c91507c417589a59de313a4f7c05ac (diff) | |
download | chromium_src-6d8a562e40f10b2a1e4c49f3f56c7578e3bb070d.zip chromium_src-6d8a562e40f10b2a1e4c49f3f56c7578e3bb070d.tar.gz chromium_src-6d8a562e40f10b2a1e4c49f3f56c7578e3bb070d.tar.bz2 |
mac: Add the flag "-gline-tables-only" to reduce dSYM size. (attempt #2)
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/1101163002
Cr-Commit-Position: refs/heads/master@{#326635}
Diffstat (limited to 'build')
-rw-r--r-- | build/common.gypi | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/build/common.gypi b/build/common.gypi index 7c3074b..694250f 100644 --- a/build/common.gypi +++ b/build/common.gypi @@ -5125,6 +5125,16 @@ # specified or not. '-fno-strict-aliasing', # See http://crbug.com/32204. ], + 'conditions': [ + ['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 + ] + }], + ], }, 'target_conditions': [ ['_type=="executable"', { |