| OLD | NEW |
| 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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 { | 5 { |
| 6 'variables': { | 6 'variables': { |
| 7 'jemalloc_dir': '../../third_party/jemalloc/chromium', | 7 'jemalloc_dir': '../../third_party/jemalloc/chromium', |
| 8 'tcmalloc_dir': '../../third_party/tcmalloc/chromium', | 8 'tcmalloc_dir': '../../third_party/tcmalloc/chromium', |
| 9 'use_vtable_verify%': 0, | 9 'use_vtable_verify%': 0, |
| 10 }, | 10 }, |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 44 'defines': [ | 44 'defines': [ |
| 45 'PERFTOOLS_DLL_DECL=', | 45 'PERFTOOLS_DLL_DECL=', |
| 46 ], | 46 ], |
| 47 }], | 47 }], |
| 48 ], | 48 ], |
| 49 }, | 49 }, |
| 50 'sources': [ | 50 'sources': [ |
| 51 # Generated for our configuration from tcmalloc's build | 51 # Generated for our configuration from tcmalloc's build |
| 52 # and checked in. | 52 # and checked in. |
| 53 '<(tcmalloc_dir)/src/config.h', | 53 '<(tcmalloc_dir)/src/config.h', |
| 54 '<(tcmalloc_dir)/src/config_android.h', |
| 54 '<(tcmalloc_dir)/src/config_linux.h', | 55 '<(tcmalloc_dir)/src/config_linux.h', |
| 55 '<(tcmalloc_dir)/src/config_win.h', | 56 '<(tcmalloc_dir)/src/config_win.h', |
| 56 | 57 |
| 57 # all tcmalloc native and forked files | 58 # all tcmalloc native and forked files |
| 58 '<(tcmalloc_dir)/src/addressmap-inl.h', | 59 '<(tcmalloc_dir)/src/addressmap-inl.h', |
| 59 '<(tcmalloc_dir)/src/base/abort.cc', | 60 '<(tcmalloc_dir)/src/base/abort.cc', |
| 60 '<(tcmalloc_dir)/src/base/abort.h', | 61 '<(tcmalloc_dir)/src/base/abort.h', |
| 61 '<(tcmalloc_dir)/src/base/arm_instruction_set_select.h', | 62 '<(tcmalloc_dir)/src/base/arm_instruction_set_select.h', |
| 62 '<(tcmalloc_dir)/src/base/atomicops-internals-linuxppc.h', | 63 '<(tcmalloc_dir)/src/base/atomicops-internals-linuxppc.h', |
| 63 '<(tcmalloc_dir)/src/base/atomicops-internals-arm-generic.h', | 64 '<(tcmalloc_dir)/src/base/atomicops-internals-arm-generic.h', |
| (...skipping 318 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 382 '<(tcmalloc_dir)/src/heap-profile-table.h', | 383 '<(tcmalloc_dir)/src/heap-profile-table.h', |
| 383 '<(tcmalloc_dir)/src/memory_region_map.cc', | 384 '<(tcmalloc_dir)/src/memory_region_map.cc', |
| 384 '<(tcmalloc_dir)/src/memory_region_map.h', | 385 '<(tcmalloc_dir)/src/memory_region_map.h', |
| 385 '<(tcmalloc_dir)/src/profiledata.cc', | 386 '<(tcmalloc_dir)/src/profiledata.cc', |
| 386 '<(tcmalloc_dir)/src/profiledata.h', | 387 '<(tcmalloc_dir)/src/profiledata.h', |
| 387 '<(tcmalloc_dir)/src/profile-handler.cc', | 388 '<(tcmalloc_dir)/src/profile-handler.cc', |
| 388 '<(tcmalloc_dir)/src/profile-handler.h', | 389 '<(tcmalloc_dir)/src/profile-handler.h', |
| 389 '<(tcmalloc_dir)/src/profiler.cc', | 390 '<(tcmalloc_dir)/src/profiler.cc', |
| 390 ], | 391 ], |
| 391 }], | 392 }], |
| 392 ['OS=="linux" or OS=="freebsd" or OS=="solaris"', { | 393 ['OS=="linux" or OS=="freebsd" or OS=="solaris" or OS=="android"', { |
| 393 'sources!': [ | 394 'sources!': [ |
| 394 '<(tcmalloc_dir)/src/system-alloc.h', | 395 '<(tcmalloc_dir)/src/system-alloc.h', |
| 395 '<(tcmalloc_dir)/src/windows/port.cc', | 396 '<(tcmalloc_dir)/src/windows/port.cc', |
| 396 '<(tcmalloc_dir)/src/windows/port.h', | 397 '<(tcmalloc_dir)/src/windows/port.h', |
| 397 | 398 |
| 398 # TODO(willchan): Support allocator shim later on. | 399 # TODO(willchan): Support allocator shim later on. |
| 399 'allocator_shim.cc', | 400 'allocator_shim.cc', |
| 400 | 401 |
| 401 # TODO(willchan): support jemalloc on other platforms | 402 # TODO(willchan): support jemalloc on other platforms |
| 402 # jemalloc files | 403 # jemalloc files |
| (...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 666 'sources': [ | 667 'sources': [ |
| 667 'type_profiler_map_unittests.cc', | 668 'type_profiler_map_unittests.cc', |
| 668 '<(tcmalloc_dir)/src/gperftools/type_profiler_map.h', | 669 '<(tcmalloc_dir)/src/gperftools/type_profiler_map.h', |
| 669 '<(tcmalloc_dir)/src/type_profiler_map.cc', | 670 '<(tcmalloc_dir)/src/type_profiler_map.cc', |
| 670 ], | 671 ], |
| 671 }, | 672 }, |
| 672 ], | 673 ], |
| 673 }], | 674 }], |
| 674 ], | 675 ], |
| 675 } | 676 } |
| OLD | NEW |