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, |