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

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: Remove dummy function; Exclude sources if leak_detector!=1; Add headers to sources! Created 5 years, 5 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') | build/common.gypi » ('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 c42de1a01a38900bdbf8e23029ffeb9b78441c61..12a7aa695f6868a931d4e72a8c30b82b44676095 100644
--- a/base/allocator/BUILD.gn
+++ b/base/allocator/BUILD.gn
@@ -73,6 +73,8 @@ if (use_allocator == "tcmalloc") {
"$tcmalloc_dir/src/base/atomicops.h",
"$tcmalloc_dir/src/base/basictypes.h",
"$tcmalloc_dir/src/base/commandlineflags.h",
+ "$tcmalloc_dir/src/base/custom_allocator.cc",
+ "$tcmalloc_dir/src/base/custom_allocator.h",
"$tcmalloc_dir/src/base/cycleclock.h",
# We don't list dynamic_annotations.c since its copy is already
@@ -103,8 +105,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",
@@ -112,6 +118,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') | build/common.gypi » ('J')

Powered by Google App Engine
This is Rietveld 408576698