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

Unified Diff: runtime/vm/vm.gypi

Issue 2619443002: Created placeholders for MallocHooks implementation and added define DART_USE_TCMALLOC to specifiy … (Closed)
Patch Set: Removed extra dependencies and corrected some code style issues. Created 3 years, 11 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 | « runtime/vm/malloc_hooks_unsupported.cc ('k') | runtime/vm/vm_sources.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/vm.gypi
diff --git a/runtime/vm/vm.gypi b/runtime/vm/vm.gypi
index a8c0e74ac4b04cbf916dea3ac8929de966de5729..1371285b1ee28c42814071b01ae2f5b962f82f22 100644
--- a/runtime/vm/vm.gypi
+++ b/runtime/vm/vm.gypi
@@ -61,6 +61,13 @@
],
},
}],
+ # The following condition should be kept in sync with the corresponding
+ # configurations in runtime/bin/bin.gypi.
+ ['OS == "linux" and asan == 0 and msan == 0 and tsan == 0', {
+ 'defines': [
+ 'DART_USE_TCMALLOC'
+ ],
+ }],
['OS=="android" and _toolset=="host"', {
'link_settings': {
'libraries': [
@@ -105,6 +112,13 @@
],
},
}],
+ # The following condition should be kept in sync with the corresponding
+ # configurations in runtime/bin/bin.gypi.
+ ['OS == "linux" and asan == 0 and msan == 0 and tsan == 0', {
+ 'defines': [
+ 'DART_USE_TCMALLOC'
+ ],
+ }],
['OS=="android" and _toolset=="host"', {
'link_settings': {
'libraries': [
@@ -149,6 +163,13 @@
],
},
}],
+ # The following condition should be kept in sync with the corresponding
+ # configurations in runtime/bin/bin.gypi.
+ ['OS == "linux" and asan == 0 and msan == 0 and tsan == 0', {
+ 'defines': [
+ 'DART_USE_TCMALLOC'
+ ],
+ }],
['OS=="android" and _toolset=="host"', {
'link_settings': {
'libraries': [
@@ -194,6 +215,13 @@
],
},
}],
+ # The following condition should be kept in sync with the corresponding
+ # configurations in runtime/bin/bin.gypi.
+ ['OS == "linux" and asan == 0 and msan == 0 and tsan == 0', {
+ 'defines': [
+ 'DART_USE_TCMALLOC'
+ ],
+ }],
['OS=="android" and _toolset=="host"', {
'link_settings': {
'libraries': [
« no previous file with comments | « runtime/vm/malloc_hooks_unsupported.cc ('k') | runtime/vm/vm_sources.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698