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

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: Rebase onto master. 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 72eb96d94c07528ee98e90e0bdf56958f8bef7b5..78248ddcfda68861e3e84b7d0ba7252f360f8bab 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -1301,12 +1301,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)',
@@ -3084,6 +3087,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', {
ostap 2014/03/18 16:00:06 I have gold 1.11, binutils 2.23.2 and gcc 4.7.3 on
+ 'cflags': ['-gsplit-dwarf'],
+ 'ldflags': ['-Wl,--gdb-index'],
+ }],
],
},
'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