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

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

Issue 340065: Upgrade google-perftools to revision 77... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 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 | Annotate | Revision Log
« no previous file with comments | « third_party/tcmalloc/malloc_hook.cc ('k') | no next file » | 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 'targets': [ 6 'targets': [
7 { 7 {
8 'target_name': 'tcmalloc', 8 'target_name': 'tcmalloc',
9 'type': '<(library)', 9 'type': '<(library)',
10 'msvs_guid': 'C564F145-9172-42C3-BFCB-60FDEA124321', 10 'msvs_guid': 'C564F145-9172-42C3-BFCB-60FDEA124321',
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 'tcmalloc/src/thread_cache.h', 81 'tcmalloc/src/thread_cache.h',
82 82
83 # non-windows 83 # non-windows
84 'tcmalloc/src/base/linuxthreads.cc', 84 'tcmalloc/src/base/linuxthreads.cc',
85 'tcmalloc/src/base/linuxthreads.h', 85 'tcmalloc/src/base/linuxthreads.h',
86 'tcmalloc/src/base/vdso_support.cc', 86 'tcmalloc/src/base/vdso_support.cc',
87 'tcmalloc/src/base/vdso_support.h', 87 'tcmalloc/src/base/vdso_support.h',
88 'tcmalloc/src/google/tcmalloc.h', 88 'tcmalloc/src/google/tcmalloc.h',
89 'tcmalloc/src/maybe_threads.cc', 89 'tcmalloc/src/maybe_threads.cc',
90 'tcmalloc/src/maybe_threads.h', 90 'tcmalloc/src/maybe_threads.h',
91 'tcmalloc/src/symbolize.cc',
92 'tcmalloc/src/symbolize.h',
91 'tcmalloc/src/system-alloc.cc', 93 'tcmalloc/src/system-alloc.cc',
92 'tcmalloc/src/system-alloc.h', 94 'tcmalloc/src/system-alloc.h',
93 'tcmalloc/src/tcmalloc.cc', 95 'tcmalloc/src/tcmalloc.cc',
94 96
95 # heap-profiler/checker/cpuprofiler 97 # heap-profiler/checker/cpuprofiler
96 'tcmalloc/src/base/thread_lister.c', 98 'tcmalloc/src/base/thread_lister.c',
97 'tcmalloc/src/base/thread_lister.h', 99 'tcmalloc/src/base/thread_lister.h',
98 'tcmalloc/src/heap-checker-bcad.cc', 100 'tcmalloc/src/heap-checker-bcad.cc',
99 'tcmalloc/src/heap-checker.cc', 101 'tcmalloc/src/heap-checker.cc',
100 'tcmalloc/src/heap-profiler.cc', 102 'tcmalloc/src/heap-profiler.cc',
(...skipping 10 matching lines...) Expand all
111 # tcmalloc forked files 113 # tcmalloc forked files
112 'allocator_shim.cc', 114 'allocator_shim.cc',
113 'generic_allocators.cc', 115 'generic_allocators.cc',
114 'page_heap.cc', 116 'page_heap.cc',
115 'page_heap.h', 117 'page_heap.h',
116 'port.cc', 118 'port.cc',
117 'system-alloc.h', 119 'system-alloc.h',
118 'tcmalloc.cc', 120 'tcmalloc.cc',
119 'win_allocator.cc', 121 'win_allocator.cc',
120 122
121 'malloc_hook.cc',
122
123 # jemalloc files 123 # jemalloc files
124 'jemalloc/jemalloc.c', 124 'jemalloc/jemalloc.c',
125 'jemalloc/jemalloc.h', 125 'jemalloc/jemalloc.h',
126 'jemalloc/ql.h', 126 'jemalloc/ql.h',
127 'jemalloc/qr.h', 127 'jemalloc/qr.h',
128 'jemalloc/rb.h', 128 'jemalloc/rb.h',
129 ], 129 ],
130 # sources! means that these are not compiled directly. 130 # sources! means that these are not compiled directly.
131 'sources!': [ 131 'sources!': [
132 'generic_allocators.cc', 132 'generic_allocators.cc',
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 'include_dirs': [ 164 'include_dirs': [
165 'tcmalloc/src/windows', 165 'tcmalloc/src/windows',
166 ], 166 ],
167 'sources!': [ 167 'sources!': [
168 'tcmalloc/src/base/linuxthreads.cc', 168 'tcmalloc/src/base/linuxthreads.cc',
169 'tcmalloc/src/base/linuxthreads.h', 169 'tcmalloc/src/base/linuxthreads.h',
170 'tcmalloc/src/base/vdso_support.cc', 170 'tcmalloc/src/base/vdso_support.cc',
171 'tcmalloc/src/base/vdso_support.h', 171 'tcmalloc/src/base/vdso_support.h',
172 'tcmalloc/src/maybe_threads.cc', 172 'tcmalloc/src/maybe_threads.cc',
173 'tcmalloc/src/maybe_threads.h', 173 'tcmalloc/src/maybe_threads.h',
174 'tcmalloc/src/symbolize.cc',
175 'tcmalloc/src/symbolize.h',
174 'tcmalloc/src/system-alloc.cc', 176 'tcmalloc/src/system-alloc.cc',
175 'tcmalloc/src/system-alloc.h', 177 'tcmalloc/src/system-alloc.h',
176 178
177 # use forked version in windows 179 # use forked version in windows
178 'tcmalloc/src/tcmalloc.cc', 180 'tcmalloc/src/tcmalloc.cc',
179 'tcmalloc/src/page_heap.cc', 181 'tcmalloc/src/page_heap.cc',
180 'tcmalloc/src/page_heap.h', 182 'tcmalloc/src/page_heap.h',
181 183
182 # heap-profiler/checker/cpuprofiler 184 # heap-profiler/checker/cpuprofiler
183 'tcmalloc/src/base/thread_lister.c', 185 'tcmalloc/src/base/thread_lister.c',
184 'tcmalloc/src/base/thread_lister.h', 186 'tcmalloc/src/base/thread_lister.h',
185 'tcmalloc/src/heap-checker-bcad.cc', 187 'tcmalloc/src/heap-checker-bcad.cc',
186 'tcmalloc/src/heap-checker.cc', 188 'tcmalloc/src/heap-checker.cc',
187 'tcmalloc/src/heap-profiler.cc', 189 'tcmalloc/src/heap-profiler.cc',
188 'tcmalloc/src/memory_region_map.cc', 190 'tcmalloc/src/memory_region_map.cc',
189 'tcmalloc/src/memory_region_map.h', 191 'tcmalloc/src/memory_region_map.h',
190 'tcmalloc/src/profiledata.cc', 192 'tcmalloc/src/profiledata.cc',
191 'tcmalloc/src/profiledata.h', 193 'tcmalloc/src/profiledata.h',
192 'tcmalloc/src/profile-handler.cc', 194 'tcmalloc/src/profile-handler.cc',
193 'tcmalloc/src/profile-handler.h', 195 'tcmalloc/src/profile-handler.h',
194 'tcmalloc/src/profiler.cc', 196 'tcmalloc/src/profiler.cc',
195
196 # don't use linux forked versions
197 'malloc_hook.cc',
198 ], 197 ],
199 }], 198 }],
200 ['OS=="linux"', { 199 ['OS=="linux"', {
201 'sources!': [ 200 'sources!': [
202 'page_heap.cc', 201 'page_heap.cc',
203 'port.cc', 202 'port.cc',
204 'system-alloc.h', 203 'system-alloc.h',
205 'win_allocator.cc', 204 'win_allocator.cc',
206 205
207 # TODO(willchan): Support allocator shim later on. 206 # TODO(willchan): Support allocator shim later on.
208 'allocator_shim.cc', 207 'allocator_shim.cc',
209 208
210 # TODO(willchan): support jemalloc on other platforms 209 # TODO(willchan): support jemalloc on other platforms
211 # jemalloc files 210 # jemalloc files
212 'jemalloc/jemalloc.c', 211 'jemalloc/jemalloc.c',
213 'jemalloc/jemalloc.h', 212 'jemalloc/jemalloc.h',
214 'jemalloc/ql.h', 213 'jemalloc/ql.h',
215 'jemalloc/qr.h', 214 'jemalloc/qr.h',
216 'jemalloc/rb.h', 215 'jemalloc/rb.h',
217
218 # TODO(willchan): Unfork linux.
219 'tcmalloc/src/malloc_hook.cc',
220 ], 216 ],
221 'cflags!': [ 217 'cflags!': [
222 '-fvisibility=hidden', 218 '-fvisibility=hidden',
223 ], 219 ],
224 'link_settings': { 220 'link_settings': {
225 'ldflags': [ 221 'ldflags': [
226 # Don't let linker rip this symbol out, otherwise the heap&cpu 222 # Don't let linker rip this symbol out, otherwise the heap&cpu
227 # profilers will not initialize properly on startup. 223 # profilers will not initialize properly on startup.
228 '-Wl,-uIsHeapProfilerRunning,-uProfilerStart', 224 '-Wl,-uIsHeapProfilerRunning,-uProfilerStart',
229 # Do the same for heap leak checker. 225 # Do the same for heap leak checker.
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
280 ], 276 ],
281 }], 277 }],
282 ], 278 ],
283 } 279 }
284 280
285 # Local Variables: 281 # Local Variables:
286 # tab-width:2 282 # tab-width:2
287 # indent-tabs-mode:nil 283 # indent-tabs-mode:nil
288 # End: 284 # End:
289 # vim: set expandtab tabstop=2 shiftwidth=2: 285 # vim: set expandtab tabstop=2 shiftwidth=2:
OLDNEW
« no previous file with comments | « third_party/tcmalloc/malloc_hook.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698