OLD | NEW |
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/buildflag_header.gni") | 5 import("//build/buildflag_header.gni") |
6 import("//build/config/allocator.gni") | 6 import("//build/config/allocator.gni") |
7 import("//build/config/compiler/compiler.gni") | 7 import("//build/config/compiler/compiler.gni") |
8 | 8 |
9 declare_args() { | 9 declare_args() { |
10 # Provide a way to force disable debugallocation in Debug builds, | 10 # Provide a way to force disable debugallocation in Debug builds, |
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
154 "$tcmalloc_dir/src/base/vdso_support.h", | 154 "$tcmalloc_dir/src/base/vdso_support.h", |
155 "$tcmalloc_dir/src/central_freelist.cc", | 155 "$tcmalloc_dir/src/central_freelist.cc", |
156 "$tcmalloc_dir/src/central_freelist.h", | 156 "$tcmalloc_dir/src/central_freelist.h", |
157 "$tcmalloc_dir/src/common.cc", | 157 "$tcmalloc_dir/src/common.cc", |
158 "$tcmalloc_dir/src/common.h", | 158 "$tcmalloc_dir/src/common.h", |
159 | 159 |
160 # #included by debugallocation_shim.cc | 160 # #included by debugallocation_shim.cc |
161 #"$tcmalloc_dir/src/debugallocation.cc", | 161 #"$tcmalloc_dir/src/debugallocation.cc", |
162 "$tcmalloc_dir/src/free_list.cc", | 162 "$tcmalloc_dir/src/free_list.cc", |
163 "$tcmalloc_dir/src/free_list.h", | 163 "$tcmalloc_dir/src/free_list.h", |
| 164 "$tcmalloc_dir/src/gperftools/heap-profiler.h", |
| 165 "$tcmalloc_dir/src/gperftools/malloc_extension.h", |
| 166 "$tcmalloc_dir/src/gperftools/malloc_hook.h", |
| 167 "$tcmalloc_dir/src/gperftools/stacktrace.h", |
164 "$tcmalloc_dir/src/heap-profile-table.cc", | 168 "$tcmalloc_dir/src/heap-profile-table.cc", |
165 "$tcmalloc_dir/src/heap-profile-table.h", | 169 "$tcmalloc_dir/src/heap-profile-table.h", |
166 "$tcmalloc_dir/src/heap-profiler.cc", | 170 "$tcmalloc_dir/src/heap-profiler.cc", |
167 "$tcmalloc_dir/src/heap-profiler.h", | |
168 "$tcmalloc_dir/src/internal_logging.cc", | 171 "$tcmalloc_dir/src/internal_logging.cc", |
169 "$tcmalloc_dir/src/internal_logging.h", | 172 "$tcmalloc_dir/src/internal_logging.h", |
170 "$tcmalloc_dir/src/linked_list.h", | 173 "$tcmalloc_dir/src/linked_list.h", |
171 "$tcmalloc_dir/src/malloc_extension.cc", | 174 "$tcmalloc_dir/src/malloc_extension.cc", |
172 "$tcmalloc_dir/src/malloc_extension.h", | |
173 "$tcmalloc_dir/src/malloc_hook-inl.h", | 175 "$tcmalloc_dir/src/malloc_hook-inl.h", |
174 "$tcmalloc_dir/src/malloc_hook.cc", | 176 "$tcmalloc_dir/src/malloc_hook.cc", |
175 "$tcmalloc_dir/src/malloc_hook.h", | |
176 "$tcmalloc_dir/src/maybe_threads.cc", | 177 "$tcmalloc_dir/src/maybe_threads.cc", |
177 "$tcmalloc_dir/src/maybe_threads.h", | 178 "$tcmalloc_dir/src/maybe_threads.h", |
178 "$tcmalloc_dir/src/memory_region_map.cc", | 179 "$tcmalloc_dir/src/memory_region_map.cc", |
179 "$tcmalloc_dir/src/memory_region_map.h", | 180 "$tcmalloc_dir/src/memory_region_map.h", |
180 "$tcmalloc_dir/src/page_heap.cc", | 181 "$tcmalloc_dir/src/page_heap.cc", |
181 "$tcmalloc_dir/src/page_heap.h", | 182 "$tcmalloc_dir/src/page_heap.h", |
182 "$tcmalloc_dir/src/raw_printer.cc", | 183 "$tcmalloc_dir/src/raw_printer.cc", |
183 "$tcmalloc_dir/src/raw_printer.h", | 184 "$tcmalloc_dir/src/raw_printer.h", |
184 "$tcmalloc_dir/src/sampler.cc", | 185 "$tcmalloc_dir/src/sampler.cc", |
185 "$tcmalloc_dir/src/sampler.h", | 186 "$tcmalloc_dir/src/sampler.h", |
186 "$tcmalloc_dir/src/span.cc", | 187 "$tcmalloc_dir/src/span.cc", |
187 "$tcmalloc_dir/src/span.h", | 188 "$tcmalloc_dir/src/span.h", |
188 "$tcmalloc_dir/src/stack_trace_table.cc", | 189 "$tcmalloc_dir/src/stack_trace_table.cc", |
189 "$tcmalloc_dir/src/stack_trace_table.h", | 190 "$tcmalloc_dir/src/stack_trace_table.h", |
190 "$tcmalloc_dir/src/stacktrace.cc", | 191 "$tcmalloc_dir/src/stacktrace.cc", |
191 "$tcmalloc_dir/src/stacktrace.h", | |
192 "$tcmalloc_dir/src/static_vars.cc", | 192 "$tcmalloc_dir/src/static_vars.cc", |
193 "$tcmalloc_dir/src/static_vars.h", | 193 "$tcmalloc_dir/src/static_vars.h", |
194 "$tcmalloc_dir/src/symbolize.cc", | 194 "$tcmalloc_dir/src/symbolize.cc", |
195 "$tcmalloc_dir/src/symbolize.h", | 195 "$tcmalloc_dir/src/symbolize.h", |
196 "$tcmalloc_dir/src/system-alloc.cc", | 196 "$tcmalloc_dir/src/system-alloc.cc", |
197 "$tcmalloc_dir/src/system-alloc.h", | 197 "$tcmalloc_dir/src/system-alloc.h", |
198 | 198 |
199 # #included by debugallocation_shim.cc | 199 # #included by debugallocation_shim.cc |
200 #"$tcmalloc_dir/src/tcmalloc.cc", | 200 #"$tcmalloc_dir/src/tcmalloc.cc", |
201 #"$tcmalloc_dir/src/tcmalloc.h", | 201 #"$tcmalloc_dir/src/tcmalloc.h", |
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
303 "-Wl,-wrap,calloc", | 303 "-Wl,-wrap,calloc", |
304 "-Wl,-wrap,free", | 304 "-Wl,-wrap,free", |
305 "-Wl,-wrap,malloc", | 305 "-Wl,-wrap,malloc", |
306 "-Wl,-wrap,memalign", | 306 "-Wl,-wrap,memalign", |
307 "-Wl,-wrap,posix_memalign", | 307 "-Wl,-wrap,posix_memalign", |
308 "-Wl,-wrap,pvalloc", | 308 "-Wl,-wrap,pvalloc", |
309 "-Wl,-wrap,realloc", | 309 "-Wl,-wrap,realloc", |
310 "-Wl,-wrap,valloc", | 310 "-Wl,-wrap,valloc", |
311 ] | 311 ] |
312 } | 312 } |
OLD | NEW |