| 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     '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     'use_vtable_verify%': 0, | 9     'use_vtable_verify%': 0, | 
| 10   }, | 10   }, | 
| (...skipping 411 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 422             'ldflags': [ | 422             'ldflags': [ | 
| 423               # Don't let linker rip this symbol out, otherwise the heap&cpu | 423               # Don't let linker rip this symbol out, otherwise the heap&cpu | 
| 424               # profilers will not initialize properly on startup. | 424               # profilers will not initialize properly on startup. | 
| 425               '-Wl,-uIsHeapProfilerRunning,-uProfilerStart', | 425               '-Wl,-uIsHeapProfilerRunning,-uProfilerStart', | 
| 426               # Do the same for heap leak checker. | 426               # Do the same for heap leak checker. | 
| 427               '-Wl,-u_Z21InitialMallocHook_NewPKvj,-u_Z22InitialMallocHook_MMapP
     KvS0_jiiix,-u_Z22InitialMallocHook_SbrkPKvi', | 427               '-Wl,-u_Z21InitialMallocHook_NewPKvj,-u_Z22InitialMallocHook_MMapP
     KvS0_jiiix,-u_Z22InitialMallocHook_SbrkPKvi', | 
| 428               '-Wl,-u_Z21InitialMallocHook_NewPKvm,-u_Z22InitialMallocHook_MMapP
     KvS0_miiil,-u_Z22InitialMallocHook_SbrkPKvl', | 428               '-Wl,-u_Z21InitialMallocHook_NewPKvm,-u_Z22InitialMallocHook_MMapP
     KvS0_miiil,-u_Z22InitialMallocHook_SbrkPKvl', | 
| 429               '-Wl,-u_ZN15HeapLeakChecker12IgnoreObjectEPKv,-u_ZN15HeapLeakCheck
     er14UnIgnoreObjectEPKv', | 429               '-Wl,-u_ZN15HeapLeakChecker12IgnoreObjectEPKv,-u_ZN15HeapLeakCheck
     er14UnIgnoreObjectEPKv', | 
| 430           ]}, | 430           ]}, | 
| 431         }], | 431         }], | 
|  | 432         # Need to distinguish a non-SDK build for Android WebView | 
|  | 433         # due to differences in C include files. | 
|  | 434         ['OS=="android" and android_webview_build==1', { | 
|  | 435           'defines': ['ANDROID_NON_SDK_BUILD'], | 
|  | 436         }], | 
| 432         [ 'use_vtable_verify==1', { | 437         [ 'use_vtable_verify==1', { | 
| 433           'cflags': [ | 438           'cflags': [ | 
| 434             '-fvtable-verify=preinit', | 439             '-fvtable-verify=preinit', | 
| 435           ], | 440           ], | 
| 436         }], | 441         }], | 
| 437         [ 'linux_keep_shadow_stacks==1', { | 442         [ 'linux_keep_shadow_stacks==1', { | 
| 438           'sources': [ | 443           'sources': [ | 
| 439             '<(tcmalloc_dir)/src/linux_shadow_stacks.cc', | 444             '<(tcmalloc_dir)/src/linux_shadow_stacks.cc', | 
| 440             '<(tcmalloc_dir)/src/linux_shadow_stacks.h', | 445             '<(tcmalloc_dir)/src/linux_shadow_stacks.h', | 
| 441             '<(tcmalloc_dir)/src/stacktrace_shadow-inl.h', | 446             '<(tcmalloc_dir)/src/stacktrace_shadow-inl.h', | 
| (...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 662           'sources': [ | 667           'sources': [ | 
| 663             'type_profiler_map_unittests.cc', | 668             'type_profiler_map_unittests.cc', | 
| 664             '<(tcmalloc_dir)/src/gperftools/type_profiler_map.h', | 669             '<(tcmalloc_dir)/src/gperftools/type_profiler_map.h', | 
| 665             '<(tcmalloc_dir)/src/type_profiler_map.cc', | 670             '<(tcmalloc_dir)/src/type_profiler_map.cc', | 
| 666           ], | 671           ], | 
| 667         }, | 672         }, | 
| 668       ], | 673       ], | 
| 669     }], | 674     }], | 
| 670   ], | 675   ], | 
| 671 } | 676 } | 
| OLD | NEW | 
|---|