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

Side by Side Diff: third_party/tcmalloc/tcmalloc.gyp

Issue 165275: Major changes to the Chrome allocator.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 4 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 | « third_party/tcmalloc/tcmalloc.cc ('k') | third_party/tcmalloc/win_allocator.cc » ('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) 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 'includes': [ 6 'includes': [
7 '../../build/common.gypi', 7 '../../build/common.gypi',
8 ], 8 ],
9 'targets': [ 9 'targets': [
10 { 10 {
(...skipping 13 matching lines...) Expand all
24 'msvs_settings': { 24 'msvs_settings': {
25 'VCLinkerTool': { 25 'VCLinkerTool': {
26 'IgnoreDefaultLibraryNames': ['libcmtd.lib', 'libcmt.lib'], 26 'IgnoreDefaultLibraryNames': ['libcmtd.lib', 'libcmt.lib'],
27 'AdditionalDependencies': [ 27 'AdditionalDependencies': [
28 '<(SHARED_INTERMEDIATE_DIR)/tcmalloc/libcmt.lib' 28 '<(SHARED_INTERMEDIATE_DIR)/tcmalloc/libcmt.lib'
29 ], 29 ],
30 }, 30 },
31 }, 31 },
32 }, 32 },
33 'sources': [ 33 'sources': [
34 # tcmalloc files
34 'tcmalloc/src/base/dynamic_annotations.cc', 35 'tcmalloc/src/base/dynamic_annotations.cc',
36 'tcmalloc/src/base/dynamic_annotations.h',
35 'tcmalloc/src/base/logging.cc', 37 'tcmalloc/src/base/logging.cc',
38 'tcmalloc/src/base/logging.h',
36 'tcmalloc/src/base/low_level_alloc.cc', 39 'tcmalloc/src/base/low_level_alloc.cc',
40 'tcmalloc/src/base/low_level_alloc.h',
37 'tcmalloc/src/base/spinlock.cc', 41 'tcmalloc/src/base/spinlock.cc',
42 'tcmalloc/src/base/spinlock.h',
38 'tcmalloc/src/base/sysinfo.cc', 43 'tcmalloc/src/base/sysinfo.cc',
44 'tcmalloc/src/base/sysinfo.h',
39 'tcmalloc/src/central_freelist.cc', 45 'tcmalloc/src/central_freelist.cc',
46 'tcmalloc/src/central_freelist.h',
40 'tcmalloc/src/common.cc', 47 'tcmalloc/src/common.cc',
48 'tcmalloc/src/common.h',
41 'tcmalloc/src/heap-profile-table.cc', 49 'tcmalloc/src/heap-profile-table.cc',
50 'tcmalloc/src/heap-profile-table.h',
42 'tcmalloc/src/internal_logging.cc', 51 'tcmalloc/src/internal_logging.cc',
52 'tcmalloc/src/internal_logging.h',
53 'tcmalloc/src/linked_list.h',
43 'tcmalloc/src/malloc_extension.cc', 54 'tcmalloc/src/malloc_extension.cc',
44 'tcmalloc/src/malloc_hook.cc', 55 'tcmalloc/src/malloc_hook.cc',
45 'tcmalloc/src/page_heap.cc', 56 'tcmalloc/src/malloc_hook-inl.h',
57 'tcmalloc/src/port.h',
46 'tcmalloc/src/sampler.cc', 58 'tcmalloc/src/sampler.cc',
59 'tcmalloc/src/sampler.h',
47 'tcmalloc/src/span.cc', 60 'tcmalloc/src/span.cc',
61 'tcmalloc/src/span.h',
48 'tcmalloc/src/stack_trace_table.cc', 62 'tcmalloc/src/stack_trace_table.cc',
63 'tcmalloc/src/stack_trace_table.h',
49 'tcmalloc/src/stacktrace.cc', 64 'tcmalloc/src/stacktrace.cc',
65 'tcmalloc/src/stacktrace.h',
50 'tcmalloc/src/static_vars.cc', 66 'tcmalloc/src/static_vars.cc',
67 'tcmalloc/src/static_vars.h',
51 'tcmalloc/src/thread_cache.cc', 68 'tcmalloc/src/thread_cache.cc',
52 'tcmalloc/src/windows/override_functions.cc', 69 'tcmalloc/src/thread_cache.h',
53 'tcmalloc/src/windows/port.cc', 70
71 # tcmalloc forked files
72 'allocator_shim.cc',
73 'page_heap.cc',
74 'port.cc',
75 'system-alloc.h',
76 'tcmalloc.cc',
77 'win_allocator.cc',
78
79 # jemalloc files
80 'jemalloc/jemalloc.c',
81 'jemalloc/jemalloc.h',
82 'jemalloc/ql.h',
83 'jemalloc/qr.h',
84 'jemalloc/rb.h',
85 ],
86 # sources! means that these are not compiled directly.
87 'sources!': [
88 'tcmalloc.cc',
89 'win_allocator.cc',
54 ], 90 ],
55 'msvs_settings': { 91 'msvs_settings': {
56 # TODO(sgk): merge this with build/common.gypi settings 92 # TODO(sgk): merge this with build/common.gypi settings
57 'VCLibrarianTool=': { 93 'VCLibrarianTool=': {
58 'AdditionalOptions': '/ignore:4006,4221', 94 'AdditionalOptions': '/ignore:4006,4221',
59 'AdditionalLibraryDirectories': 95 'AdditionalLibraryDirectories':
60 ['<(DEPTH)/third_party/platformsdk_win2008_6_1/files/Lib'], 96 ['<(DEPTH)/third_party/platformsdk_win2008_6_1/files/Lib'],
61 }, 97 },
62 'VCLinkerTool': { 98 'VCLinkerTool': {
63 'AdditionalOptions': '/ignore:4006', 99 'AdditionalOptions': '/ignore:4006',
(...skipping 24 matching lines...) Expand all
88 'action': [ 124 'action': [
89 './prep_libc.sh', 125 './prep_libc.sh',
90 '$(VCInstallDir)lib', 126 '$(VCInstallDir)lib',
91 '<(SHARED_INTERMEDIATE_DIR)/tcmalloc', 127 '<(SHARED_INTERMEDIATE_DIR)/tcmalloc',
92 ], 128 ],
93 }, 129 },
94 ], 130 ],
95 }, 131 },
96 ], 132 ],
97 } 133 }
OLDNEW
« no previous file with comments | « third_party/tcmalloc/tcmalloc.cc ('k') | third_party/tcmalloc/win_allocator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698