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

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

Issue 14321006: Adds TCMalloc support for Android. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Always use phtread_once Created 7 years, 7 months 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | build/build_config.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 '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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 'defines': [ 44 'defines': [
45 'PERFTOOLS_DLL_DECL=', 45 'PERFTOOLS_DLL_DECL=',
46 ], 46 ],
47 }], 47 }],
48 ], 48 ],
49 }, 49 },
50 'sources': [ 50 'sources': [
51 # Generated for our configuration from tcmalloc's build 51 # Generated for our configuration from tcmalloc's build
52 # and checked in. 52 # and checked in.
53 '<(tcmalloc_dir)/src/config.h', 53 '<(tcmalloc_dir)/src/config.h',
54 '<(tcmalloc_dir)/src/config_android.h',
54 '<(tcmalloc_dir)/src/config_linux.h', 55 '<(tcmalloc_dir)/src/config_linux.h',
55 '<(tcmalloc_dir)/src/config_win.h', 56 '<(tcmalloc_dir)/src/config_win.h',
56 57
57 # all tcmalloc native and forked files 58 # all tcmalloc native and forked files
58 '<(tcmalloc_dir)/src/addressmap-inl.h', 59 '<(tcmalloc_dir)/src/addressmap-inl.h',
59 '<(tcmalloc_dir)/src/base/abort.cc', 60 '<(tcmalloc_dir)/src/base/abort.cc',
60 '<(tcmalloc_dir)/src/base/abort.h', 61 '<(tcmalloc_dir)/src/base/abort.h',
61 '<(tcmalloc_dir)/src/base/arm_instruction_set_select.h', 62 '<(tcmalloc_dir)/src/base/arm_instruction_set_select.h',
62 '<(tcmalloc_dir)/src/base/atomicops-internals-linuxppc.h', 63 '<(tcmalloc_dir)/src/base/atomicops-internals-linuxppc.h',
63 '<(tcmalloc_dir)/src/base/atomicops-internals-arm-generic.h', 64 '<(tcmalloc_dir)/src/base/atomicops-internals-arm-generic.h',
(...skipping 317 matching lines...) Expand 10 before | Expand all | Expand 10 after
381 '<(tcmalloc_dir)/src/heap-profile-table.h', 382 '<(tcmalloc_dir)/src/heap-profile-table.h',
382 '<(tcmalloc_dir)/src/memory_region_map.cc', 383 '<(tcmalloc_dir)/src/memory_region_map.cc',
383 '<(tcmalloc_dir)/src/memory_region_map.h', 384 '<(tcmalloc_dir)/src/memory_region_map.h',
384 '<(tcmalloc_dir)/src/profiledata.cc', 385 '<(tcmalloc_dir)/src/profiledata.cc',
385 '<(tcmalloc_dir)/src/profiledata.h', 386 '<(tcmalloc_dir)/src/profiledata.h',
386 '<(tcmalloc_dir)/src/profile-handler.cc', 387 '<(tcmalloc_dir)/src/profile-handler.cc',
387 '<(tcmalloc_dir)/src/profile-handler.h', 388 '<(tcmalloc_dir)/src/profile-handler.h',
388 '<(tcmalloc_dir)/src/profiler.cc', 389 '<(tcmalloc_dir)/src/profiler.cc',
389 ], 390 ],
390 }], 391 }],
391 ['OS=="linux" or OS=="freebsd" or OS=="solaris"', { 392 ['OS=="linux" or OS=="freebsd" or OS=="solaris" or OS=="android"', {
392 'sources!': [ 393 'sources!': [
393 '<(tcmalloc_dir)/src/system-alloc.h', 394 '<(tcmalloc_dir)/src/system-alloc.h',
394 '<(tcmalloc_dir)/src/windows/port.cc', 395 '<(tcmalloc_dir)/src/windows/port.cc',
395 '<(tcmalloc_dir)/src/windows/port.h', 396 '<(tcmalloc_dir)/src/windows/port.h',
396 397
397 # TODO(willchan): Support allocator shim later on. 398 # TODO(willchan): Support allocator shim later on.
398 'allocator_shim.cc', 399 'allocator_shim.cc',
399 400
400 # TODO(willchan): support jemalloc on other platforms 401 # TODO(willchan): support jemalloc on other platforms
401 # jemalloc files 402 # jemalloc files
(...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after
665 'sources': [ 666 'sources': [
666 'type_profiler_map_unittests.cc', 667 'type_profiler_map_unittests.cc',
667 '<(tcmalloc_dir)/src/gperftools/type_profiler_map.h', 668 '<(tcmalloc_dir)/src/gperftools/type_profiler_map.h',
668 '<(tcmalloc_dir)/src/type_profiler_map.cc', 669 '<(tcmalloc_dir)/src/type_profiler_map.cc',
669 ], 670 ],
670 }, 671 },
671 ], 672 ],
672 }], 673 }],
673 ], 674 ],
674 } 675 }
OLDNEW
« no previous file with comments | « no previous file | build/build_config.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698