Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(625)

Side by Side Diff: base/allocator/allocator.gyp

Issue 1469843002: Remove dependency on allocator from 'content' targets (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@unify_allocator1_2
Patch Set: Fix build Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 'target_defaults': { 6 'target_defaults': {
7 'variables': { 7 'variables': {
8 # This code gets run a lot and debugged rarely, so it should be fast 8 # This code gets run a lot and debugged rarely, so it should be fast
9 # by default. See http://crbug.com/388949. 9 # by default. See http://crbug.com/388949.
10 'debug_optimize': '2', 10 'debug_optimize': '2',
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after
220 '<(tcmalloc_dir)/src/symbolize.cc', 220 '<(tcmalloc_dir)/src/symbolize.cc',
221 '<(tcmalloc_dir)/src/symbolize.h', 221 '<(tcmalloc_dir)/src/symbolize.h',
222 '<(tcmalloc_dir)/src/system-alloc.cc', 222 '<(tcmalloc_dir)/src/system-alloc.cc',
223 '<(tcmalloc_dir)/src/system-alloc.h', 223 '<(tcmalloc_dir)/src/system-alloc.h',
224 '<(tcmalloc_dir)/src/tcmalloc.cc', 224 '<(tcmalloc_dir)/src/tcmalloc.cc',
225 '<(tcmalloc_dir)/src/tcmalloc_guard.h', 225 '<(tcmalloc_dir)/src/tcmalloc_guard.h',
226 '<(tcmalloc_dir)/src/thread_cache.cc', 226 '<(tcmalloc_dir)/src/thread_cache.cc',
227 '<(tcmalloc_dir)/src/thread_cache.h', 227 '<(tcmalloc_dir)/src/thread_cache.h',
228 228
229 'debugallocation_shim.cc', 229 'debugallocation_shim.cc',
230 'tcmalloc_extension.cc',
230 ], 231 ],
231 # sources! means that these are not compiled directly. 232 # sources! means that these are not compiled directly.
232 'sources!': [ 233 'sources!': [
233 # We simply don't use these, but list them above so that IDE 234 # We simply don't use these, but list them above so that IDE
234 # users can view the full available source for reference, etc. 235 # users can view the full available source for reference, etc.
235 '<(tcmalloc_dir)/src/addressmap-inl.h', 236 '<(tcmalloc_dir)/src/addressmap-inl.h',
236 '<(tcmalloc_dir)/src/base/atomicops-internals-linuxppc.h', 237 '<(tcmalloc_dir)/src/base/atomicops-internals-linuxppc.h',
237 '<(tcmalloc_dir)/src/base/atomicops-internals-macosx.h', 238 '<(tcmalloc_dir)/src/base/atomicops-internals-macosx.h',
238 '<(tcmalloc_dir)/src/base/atomicops-internals-x86-msvc.h', 239 '<(tcmalloc_dir)/src/base/atomicops-internals-x86-msvc.h',
239 '<(tcmalloc_dir)/src/base/atomicops-internals-x86.h', 240 '<(tcmalloc_dir)/src/base/atomicops-internals-x86.h',
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
330 ], 331 ],
331 'link_settings': { 332 'link_settings': {
332 'ldflags': [ 333 'ldflags': [
333 # Don't let linker rip this symbol out, otherwise the heap&cpu 334 # Don't let linker rip this symbol out, otherwise the heap&cpu
334 # profilers will not initialize properly on startup. 335 # profilers will not initialize properly on startup.
335 '-Wl,-uIsHeapProfilerRunning,-uProfilerStart', 336 '-Wl,-uIsHeapProfilerRunning,-uProfilerStart',
336 # Do the same for heap leak checker. 337 # Do the same for heap leak checker.
337 '-Wl,-u_Z21InitialMallocHook_NewPKvj,-u_Z22InitialMallocHook_MMapP KvS0_jiiix,-u_Z22InitialMallocHook_SbrkPKvi', 338 '-Wl,-u_Z21InitialMallocHook_NewPKvj,-u_Z22InitialMallocHook_MMapP KvS0_jiiix,-u_Z22InitialMallocHook_SbrkPKvi',
338 '-Wl,-u_Z21InitialMallocHook_NewPKvm,-u_Z22InitialMallocHook_MMapP KvS0_miiil,-u_Z22InitialMallocHook_SbrkPKvl', 339 '-Wl,-u_Z21InitialMallocHook_NewPKvm,-u_Z22InitialMallocHook_MMapP KvS0_miiil,-u_Z22InitialMallocHook_SbrkPKvl',
339 '-Wl,-u_ZN15HeapLeakChecker12IgnoreObjectEPKv,-u_ZN15HeapLeakCheck er14UnIgnoreObjectEPKv', 340 '-Wl,-u_ZN15HeapLeakChecker12IgnoreObjectEPKv,-u_ZN15HeapLeakCheck er14UnIgnoreObjectEPKv',
341 # For InitializeAllocatorWeak function implementation for tcmalloc .
342 '-Wl,-u_ZN4base9allocator23InitializeAllocatorWeakEv',
340 ]}, 343 ]},
341 }], 344 }],
342 [ 'use_vtable_verify==1', { 345 [ 'use_vtable_verify==1', {
343 'cflags': [ 346 'cflags': [
344 '-fvtable-verify=preinit', 347 '-fvtable-verify=preinit',
345 ], 348 ],
346 }], 349 }],
347 ['order_profiling != 0', { 350 ['order_profiling != 0', {
348 'target_conditions' : [ 351 'target_conditions' : [
349 ['_toolset=="target"', { 352 ['_toolset=="target"', {
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
449 ], 452 ],
450 'dependencies': [ 453 'dependencies': [
451 '../../testing/gtest.gyp:gtest', 454 '../../testing/gtest.gyp:gtest',
452 'allocator', 455 'allocator',
453 ], 456 ],
454 }, 457 },
455 ], 458 ],
456 }], 459 }],
457 ], 460 ],
458 } 461 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698