OLD | NEW |
1 # Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2009 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 }, | 9 }, |
10 'targets': [ | 10 'targets': [ |
(...skipping 292 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
303 '<(tcmalloc_dir)/src/heap-profiler.cc', | 303 '<(tcmalloc_dir)/src/heap-profiler.cc', |
304 '<(tcmalloc_dir)/src/memory_region_map.cc', | 304 '<(tcmalloc_dir)/src/memory_region_map.cc', |
305 '<(tcmalloc_dir)/src/memory_region_map.h', | 305 '<(tcmalloc_dir)/src/memory_region_map.h', |
306 '<(tcmalloc_dir)/src/profiledata.cc', | 306 '<(tcmalloc_dir)/src/profiledata.cc', |
307 '<(tcmalloc_dir)/src/profiledata.h', | 307 '<(tcmalloc_dir)/src/profiledata.h', |
308 '<(tcmalloc_dir)/src/profile-handler.cc', | 308 '<(tcmalloc_dir)/src/profile-handler.cc', |
309 '<(tcmalloc_dir)/src/profile-handler.h', | 309 '<(tcmalloc_dir)/src/profile-handler.h', |
310 '<(tcmalloc_dir)/src/profiler.cc', | 310 '<(tcmalloc_dir)/src/profiler.cc', |
311 ], | 311 ], |
312 }], | 312 }], |
313 ['OS=="linux"', { | 313 ['OS=="linux" or OS=="freebsd"', { |
314 'sources!': [ | 314 'sources!': [ |
315 '<(tcmalloc_dir)/src/system-alloc.h', | 315 '<(tcmalloc_dir)/src/system-alloc.h', |
316 '<(tcmalloc_dir)/src/windows/port.cc', | 316 '<(tcmalloc_dir)/src/windows/port.cc', |
317 '<(tcmalloc_dir)/src/windows/port.h', | 317 '<(tcmalloc_dir)/src/windows/port.h', |
318 | 318 |
319 # TODO(willchan): Support allocator shim later on. | 319 # TODO(willchan): Support allocator shim later on. |
320 'allocator_shim.cc', | 320 'allocator_shim.cc', |
321 | 321 |
322 # TODO(willchan): support jemalloc on other platforms | 322 # TODO(willchan): support jemalloc on other platforms |
323 # jemalloc files | 323 # jemalloc files |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
401 ], | 401 ], |
402 }], | 402 }], |
403 ], | 403 ], |
404 } | 404 } |
405 | 405 |
406 # Local Variables: | 406 # Local Variables: |
407 # tab-width:2 | 407 # tab-width:2 |
408 # indent-tabs-mode:nil | 408 # indent-tabs-mode:nil |
409 # End: | 409 # End: |
410 # vim: set expandtab tabstop=2 shiftwidth=2: | 410 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |