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

Side by Side 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 unified diff | Download patch
OLDNEW
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//build/config/allocator.gni") 5 import("//build/config/allocator.gni")
6 6
7 # Only executables and not libraries should depend on the allocator target; 7 # Only executables and not libraries should depend on the allocator target;
8 # only the application (the final executable) knows what allocator makes sense. 8 # only the application (the final executable) knows what allocator makes sense.
9 # This "allocator" meta-target will forward to the default allocator according 9 # This "allocator" meta-target will forward to the default allocator according
10 # to the build settings. 10 # to the build settings.
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 "$tcmalloc_dir/src/base/thread_lister.h", 85 "$tcmalloc_dir/src/base/thread_lister.h",
86 "$tcmalloc_dir/src/base/vdso_support.cc", 86 "$tcmalloc_dir/src/base/vdso_support.cc",
87 "$tcmalloc_dir/src/base/vdso_support.h", 87 "$tcmalloc_dir/src/base/vdso_support.h",
88 "$tcmalloc_dir/src/central_freelist.cc", 88 "$tcmalloc_dir/src/central_freelist.cc",
89 "$tcmalloc_dir/src/central_freelist.h", 89 "$tcmalloc_dir/src/central_freelist.h",
90 "$tcmalloc_dir/src/common.cc", 90 "$tcmalloc_dir/src/common.cc",
91 "$tcmalloc_dir/src/common.h", 91 "$tcmalloc_dir/src/common.h",
92 92
93 # #included by debugallocation_shim.cc 93 # #included by debugallocation_shim.cc
94 #"$tcmalloc_dir/src/debugallocation.cc", 94 #"$tcmalloc_dir/src/debugallocation.cc",
95 "$tcmalloc_dir/src/call_stack_table.cc",
96 "$tcmalloc_dir/src/call_stack_table.h",
95 "$tcmalloc_dir/src/deep-heap-profile.cc", 97 "$tcmalloc_dir/src/deep-heap-profile.cc",
96 "$tcmalloc_dir/src/deep-heap-profile.h", 98 "$tcmalloc_dir/src/deep-heap-profile.h",
99 "$tcmalloc_dir/src/farmhash.cc",
100 "$tcmalloc_dir/src/farmhash.h",
97 "$tcmalloc_dir/src/free_list.cc", 101 "$tcmalloc_dir/src/free_list.cc",
98 "$tcmalloc_dir/src/free_list.h", 102 "$tcmalloc_dir/src/free_list.h",
99 "$tcmalloc_dir/src/heap-profile-table.cc", 103 "$tcmalloc_dir/src/heap-profile-table.cc",
100 "$tcmalloc_dir/src/heap-profile-table.h", 104 "$tcmalloc_dir/src/heap-profile-table.h",
101 "$tcmalloc_dir/src/heap-profiler.cc", 105 "$tcmalloc_dir/src/heap-profiler.cc",
102 "$tcmalloc_dir/src/internal_logging.cc", 106 "$tcmalloc_dir/src/internal_logging.cc",
103 "$tcmalloc_dir/src/internal_logging.h", 107 "$tcmalloc_dir/src/internal_logging.h",
108 "$tcmalloc_dir/src/leak_detector.cc",
109 "$tcmalloc_dir/src/leak_detector_impl.cc",
110 "$tcmalloc_dir/src/leak_detector_impl.h",
104 "$tcmalloc_dir/src/linked_list.h", 111 "$tcmalloc_dir/src/linked_list.h",
105 "$tcmalloc_dir/src/malloc_extension.cc", 112 "$tcmalloc_dir/src/malloc_extension.cc",
106 "$tcmalloc_dir/src/malloc_hook-inl.h", 113 "$tcmalloc_dir/src/malloc_hook-inl.h",
107 "$tcmalloc_dir/src/malloc_hook.cc", 114 "$tcmalloc_dir/src/malloc_hook.cc",
108 "$tcmalloc_dir/src/maybe_threads.cc", 115 "$tcmalloc_dir/src/maybe_threads.cc",
109 "$tcmalloc_dir/src/maybe_threads.h", 116 "$tcmalloc_dir/src/maybe_threads.h",
110 "$tcmalloc_dir/src/memory_region_map.cc", 117 "$tcmalloc_dir/src/memory_region_map.cc",
111 "$tcmalloc_dir/src/memory_region_map.h", 118 "$tcmalloc_dir/src/memory_region_map.h",
112 "$tcmalloc_dir/src/page_heap.cc", 119 "$tcmalloc_dir/src/page_heap.cc",
113 "$tcmalloc_dir/src/page_heap.h", 120 "$tcmalloc_dir/src/page_heap.h",
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
250 visibility = [ "//base/*" ] 257 visibility = [ "//base/*" ]
251 sources = [ 258 sources = [
252 "allocator_extension_thunks.cc", 259 "allocator_extension_thunks.cc",
253 "allocator_extension_thunks.h", 260 "allocator_extension_thunks.h",
254 ] 261 ]
255 if (is_android && !is_debug) { 262 if (is_android && !is_debug) {
256 configs -= [ "//build/config/compiler:optimize" ] 263 configs -= [ "//build/config/compiler:optimize" ]
257 configs += [ "//build/config/compiler:optimize_max" ] 264 configs += [ "//build/config/compiler:optimize_max" ]
258 } 265 }
259 } 266 }
OLDNEW
« 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