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

Side by Side Diff: build/common.gypi

Issue 6991009: 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 # IMPORTANT: 5 # IMPORTANT:
6 # Please don't directly include this file if you are building via gyp_chromium, 6 # Please don't directly include this file if you are building via gyp_chromium,
7 # since gyp_chromium is automatically forcing its inclusion. 7 # since gyp_chromium is automatically forcing its inclusion.
8 { 8 {
9 # Variables expected to be overriden on the GYP command line (-D) or by 9 # Variables expected to be overriden on the GYP command line (-D) or by
10 # ~/.gyp/include.gypi. 10 # ~/.gyp/include.gypi.
(...skipping 1104 matching lines...) Expand 10 before | Expand all | Expand 10 after
1115 }], 1115 }],
1116 ['profiling==1', { 1116 ['profiling==1', {
1117 'cflags': [ 1117 'cflags': [
1118 '-fno-omit-frame-pointer', 1118 '-fno-omit-frame-pointer',
1119 '-g', 1119 '-g',
1120 ], 1120 ],
1121 }], 1121 }],
1122 # At gyp time, we test the linker for ICF support; this flag 1122 # At gyp time, we test the linker for ICF support; this flag
1123 # is then provided to us by gyp. (Currently only gold supports 1123 # is then provided to us by gyp. (Currently only gold supports
1124 # an --icf flag.) 1124 # an --icf flag.)
1125 ['LINKER_SUPPORTS_ICF==1', { 1125 ['LINKER_SUPPORTS_ICF==1 and release_valgrind_build==0', {
1126 'ldflags': [ 1126 'ldflags': [
1127 '-Wl,--icf=safe', 1127 '-Wl,--icf=safe',
1128 ] 1128 ]
1129 }], 1129 }],
1130 ] 1130 ]
1131 }, 1131 },
1132 }, 1132 },
1133 'variants': { 1133 'variants': {
1134 'coverage': { 1134 'coverage': {
1135 'cflags': ['-fprofile-arcs', '-ftest-coverage'], 1135 'cflags': ['-fprofile-arcs', '-ftest-coverage'],
(...skipping 571 matching lines...) Expand 10 before | Expand all | Expand 10 after
1707 # and therefore SYMROOT, needs to be set at the project level. 1707 # and therefore SYMROOT, needs to be set at the project level.
1708 'SYMROOT': '<(DEPTH)/xcodebuild', 1708 'SYMROOT': '<(DEPTH)/xcodebuild',
1709 }, 1709 },
1710 } 1710 }
1711 1711
1712 # Local Variables: 1712 # Local Variables:
1713 # tab-width:2 1713 # tab-width:2
1714 # indent-tabs-mode:nil 1714 # indent-tabs-mode:nil
1715 # End: 1715 # End:
1716 # vim: set expandtab tabstop=2 shiftwidth=2: 1716 # vim: set expandtab tabstop=2 shiftwidth=2:
OLDNEW
« 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