| 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 'tcmalloc_dir': '../../third_party/tcmalloc/chromium', | 7 'tcmalloc_dir': '../../third_party/tcmalloc/chromium', |
| 8 'use_vtable_verify%': 0, | 8 'use_vtable_verify%': 0, |
| 9 }, | 9 }, |
| 10 'targets': [ | 10 'targets': [ |
| (...skipping 390 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 401 'ldflags': [ | 401 'ldflags': [ |
| 402 # Don't let linker rip this symbol out, otherwise the heap&cpu | 402 # Don't let linker rip this symbol out, otherwise the heap&cpu |
| 403 # profilers will not initialize properly on startup. | 403 # profilers will not initialize properly on startup. |
| 404 '-Wl,-uIsHeapProfilerRunning,-uProfilerStart', | 404 '-Wl,-uIsHeapProfilerRunning,-uProfilerStart', |
| 405 # Do the same for heap leak checker. | 405 # Do the same for heap leak checker. |
| 406 '-Wl,-u_Z21InitialMallocHook_NewPKvj,-u_Z22InitialMallocHook_MMapP
KvS0_jiiix,-u_Z22InitialMallocHook_SbrkPKvi', | 406 '-Wl,-u_Z21InitialMallocHook_NewPKvj,-u_Z22InitialMallocHook_MMapP
KvS0_jiiix,-u_Z22InitialMallocHook_SbrkPKvi', |
| 407 '-Wl,-u_Z21InitialMallocHook_NewPKvm,-u_Z22InitialMallocHook_MMapP
KvS0_miiil,-u_Z22InitialMallocHook_SbrkPKvl', | 407 '-Wl,-u_Z21InitialMallocHook_NewPKvm,-u_Z22InitialMallocHook_MMapP
KvS0_miiil,-u_Z22InitialMallocHook_SbrkPKvl', |
| 408 '-Wl,-u_ZN15HeapLeakChecker12IgnoreObjectEPKv,-u_ZN15HeapLeakCheck
er14UnIgnoreObjectEPKv', | 408 '-Wl,-u_ZN15HeapLeakChecker12IgnoreObjectEPKv,-u_ZN15HeapLeakCheck
er14UnIgnoreObjectEPKv', |
| 409 ]}, | 409 ]}, |
| 410 }], | 410 }], |
| 411 # Need to distinguish a non-SDK build for Android WebView | |
| 412 # due to differences in C include files. | |
| 413 ['OS=="android" and android_webview_build==1', { | |
| 414 'defines': ['ANDROID_NON_SDK_BUILD'], | |
| 415 }], | |
| 416 [ 'use_vtable_verify==1', { | 411 [ 'use_vtable_verify==1', { |
| 417 'cflags': [ | 412 'cflags': [ |
| 418 '-fvtable-verify=preinit', | 413 '-fvtable-verify=preinit', |
| 419 ], | 414 ], |
| 420 }], | 415 }], |
| 421 ['order_profiling != 0', { | 416 ['order_profiling != 0', { |
| 422 'target_conditions' : [ | 417 'target_conditions' : [ |
| 423 ['_toolset=="target"', { | 418 ['_toolset=="target"', { |
| 424 'cflags!': [ '-finstrument-functions' ], | 419 'cflags!': [ '-finstrument-functions' ], |
| 425 }], | 420 }], |
| (...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 622 'sources': [ | 617 'sources': [ |
| 623 'type_profiler_map_unittest.cc', | 618 'type_profiler_map_unittest.cc', |
| 624 '<(tcmalloc_dir)/src/gperftools/type_profiler_map.h', | 619 '<(tcmalloc_dir)/src/gperftools/type_profiler_map.h', |
| 625 '<(tcmalloc_dir)/src/type_profiler_map.cc', | 620 '<(tcmalloc_dir)/src/type_profiler_map.cc', |
| 626 ], | 621 ], |
| 627 }, | 622 }, |
| 628 ], | 623 ], |
| 629 }], | 624 }], |
| 630 ], | 625 ], |
| 631 } | 626 } |
| OLD | NEW |