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 372 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
383 '<(tcmalloc_dir)/src/heap-profile-table.h', | 383 '<(tcmalloc_dir)/src/heap-profile-table.h', |
384 '<(tcmalloc_dir)/src/memory_region_map.cc', | 384 '<(tcmalloc_dir)/src/memory_region_map.cc', |
385 '<(tcmalloc_dir)/src/memory_region_map.h', | 385 '<(tcmalloc_dir)/src/memory_region_map.h', |
386 '<(tcmalloc_dir)/src/profiledata.cc', | 386 '<(tcmalloc_dir)/src/profiledata.cc', |
387 '<(tcmalloc_dir)/src/profiledata.h', | 387 '<(tcmalloc_dir)/src/profiledata.h', |
388 '<(tcmalloc_dir)/src/profile-handler.cc', | 388 '<(tcmalloc_dir)/src/profile-handler.cc', |
389 '<(tcmalloc_dir)/src/profile-handler.h', | 389 '<(tcmalloc_dir)/src/profile-handler.h', |
390 '<(tcmalloc_dir)/src/profiler.cc', | 390 '<(tcmalloc_dir)/src/profiler.cc', |
391 ], | 391 ], |
392 }], | 392 }], |
| 393 ['win_use_allocator_shim==1', { |
| 394 'defines': [ 'WIN_USE_ALLOCATOR_SHIM' ] |
| 395 }], |
393 ['OS=="linux" or OS=="freebsd" or OS=="solaris" or OS=="android"', { | 396 ['OS=="linux" or OS=="freebsd" or OS=="solaris" or OS=="android"', { |
394 'sources!': [ | 397 'sources!': [ |
395 '<(tcmalloc_dir)/src/system-alloc.h', | 398 '<(tcmalloc_dir)/src/system-alloc.h', |
396 '<(tcmalloc_dir)/src/windows/port.cc', | 399 '<(tcmalloc_dir)/src/windows/port.cc', |
397 '<(tcmalloc_dir)/src/windows/port.h', | 400 '<(tcmalloc_dir)/src/windows/port.h', |
398 | 401 |
399 # TODO(willchan): Support allocator shim later on. | 402 # TODO(willchan): Support allocator shim later on. |
400 'allocator_shim.cc', | 403 'allocator_shim.cc', |
401 | 404 |
402 # TODO(willchan): support jemalloc on other platforms | 405 # TODO(willchan): support jemalloc on other platforms |
(...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
667 'sources': [ | 670 'sources': [ |
668 'type_profiler_map_unittests.cc', | 671 'type_profiler_map_unittests.cc', |
669 '<(tcmalloc_dir)/src/gperftools/type_profiler_map.h', | 672 '<(tcmalloc_dir)/src/gperftools/type_profiler_map.h', |
670 '<(tcmalloc_dir)/src/type_profiler_map.cc', | 673 '<(tcmalloc_dir)/src/type_profiler_map.cc', |
671 ], | 674 ], |
672 }, | 675 }, |
673 ], | 676 ], |
674 }], | 677 }], |
675 ], | 678 ], |
676 } | 679 } |
OLD | NEW |