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

Unified Diff: build/common.gypi

Issue 390015: linux: TCMalloc-based C++ heap profiler. (Closed)
Patch Set: Created 11 years, 1 month 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 | « base/base.gyp ('k') | webkit/extensions/v8/heap_profiler_extension.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/common.gypi
diff --git a/build/common.gypi b/build/common.gypi
index a77a13c0196aa8a1d4b17541731a84bac6e10849..1cc8cca1d1fbf928ff194e1e0feeb683366b471c 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -176,6 +176,9 @@
# Strip the binary after dumping symbols.
'linux_strip_binary%': 0,
+ # Enable TCMalloc.
+ 'linux_use_tcmalloc%': 0,
+
# Set to select the Title Case versions of strings in GRD files.
'use_titlecase_in_grd_files%': 0,
@@ -709,6 +712,9 @@
}]
],
}],
+ ['linux_use_tcmalloc==1', {
+ 'defines': ['LINUX_USE_TCMALLOC'],
+ }],
],
},
}],
« no previous file with comments | « base/base.gyp ('k') | webkit/extensions/v8/heap_profiler_extension.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698