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', | |
342 ]}, | 341 ]}, |
343 }], | 342 }], |
344 [ 'linux_use_debugallocation==1', { | 343 [ 'linux_use_debugallocation==1', { |
345 'sources!': [ | 344 'sources!': [ |
346 # debugallocation.cc #includes tcmalloc.cc, | 345 # debugallocation.cc #includes tcmalloc.cc, |
347 # so only one of them should be used. | 346 # so only one of them should be used. |
348 '<(tcmalloc_dir)/src/tcmalloc.cc', | 347 '<(tcmalloc_dir)/src/tcmalloc.cc', |
349 ], | 348 ], |
350 'cflags': [ | 349 'cflags': [ |
351 '-DTCMALLOC_FOR_DEBUGALLOCATION', | 350 '-DTCMALLOC_FOR_DEBUGALLOCATION', |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
425 ], | 424 ], |
426 }], | 425 }], |
427 ], | 426 ], |
428 } | 427 } |
429 | 428 |
430 # Local Variables: | 429 # Local Variables: |
431 # tab-width:2 | 430 # tab-width:2 |
432 # indent-tabs-mode:nil | 431 # indent-tabs-mode:nil |
433 # End: | 432 # End: |
434 # vim: set expandtab tabstop=2 shiftwidth=2: | 433 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |