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

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

Issue 399081: Enable TCMalloc on Linux by default. (Closed)
Patch Set: Oops, remove unintended change. Created 11 years 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
« no previous file with comments | « chrome/chrome.gyp ('k') | third_party/tcmalloc/tcmalloc_linux.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 '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 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 'tcmalloc/src/raw_printer.h', 114 'tcmalloc/src/raw_printer.h',
115 115
116 # tcmalloc forked files 116 # tcmalloc forked files
117 'allocator_shim.cc', 117 'allocator_shim.cc',
118 'generic_allocators.cc', 118 'generic_allocators.cc',
119 'page_heap.cc', 119 'page_heap.cc',
120 'page_heap.h', 120 'page_heap.h',
121 'port.cc', 121 'port.cc',
122 'system-alloc.h', 122 'system-alloc.h',
123 'tcmalloc.cc', 123 'tcmalloc.cc',
124 'tcmalloc_linux.cc',
124 'win_allocator.cc', 125 'win_allocator.cc',
125 126
126 # jemalloc files 127 # jemalloc files
127 'jemalloc/jemalloc.c', 128 'jemalloc/jemalloc.c',
128 'jemalloc/jemalloc.h', 129 'jemalloc/jemalloc.h',
129 'jemalloc/ql.h', 130 'jemalloc/ql.h',
130 'jemalloc/qr.h', 131 'jemalloc/qr.h',
131 'jemalloc/rb.h', 132 'jemalloc/rb.h',
132 ], 133 ],
133 # sources! means that these are not compiled directly. 134 # sources! means that these are not compiled directly.
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
177 'tcmalloc/src/symbolize.cc', 178 'tcmalloc/src/symbolize.cc',
178 'tcmalloc/src/symbolize.h', 179 'tcmalloc/src/symbolize.h',
179 'tcmalloc/src/system-alloc.cc', 180 'tcmalloc/src/system-alloc.cc',
180 'tcmalloc/src/system-alloc.h', 181 'tcmalloc/src/system-alloc.h',
181 182
182 # use forked version in windows 183 # use forked version in windows
183 'tcmalloc/src/tcmalloc.cc', 184 'tcmalloc/src/tcmalloc.cc',
184 'tcmalloc/src/page_heap.cc', 185 'tcmalloc/src/page_heap.cc',
185 'tcmalloc/src/page_heap.h', 186 'tcmalloc/src/page_heap.h',
186 187
188 # don't use linux forked version
189 'tcmalloc_linux.cc',
190
187 # heap-profiler/checker/cpuprofiler 191 # heap-profiler/checker/cpuprofiler
188 'tcmalloc/src/base/thread_lister.c', 192 'tcmalloc/src/base/thread_lister.c',
189 'tcmalloc/src/base/thread_lister.h', 193 'tcmalloc/src/base/thread_lister.h',
190 'tcmalloc/src/heap-checker-bcad.cc', 194 'tcmalloc/src/heap-checker-bcad.cc',
191 'tcmalloc/src/heap-checker.cc', 195 'tcmalloc/src/heap-checker.cc',
192 'tcmalloc/src/heap-profiler.cc', 196 'tcmalloc/src/heap-profiler.cc',
193 'tcmalloc/src/memory_region_map.cc', 197 'tcmalloc/src/memory_region_map.cc',
194 'tcmalloc/src/memory_region_map.h', 198 'tcmalloc/src/memory_region_map.h',
195 'tcmalloc/src/profiledata.cc', 199 'tcmalloc/src/profiledata.cc',
196 'tcmalloc/src/profiledata.h', 200 'tcmalloc/src/profiledata.h',
197 'tcmalloc/src/profile-handler.cc', 201 'tcmalloc/src/profile-handler.cc',
198 'tcmalloc/src/profile-handler.h', 202 'tcmalloc/src/profile-handler.h',
199 'tcmalloc/src/profiler.cc', 203 'tcmalloc/src/profiler.cc',
200 ], 204 ],
201 }], 205 }],
202 ['OS=="linux"', { 206 ['OS=="linux"', {
203 'sources!': [ 207 'sources!': [
204 'page_heap.cc', 208 'page_heap.cc',
205 'port.cc', 209 'port.cc',
206 'system-alloc.h', 210 'system-alloc.h',
207 'win_allocator.cc', 211 'win_allocator.cc',
208 212
213 # TODO(willchan): unfork this
214 'tcmalloc/src/tcmalloc.cc',
215
209 # TODO(willchan): Support allocator shim later on. 216 # TODO(willchan): Support allocator shim later on.
210 'allocator_shim.cc', 217 'allocator_shim.cc',
211 218
212 # TODO(willchan): support jemalloc on other platforms 219 # TODO(willchan): support jemalloc on other platforms
213 # jemalloc files 220 # jemalloc files
214 'jemalloc/jemalloc.c', 221 'jemalloc/jemalloc.c',
215 'jemalloc/jemalloc.h', 222 'jemalloc/jemalloc.h',
216 'jemalloc/ql.h', 223 'jemalloc/ql.h',
217 'jemalloc/qr.h', 224 'jemalloc/qr.h',
218 'jemalloc/rb.h', 225 'jemalloc/rb.h',
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
279 ], 286 ],
280 }], 287 }],
281 ], 288 ],
282 } 289 }
283 290
284 # Local Variables: 291 # Local Variables:
285 # tab-width:2 292 # tab-width:2
286 # indent-tabs-mode:nil 293 # indent-tabs-mode:nil
287 # End: 294 # End:
288 # vim: set expandtab tabstop=2 shiftwidth=2: 295 # vim: set expandtab tabstop=2 shiftwidth=2:
OLDNEW
« no previous file with comments | « chrome/chrome.gyp ('k') | third_party/tcmalloc/tcmalloc_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698