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 320 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
331 '-fvisibility=hidden', | 331 '-fvisibility=hidden', |
332 ], | 332 ], |
333 'link_settings': { | 333 'link_settings': { |
334 'ldflags': [ | 334 'ldflags': [ |
335 # Don't let linker rip this symbol out, otherwise the heap&cpu | 335 # Don't let linker rip this symbol out, otherwise the heap&cpu |
336 # profilers will not initialize properly on startup. | 336 # profilers will not initialize properly on startup. |
337 '-Wl,-uIsHeapProfilerRunning,-uProfilerStart', | 337 '-Wl,-uIsHeapProfilerRunning,-uProfilerStart', |
338 # Do the same for heap leak checker. | 338 # Do the same for heap leak checker. |
339 '-Wl,-u_Z21InitialMallocHook_NewPKvj,-u_Z22InitialMallocHook_MMapP
KvS0_jiiix,-u_Z22InitialMallocHook_SbrkPKvi', | 339 '-Wl,-u_Z21InitialMallocHook_NewPKvj,-u_Z22InitialMallocHook_MMapP
KvS0_jiiix,-u_Z22InitialMallocHook_SbrkPKvi', |
340 '-Wl,-u_Z21InitialMallocHook_NewPKvm,-u_Z22InitialMallocHook_MMapP
KvS0_miiil,-u_Z22InitialMallocHook_SbrkPKvl', | 340 '-Wl,-u_Z21InitialMallocHook_NewPKvm,-u_Z22InitialMallocHook_MMapP
KvS0_miiil,-u_Z22InitialMallocHook_SbrkPKvl', |
| 341 '-Wl,-u_ZN15HeapLeakChecker12IgnoreObjectEPKv,-u_ZN15HeapLeakCheck
er14UnIgnoreObjectEPKv', |
341 ]}, | 342 ]}, |
342 }], | 343 }], |
343 [ 'linux_use_debugallocation==1', { | 344 [ 'linux_use_debugallocation==1', { |
344 'sources!': [ | 345 'sources!': [ |
345 # debugallocation.cc #includes tcmalloc.cc, | 346 # debugallocation.cc #includes tcmalloc.cc, |
346 # so only one of them should be used. | 347 # so only one of them should be used. |
347 '<(tcmalloc_dir)/src/tcmalloc.cc', | 348 '<(tcmalloc_dir)/src/tcmalloc.cc', |
348 ], | 349 ], |
349 'cflags': [ | 350 'cflags': [ |
350 '-DTCMALLOC_FOR_DEBUGALLOCATION', | 351 '-DTCMALLOC_FOR_DEBUGALLOCATION', |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
424 ], | 425 ], |
425 }], | 426 }], |
426 ], | 427 ], |
427 } | 428 } |
428 | 429 |
429 # Local Variables: | 430 # Local Variables: |
430 # tab-width:2 | 431 # tab-width:2 |
431 # indent-tabs-mode:nil | 432 # indent-tabs-mode:nil |
432 # End: | 433 # End: |
433 # vim: set expandtab tabstop=2 shiftwidth=2: | 434 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |