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

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: 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 unified diff | Download patch
« no previous file with comments | « no previous file | base/allocator/allocator.gyp » ('j') | build/common.gypi » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 "$tcmalloc_dir/src/base/atomicops-internals-arm-generic.h", 66 "$tcmalloc_dir/src/base/atomicops-internals-arm-generic.h",
67 "$tcmalloc_dir/src/base/atomicops-internals-arm-v6plus.h", 67 "$tcmalloc_dir/src/base/atomicops-internals-arm-v6plus.h",
68 "$tcmalloc_dir/src/base/atomicops-internals-linuxppc.h", 68 "$tcmalloc_dir/src/base/atomicops-internals-linuxppc.h",
69 "$tcmalloc_dir/src/base/atomicops-internals-macosx.h", 69 "$tcmalloc_dir/src/base/atomicops-internals-macosx.h",
70 "$tcmalloc_dir/src/base/atomicops-internals-windows.h", 70 "$tcmalloc_dir/src/base/atomicops-internals-windows.h",
71 "$tcmalloc_dir/src/base/atomicops-internals-x86.cc", 71 "$tcmalloc_dir/src/base/atomicops-internals-x86.cc",
72 "$tcmalloc_dir/src/base/atomicops-internals-x86.h", 72 "$tcmalloc_dir/src/base/atomicops-internals-x86.h",
73 "$tcmalloc_dir/src/base/atomicops.h", 73 "$tcmalloc_dir/src/base/atomicops.h",
74 "$tcmalloc_dir/src/base/basictypes.h", 74 "$tcmalloc_dir/src/base/basictypes.h",
75 "$tcmalloc_dir/src/base/commandlineflags.h", 75 "$tcmalloc_dir/src/base/commandlineflags.h",
76 "$tcmalloc_dir/src/base/custom_allocator.cc",
77 "$tcmalloc_dir/src/base/custom_allocator.h",
76 "$tcmalloc_dir/src/base/cycleclock.h", 78 "$tcmalloc_dir/src/base/cycleclock.h",
77 79
78 # We don't list dynamic_annotations.c since its copy is already 80 # We don't list dynamic_annotations.c since its copy is already
79 # present in the dynamic_annotations target. 81 # present in the dynamic_annotations target.
80 "$tcmalloc_dir/src/base/elf_mem_image.cc", 82 "$tcmalloc_dir/src/base/elf_mem_image.cc",
81 "$tcmalloc_dir/src/base/elf_mem_image.h", 83 "$tcmalloc_dir/src/base/elf_mem_image.h",
82 "$tcmalloc_dir/src/base/linuxthreads.cc", 84 "$tcmalloc_dir/src/base/linuxthreads.cc",
83 "$tcmalloc_dir/src/base/linuxthreads.h", 85 "$tcmalloc_dir/src/base/linuxthreads.h",
84 "$tcmalloc_dir/src/base/logging.cc", 86 "$tcmalloc_dir/src/base/logging.cc",
85 "$tcmalloc_dir/src/base/logging.h", 87 "$tcmalloc_dir/src/base/logging.h",
(...skipping 10 matching lines...) Expand all
96 "$tcmalloc_dir/src/base/thread_lister.h", 98 "$tcmalloc_dir/src/base/thread_lister.h",
97 "$tcmalloc_dir/src/base/vdso_support.cc", 99 "$tcmalloc_dir/src/base/vdso_support.cc",
98 "$tcmalloc_dir/src/base/vdso_support.h", 100 "$tcmalloc_dir/src/base/vdso_support.h",
99 "$tcmalloc_dir/src/central_freelist.cc", 101 "$tcmalloc_dir/src/central_freelist.cc",
100 "$tcmalloc_dir/src/central_freelist.h", 102 "$tcmalloc_dir/src/central_freelist.h",
101 "$tcmalloc_dir/src/common.cc", 103 "$tcmalloc_dir/src/common.cc",
102 "$tcmalloc_dir/src/common.h", 104 "$tcmalloc_dir/src/common.h",
103 105
104 # #included by debugallocation_shim.cc 106 # #included by debugallocation_shim.cc
105 #"$tcmalloc_dir/src/debugallocation.cc", 107 #"$tcmalloc_dir/src/debugallocation.cc",
108 "$tcmalloc_dir/src/call_stack_table.cc",
109 "$tcmalloc_dir/src/call_stack_table.h",
106 "$tcmalloc_dir/src/deep-heap-profile.cc", 110 "$tcmalloc_dir/src/deep-heap-profile.cc",
107 "$tcmalloc_dir/src/deep-heap-profile.h", 111 "$tcmalloc_dir/src/deep-heap-profile.h",
112 "$tcmalloc_dir/src/farmhash.cc",
113 "$tcmalloc_dir/src/farmhash.h",
108 "$tcmalloc_dir/src/free_list.cc", 114 "$tcmalloc_dir/src/free_list.cc",
109 "$tcmalloc_dir/src/free_list.h", 115 "$tcmalloc_dir/src/free_list.h",
110 "$tcmalloc_dir/src/heap-profile-table.cc", 116 "$tcmalloc_dir/src/heap-profile-table.cc",
111 "$tcmalloc_dir/src/heap-profile-table.h", 117 "$tcmalloc_dir/src/heap-profile-table.h",
112 "$tcmalloc_dir/src/heap-profiler.cc", 118 "$tcmalloc_dir/src/heap-profiler.cc",
113 "$tcmalloc_dir/src/internal_logging.cc", 119 "$tcmalloc_dir/src/internal_logging.cc",
114 "$tcmalloc_dir/src/internal_logging.h", 120 "$tcmalloc_dir/src/internal_logging.h",
121 "$tcmalloc_dir/src/leak_detector.cc",
122 "$tcmalloc_dir/src/leak_detector_impl.cc",
123 "$tcmalloc_dir/src/leak_detector_impl.h",
115 "$tcmalloc_dir/src/linked_list.h", 124 "$tcmalloc_dir/src/linked_list.h",
116 "$tcmalloc_dir/src/malloc_extension.cc", 125 "$tcmalloc_dir/src/malloc_extension.cc",
117 "$tcmalloc_dir/src/malloc_hook-inl.h", 126 "$tcmalloc_dir/src/malloc_hook-inl.h",
118 "$tcmalloc_dir/src/malloc_hook.cc", 127 "$tcmalloc_dir/src/malloc_hook.cc",
119 "$tcmalloc_dir/src/maybe_threads.cc", 128 "$tcmalloc_dir/src/maybe_threads.cc",
120 "$tcmalloc_dir/src/maybe_threads.h", 129 "$tcmalloc_dir/src/maybe_threads.h",
121 "$tcmalloc_dir/src/memory_region_map.cc", 130 "$tcmalloc_dir/src/memory_region_map.cc",
122 "$tcmalloc_dir/src/memory_region_map.h", 131 "$tcmalloc_dir/src/memory_region_map.h",
123 "$tcmalloc_dir/src/page_heap.cc", 132 "$tcmalloc_dir/src/page_heap.cc",
124 "$tcmalloc_dir/src/page_heap.h", 133 "$tcmalloc_dir/src/page_heap.h",
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
261 visibility = [ "//base/*" ] 270 visibility = [ "//base/*" ]
262 sources = [ 271 sources = [
263 "allocator_extension_thunks.cc", 272 "allocator_extension_thunks.cc",
264 "allocator_extension_thunks.h", 273 "allocator_extension_thunks.h",
265 ] 274 ]
266 if (is_android && !is_debug) { 275 if (is_android && !is_debug) {
267 configs -= [ "//build/config/compiler:optimize" ] 276 configs -= [ "//build/config/compiler:optimize" ]
268 configs += [ "//build/config/compiler:optimize_max" ] 277 configs += [ "//build/config/compiler:optimize_max" ]
269 } 278 }
270 } 279 }
OLDNEW
« 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