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

Unified Diff: base/allocator/BUILD.gn

Issue 986503002: components/metrics: Add runtime memory leak detector (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix error in leak analyzer logic Created 5 years, 6 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 | base/allocator/allocator.gyp » ('j') | third_party/tcmalloc/chromium/src/call_stack_table.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/allocator/BUILD.gn
diff --git a/base/allocator/BUILD.gn b/base/allocator/BUILD.gn
index a07a356e5d85a204d5f4bd3e3850f50b0e3ff43c..6dc32f79ee686106e15c18987080edfb6eab224b 100644
--- a/base/allocator/BUILD.gn
+++ b/base/allocator/BUILD.gn
@@ -92,8 +92,12 @@ if (use_allocator == "tcmalloc") {
# #included by debugallocation_shim.cc
#"$tcmalloc_dir/src/debugallocation.cc",
+ "$tcmalloc_dir/src/call_stack_table.cc",
+ "$tcmalloc_dir/src/call_stack_table.h",
"$tcmalloc_dir/src/deep-heap-profile.cc",
"$tcmalloc_dir/src/deep-heap-profile.h",
+ "$tcmalloc_dir/src/farmhash.cc",
+ "$tcmalloc_dir/src/farmhash.h",
"$tcmalloc_dir/src/free_list.cc",
"$tcmalloc_dir/src/free_list.h",
"$tcmalloc_dir/src/heap-profile-table.cc",
@@ -101,6 +105,9 @@ if (use_allocator == "tcmalloc") {
"$tcmalloc_dir/src/heap-profiler.cc",
"$tcmalloc_dir/src/internal_logging.cc",
"$tcmalloc_dir/src/internal_logging.h",
+ "$tcmalloc_dir/src/leak_detector.cc",
+ "$tcmalloc_dir/src/leak_detector_impl.cc",
+ "$tcmalloc_dir/src/leak_detector_impl.h",
"$tcmalloc_dir/src/linked_list.h",
"$tcmalloc_dir/src/malloc_extension.cc",
"$tcmalloc_dir/src/malloc_hook-inl.h",
« no previous file with comments | « no previous file | base/allocator/allocator.gyp » ('j') | third_party/tcmalloc/chromium/src/call_stack_table.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698