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 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
159 "$tcmalloc_dir/src/common.cc", | 159 "$tcmalloc_dir/src/common.cc", |
160 "$tcmalloc_dir/src/common.h", | 160 "$tcmalloc_dir/src/common.h", |
161 | 161 |
162 # #included by debugallocation_shim.cc | 162 # #included by debugallocation_shim.cc |
163 #"$tcmalloc_dir/src/debugallocation.cc", | 163 #"$tcmalloc_dir/src/debugallocation.cc", |
164 "$tcmalloc_dir/src/free_list.cc", | 164 "$tcmalloc_dir/src/free_list.cc", |
165 "$tcmalloc_dir/src/free_list.h", | 165 "$tcmalloc_dir/src/free_list.h", |
166 "$tcmalloc_dir/src/heap-profile-table.cc", | 166 "$tcmalloc_dir/src/heap-profile-table.cc", |
167 "$tcmalloc_dir/src/heap-profile-table.h", | 167 "$tcmalloc_dir/src/heap-profile-table.h", |
168 "$tcmalloc_dir/src/heap-profiler.cc", | 168 "$tcmalloc_dir/src/heap-profiler.cc", |
| 169 "$tcmalloc_dir/src/heap-profiler.h", |
169 "$tcmalloc_dir/src/internal_logging.cc", | 170 "$tcmalloc_dir/src/internal_logging.cc", |
170 "$tcmalloc_dir/src/internal_logging.h", | 171 "$tcmalloc_dir/src/internal_logging.h", |
171 "$tcmalloc_dir/src/linked_list.h", | 172 "$tcmalloc_dir/src/linked_list.h", |
172 "$tcmalloc_dir/src/malloc_extension.cc", | 173 "$tcmalloc_dir/src/malloc_extension.cc", |
| 174 "$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", |
| 177 "$tcmalloc_dir/src/malloc_hook.h", |
175 "$tcmalloc_dir/src/maybe_threads.cc", | 178 "$tcmalloc_dir/src/maybe_threads.cc", |
176 "$tcmalloc_dir/src/maybe_threads.h", | 179 "$tcmalloc_dir/src/maybe_threads.h", |
177 "$tcmalloc_dir/src/memory_region_map.cc", | 180 "$tcmalloc_dir/src/memory_region_map.cc", |
178 "$tcmalloc_dir/src/memory_region_map.h", | 181 "$tcmalloc_dir/src/memory_region_map.h", |
179 "$tcmalloc_dir/src/page_heap.cc", | 182 "$tcmalloc_dir/src/page_heap.cc", |
180 "$tcmalloc_dir/src/page_heap.h", | 183 "$tcmalloc_dir/src/page_heap.h", |
181 "$tcmalloc_dir/src/raw_printer.cc", | 184 "$tcmalloc_dir/src/raw_printer.cc", |
182 "$tcmalloc_dir/src/raw_printer.h", | 185 "$tcmalloc_dir/src/raw_printer.h", |
183 "$tcmalloc_dir/src/sampler.cc", | 186 "$tcmalloc_dir/src/sampler.cc", |
184 "$tcmalloc_dir/src/sampler.h", | 187 "$tcmalloc_dir/src/sampler.h", |
185 "$tcmalloc_dir/src/span.cc", | 188 "$tcmalloc_dir/src/span.cc", |
186 "$tcmalloc_dir/src/span.h", | 189 "$tcmalloc_dir/src/span.h", |
187 "$tcmalloc_dir/src/stack_trace_table.cc", | 190 "$tcmalloc_dir/src/stack_trace_table.cc", |
188 "$tcmalloc_dir/src/stack_trace_table.h", | 191 "$tcmalloc_dir/src/stack_trace_table.h", |
189 "$tcmalloc_dir/src/stacktrace.cc", | 192 "$tcmalloc_dir/src/stacktrace.cc", |
| 193 "$tcmalloc_dir/src/stacktrace.h", |
190 "$tcmalloc_dir/src/static_vars.cc", | 194 "$tcmalloc_dir/src/static_vars.cc", |
191 "$tcmalloc_dir/src/static_vars.h", | 195 "$tcmalloc_dir/src/static_vars.h", |
192 "$tcmalloc_dir/src/symbolize.cc", | 196 "$tcmalloc_dir/src/symbolize.cc", |
193 "$tcmalloc_dir/src/symbolize.h", | 197 "$tcmalloc_dir/src/symbolize.h", |
194 "$tcmalloc_dir/src/system-alloc.cc", | 198 "$tcmalloc_dir/src/system-alloc.cc", |
195 "$tcmalloc_dir/src/system-alloc.h", | 199 "$tcmalloc_dir/src/system-alloc.h", |
196 | 200 |
197 # #included by debugallocation_shim.cc | 201 # #included by debugallocation_shim.cc |
198 #"$tcmalloc_dir/src/tcmalloc.cc", | 202 #"$tcmalloc_dir/src/tcmalloc.cc", |
| 203 #"$tcmalloc_dir/src/tcmalloc.h", |
199 "$tcmalloc_dir/src/thread_cache.cc", | 204 "$tcmalloc_dir/src/thread_cache.cc", |
200 "$tcmalloc_dir/src/thread_cache.h", | 205 "$tcmalloc_dir/src/thread_cache.h", |
201 "$tcmalloc_dir/src/windows/port.cc", | 206 "$tcmalloc_dir/src/windows/port.cc", |
202 "$tcmalloc_dir/src/windows/port.h", | 207 "$tcmalloc_dir/src/windows/port.h", |
203 "debugallocation_shim.cc", | 208 "debugallocation_shim.cc", |
204 | 209 |
205 # These are both #included by allocator_shim for maximal linking. | 210 # These are both #included by allocator_shim for maximal linking. |
206 #"generic_allocators.cc", | 211 #"generic_allocators.cc", |
207 #"win_allocator.cc", | 212 #"win_allocator.cc", |
208 ] | 213 ] |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
300 "-Wl,-wrap,calloc", | 305 "-Wl,-wrap,calloc", |
301 "-Wl,-wrap,free", | 306 "-Wl,-wrap,free", |
302 "-Wl,-wrap,malloc", | 307 "-Wl,-wrap,malloc", |
303 "-Wl,-wrap,memalign", | 308 "-Wl,-wrap,memalign", |
304 "-Wl,-wrap,posix_memalign", | 309 "-Wl,-wrap,posix_memalign", |
305 "-Wl,-wrap,pvalloc", | 310 "-Wl,-wrap,pvalloc", |
306 "-Wl,-wrap,realloc", | 311 "-Wl,-wrap,realloc", |
307 "-Wl,-wrap,valloc", | 312 "-Wl,-wrap,valloc", |
308 ] | 313 ] |
309 } | 314 } |
OLD | NEW |