Commit df3b7ba6 authored by erikchen's avatar erikchen Committed by Commit bot

mac: Only use the flag -gline-tables-only for release builds.

Previously, the flag was being used for both debug and release builds.

BUG=480622

Review URL: https://codereview.chromium.org/1108933002

Cr-Commit-Position: refs/heads/master@{#327193}
parent acb0e1da
......@@ -5127,6 +5127,22 @@
}],
],
},
'configurations': {
'Release_Base': {
'conditions': [
['branding=="Chrome" and buildtype=="Official"', {
'xcode_settings': {
'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
]
},
}],
],
}, # configuration "Release"
}, # configurations
'xcode_settings': {
'GCC_DYNAMIC_NO_PIC': 'NO', # No -mdynamic-no-pic
# (Equivalent to -fPIC)
......@@ -5144,16 +5160,6 @@
# 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"', {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment