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

Unified Diff: tools/gyp/configurations_make.gypi

Issue 2316813002: Use tcmalloc on Linux (Closed)
Patch Set: Don't use tcmalloc in an ASAN build Created 4 years, 3 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 | « tools/gyp/configurations.gypi ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gyp/configurations_make.gypi
diff --git a/tools/gyp/configurations_make.gypi b/tools/gyp/configurations_make.gypi
index 8b61127b3d05317db42546b680a0a3a07ad51413..b514713722eb8ea9d53ccf80f5e60baaad3324e1 100644
--- a/tools/gyp/configurations_make.gypi
+++ b/tools/gyp/configurations_make.gypi
@@ -299,6 +299,40 @@
}]]
},
+ # These flags are needed for tcmalloc to be able to collect stack traces
+ # for heap profiling on mips.
+ 'Dart_Linux_xmips_Debug': {
+ 'abstract': 1,
+ 'target_conditions': [
+ ['_toolset=="target"', {
+ 'cflags!': [
+ '-fno-exceptions',
+ ],
+ 'cflags': [
+ '-fexceptions',
+ '-funwind-tables',
+ ],
+ }],
+ ],
+ },
+
+ # These flags are needed for tcmalloc to be able to collect stack traces
+ # for heap profiling on mips.
+ 'Dart_Linux_xmips_Release': {
+ 'abstract': 1,
+ 'target_conditions': [
+ ['_toolset=="target"', {
+ 'cflags!': [
+ '-fno-exceptions',
+ ],
+ 'cflags': [
+ '-fexceptions',
+ '-funwind-tables',
+ ],
+ }],
+ ],
+ },
+
# MIPS native build
'Dart_Linux_mips_Base': {
'abstract': 1,
« no previous file with comments | « tools/gyp/configurations.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698