summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorerikchen <erikchen@chromium.org>2015-04-22 21:07:40 -0700
committerCommit bot <commit-bot@chromium.org>2015-04-23 04:07:55 +0000
commitc4fc98d94448349b8fcf3d0627a166c74caf7053 (patch)
treeb52d243ebb64ec2d3802466d60982f4f9ca15d4c /build
parent0d8322372fb8b84df08c6a1bace5c2459e96abb5 (diff)
downloadchromium_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.gypi9
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"