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

Unified Diff: build/common.gypi

Issue 36873002: Pass '-g -O1 -fno-inline -fno-inline-functions' when building with tsan=1 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 2 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 230369)
+++ build/common.gypi (working copy)
@@ -3285,6 +3285,23 @@
}],
],
}],
+ # TODO(glider): this is a temporary workaround for
+ # http://crbug.com/310479.
+ ['tsan==1', {
+ 'target_conditions': [
+ ['_toolset=="target"', {
+ 'cflags!': [
+ '-gline-tables-only',
+ ],
+ 'cflags': [
+ '-g',
+ '-O1',
+ '-fno-inline-functions',
+ ' -fno-inline',
+ ],
+ }],
+ ],
+ }],
['asan==1', {
'target_conditions': [
['_toolset=="target"', {
« 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