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 291 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
302 '<(tcmalloc_dir)/src/profiledata.cc', | 302 '<(tcmalloc_dir)/src/profiledata.cc', |
303 '<(tcmalloc_dir)/src/profiledata.h', | 303 '<(tcmalloc_dir)/src/profiledata.h', |
304 '<(tcmalloc_dir)/src/profile-handler.cc', | 304 '<(tcmalloc_dir)/src/profile-handler.cc', |
305 '<(tcmalloc_dir)/src/profile-handler.h', | 305 '<(tcmalloc_dir)/src/profile-handler.h', |
306 '<(tcmalloc_dir)/src/profiler.cc', | 306 '<(tcmalloc_dir)/src/profiler.cc', |
307 | 307 |
308 # debugallocation | 308 # debugallocation |
309 '<(tcmalloc_dir)/src/debugallocation.cc', | 309 '<(tcmalloc_dir)/src/debugallocation.cc', |
310 ], | 310 ], |
311 }], | 311 }], |
312 ['OS=="linux" or OS=="freebsd" or OS=="openbsd"', { | 312 ['OS=="linux" or OS=="freebsd" or OS=="solaris"', { |
313 'sources!': [ | 313 'sources!': [ |
314 '<(tcmalloc_dir)/src/system-alloc.h', | 314 '<(tcmalloc_dir)/src/system-alloc.h', |
315 '<(tcmalloc_dir)/src/windows/port.cc', | 315 '<(tcmalloc_dir)/src/windows/port.cc', |
316 '<(tcmalloc_dir)/src/windows/port.h', | 316 '<(tcmalloc_dir)/src/windows/port.h', |
317 | 317 |
318 # TODO(willchan): Support allocator shim later on. | 318 # TODO(willchan): Support allocator shim later on. |
319 'allocator_shim.cc', | 319 'allocator_shim.cc', |
320 | 320 |
321 # TODO(willchan): support jemalloc on other platforms | 321 # TODO(willchan): support jemalloc on other platforms |
322 # jemalloc files | 322 # jemalloc files |
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
424 ], | 424 ], |
425 }], | 425 }], |
426 ], | 426 ], |
427 } | 427 } |
428 | 428 |
429 # Local Variables: | 429 # Local Variables: |
430 # tab-width:2 | 430 # tab-width:2 |
431 # indent-tabs-mode:nil | 431 # indent-tabs-mode:nil |
432 # End: | 432 # End: |
433 # vim: set expandtab tabstop=2 shiftwidth=2: | 433 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |