| # Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file |
| # for details. All rights reserved. Use of this source code is governed by a |
| # BSD-style license that can be found in the LICENSE file. |
| |
| tcmalloc_sources = [ |
| # gperftools/src/ |
| "gperftools/src/addressmap-inl.h", |
| "gperftools/src/central_freelist.cc", |
| "gperftools/src/central_freelist.h", |
| "gperftools/src/common.cc", |
| "gperftools/src/common.h", |
| "gperftools/src/config_for_unittests.h", |
| "gperftools/src/debugallocation.cc", |
| "gperftools/src/emergency_malloc.cc", |
| "gperftools/src/emergency_malloc_for_stacktrace.cc", |
| "gperftools/src/emergency_malloc.h", |
| "gperftools/src/fake_stacktrace_scope.cc", |
| "gperftools/src/getenv_safe.h", |
| "gperftools/src/getpc.h", |
| "gperftools/src/heap-checker-bcad.cc", |
| "gperftools/src/heap-checker.cc", |
| "gperftools/src/heap-profiler.cc", |
| "gperftools/src/heap-profile-stats.h", |
| "gperftools/src/heap-profile-table.cc", |
| "gperftools/src/heap-profile-table.h", |
| "gperftools/src/internal_logging.cc", |
| "gperftools/src/internal_logging.h", |
| "gperftools/src/libc_override_gcc_and_weak.h", |
| "gperftools/src/libc_override_glibc.h", |
| "gperftools/src/libc_override.h", |
| "gperftools/src/libc_override_osx.h", |
| "gperftools/src/libc_override_redefine.h", |
| "gperftools/src/linked_list.h", |
| "gperftools/src/malloc_extension.cc", |
| "gperftools/src/malloc_hook.cc", |
| "gperftools/src/malloc_hook-inl.h", |
| "gperftools/src/malloc_hook_mmap_freebsd.h", |
| "gperftools/src/malloc_hook_mmap_linux.h", |
| "gperftools/src/maybe_emergency_malloc.h", |
| "gperftools/src/maybe_threads.cc", |
| "gperftools/src/maybe_threads.h", |
| "gperftools/src/memfs_malloc.cc", |
| "gperftools/src/memory_region_map.cc", |
| "gperftools/src/memory_region_map.h", |
| "gperftools/src/packed-cache-inl.h", |
| "gperftools/src/page_heap_allocator.h", |
| "gperftools/src/page_heap.cc", |
| "gperftools/src/page_heap.h", |
| "gperftools/src/pagemap.h", |
| "gperftools/src/profiledata.cc", |
| "gperftools/src/profiledata.h", |
| "gperftools/src/profile-handler.cc", |
| "gperftools/src/profile-handler.h", |
| "gperftools/src/profiler.cc", |
| "gperftools/src/raw_printer.cc", |
| "gperftools/src/raw_printer.h", |
| "gperftools/src/sampler.cc", |
| "gperftools/src/sampler.h", |
| "gperftools/src/span.cc", |
| "gperftools/src/span.h", |
| "gperftools/src/stacktrace_arm-inl.h", |
| "gperftools/src/stacktrace.cc", |
| "gperftools/src/stacktrace_generic-inl.h", |
| "gperftools/src/stacktrace_impl_setup-inl.h", |
| "gperftools/src/stacktrace_instrument-inl.h", |
| "gperftools/src/stacktrace_libgcc-inl.h", |
| "gperftools/src/stacktrace_libunwind-inl.h", |
| "gperftools/src/stacktrace_powerpc-darwin-inl.h", |
| "gperftools/src/stacktrace_powerpc-inl.h", |
| "gperftools/src/stacktrace_powerpc-linux-inl.h", |
| "gperftools/src/stack_trace_table.cc", |
| "gperftools/src/stack_trace_table.h", |
| "gperftools/src/stacktrace_win32-inl.h", |
| "gperftools/src/stacktrace_x86-inl.h", |
| "gperftools/src/static_vars.cc", |
| "gperftools/src/static_vars.h", |
| "gperftools/src/symbolize.cc", |
| "gperftools/src/symbolize.h", |
| "gperftools/src/system-alloc.cc", |
| "gperftools/src/system-alloc.h", |
| "gperftools/src/tcmalloc.cc", |
| "gperftools/src/tcmalloc_guard.h", |
| "gperftools/src/tcmalloc.h", |
| "gperftools/src/thread_cache.cc", |
| "gperftools/src/thread_cache.h", |
| |
| # gperftools/src/base/ |
| "gperftools/src/base/arm_instruction_set_select.h", |
| "gperftools/src/base/atomicops.h", |
| "gperftools/src/base/atomicops-internals-arm-generic.h", |
| "gperftools/src/base/atomicops-internals-arm-v6plus.h", |
| "gperftools/src/base/atomicops-internals-gcc.h", |
| "gperftools/src/base/atomicops-internals-linuxppc.h", |
| "gperftools/src/base/atomicops-internals-macosx.h", |
| "gperftools/src/base/atomicops-internals-mips.h", |
| "gperftools/src/base/atomicops-internals-windows.h", |
| "gperftools/src/base/atomicops-internals-x86.cc", |
| "gperftools/src/base/atomicops-internals-x86.h", |
| "gperftools/src/base/basictypes.h", |
| "gperftools/src/base/commandlineflags.h", |
| # This C files is compiled into a separate target. |
| # "gperftools/src/base/dynamic_annotations.c", |
| # "gperftools/src/base/dynamic_annotations.h", |
| "gperftools/src/base/elfcore.h", |
| "gperftools/src/base/elf_mem_image.cc", |
| "gperftools/src/base/elf_mem_image.h", |
| "gperftools/src/base/googleinit.h", |
| "gperftools/src/base/linux_syscall_support.h", |
| "gperftools/src/base/linuxthreads.cc", |
| "gperftools/src/base/linuxthreads.h", |
| "gperftools/src/base/logging.cc", |
| "gperftools/src/base/logging.h", |
| "gperftools/src/base/low_level_alloc.cc", |
| "gperftools/src/base/low_level_alloc.h", |
| "gperftools/src/base/simple_mutex.h", |
| "gperftools/src/base/spinlock.cc", |
| "gperftools/src/base/spinlock.h", |
| "gperftools/src/base/spinlock_internal.cc", |
| "gperftools/src/base/spinlock_internal.h", |
| "gperftools/src/base/spinlock_linux-inl.h", |
| "gperftools/src/base/spinlock_posix-inl.h", |
| "gperftools/src/base/spinlock_win32-inl.h", |
| "gperftools/src/base/stl_allocator.h", |
| "gperftools/src/base/sysinfo.cc", |
| "gperftools/src/base/sysinfo.h", |
| "gperftools/src/base/thread_annotations.h", |
| "gperftools/src/base/thread_lister.c", |
| "gperftools/src/base/thread_lister.h", |
| "gperftools/src/base/vdso_support.cc", |
| "gperftools/src/base/vdso_support.h", |
| |
| # gperftools/src/google/ |
| "gperftools/src/google/heap-checker.h", |
| "gperftools/src/google/heap-profiler.h", |
| "gperftools/src/google/malloc_extension_c.h", |
| "gperftools/src/google/malloc_extension.h", |
| "gperftools/src/google/malloc_hook_c.h", |
| "gperftools/src/google/malloc_hook.h", |
| "gperftools/src/google/profiler.h", |
| "gperftools/src/google/stacktrace.h", |
| "gperftools/src/google/tcmalloc.h", |
| |
| # gperftools/src/gperftools/ |
| "gperftools/src/gperftools/heap-checker.h", |
| "gperftools/src/gperftools/heap-profiler.h", |
| "gperftools/src/gperftools/malloc_extension_c.h", |
| "gperftools/src/gperftools/malloc_extension.h", |
| "gperftools/src/gperftools/malloc_hook_c.h", |
| "gperftools/src/gperftools/malloc_hook.h", |
| "gperftools/src/gperftools/profiler.h", |
| "gperftools/src/gperftools/stacktrace.h", |
| |
| # gperftools/src/third_party/ |
| "gperftools/src/third_party/valgrind.h", |
| ] |