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

Unified Diff: build/common.gypi

Issue 7004005: Reland r84802 with a fix - Disable ICF for Valgrind/ThreadSanitizer Release builds (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 7 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/common.gypi
===================================================================
--- build/common.gypi (revision 84822)
+++ build/common.gypi (working copy)
@@ -1085,6 +1085,10 @@
# The following flag is to disable --gc-sections linker
# option for these bots.
'no_gc_sections%': 0,
+
+ # TODO(bradnelson): reexamine how this is done if we change the
+ # expansion of configurations
+ 'release_valgrind_build%': 0,
},
'cflags': [
'-O>(release_optimize)',
@@ -1122,7 +1126,7 @@
# At gyp time, we test the linker for ICF support; this flag
# is then provided to us by gyp. (Currently only gold supports
# an --icf flag.)
- ['LINKER_SUPPORTS_ICF==1', {
+ ['LINKER_SUPPORTS_ICF==1 and release_valgrind_build==0', {
'ldflags': [
'-Wl,--icf=safe',
]
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698