Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(60)

Unified Diff: build/common.gypi

Issue 197013010: Enable debug fission for Chrome debug builds. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Just modify compiler_version instead of seperate tool. Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | build/compiler_version.py » ('j') | build/compiler_version.py » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/common.gypi
diff --git a/build/common.gypi b/build/common.gypi
index d21c0f3b7bc9ef8a03ad7de835e265155cee8ea8..bb8f80dbcbfb2a986ef3167e9f11449197fd26e7 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -1299,12 +1299,15 @@
['OS=="android"', {
# We directly set the gcc_version since we know what we use.
'gcc_version%': 46,
+ 'binutils_version%': 222,
}, {
'gcc_version%': '<!(python <(DEPTH)/build/compiler_version.py)',
+ 'binutils_version%': '<!(python <(DEPTH)/build/compiler_version.py assembler)',
}],
],
}, {
'gcc_version%': 0,
+ 'binutils_version%': 0,
}],
['OS=="win" and "<!(python <(DEPTH)/build/dir_exists.py <(windows_sdk_default_path))"=="True"', {
'windows_sdk_path%': '<(windows_sdk_default_path)',
@@ -3083,6 +3086,12 @@
}, {
'cflags': ['-fno-unwind-tables', '-fno-asynchronous-unwind-tables'],
}],
+ # http://gcc.gnu.org/wiki/DebugFission
+ # Requires gold and gcc >= 4.7 or clang.
+ ['linux_use_gold_flags==1 and (clang==1 or gcc_version>=47) and binutils_version>=223', {
+ 'cflags': ['-gsplit-dwarf'],
+ 'ldflags': ['-Wl,--gdb-index'],
Nico 2014/03/17 09:07:38 Is there some way we can get this to pick up all t
mithro-old 2014/03/17 10:36:21 See https://codereview.chromium.org/196573022/ whi
+ }],
],
},
'Release_Base': {
« no previous file with comments | « no previous file | build/compiler_version.py » ('j') | build/compiler_version.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698