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

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

Issue 55333002: Make possible to check memory allocations inside chromium (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased patch - upload to try Created 6 years, 11 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
« no previous file with comments | « no previous file | base/allocator/allocator_shim.cc » ('j') | base/allocator/allocator_shim.cc » ('J')
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 369 matching lines...) Expand 10 before | Expand all | Expand 10 after
380 # cpuprofiler 380 # cpuprofiler
381 '<(tcmalloc_dir)/src/base/thread_lister.c', 381 '<(tcmalloc_dir)/src/base/thread_lister.c',
382 '<(tcmalloc_dir)/src/base/thread_lister.h', 382 '<(tcmalloc_dir)/src/base/thread_lister.h',
383 '<(tcmalloc_dir)/src/profiledata.cc', 383 '<(tcmalloc_dir)/src/profiledata.cc',
384 '<(tcmalloc_dir)/src/profiledata.h', 384 '<(tcmalloc_dir)/src/profiledata.h',
385 '<(tcmalloc_dir)/src/profile-handler.cc', 385 '<(tcmalloc_dir)/src/profile-handler.cc',
386 '<(tcmalloc_dir)/src/profile-handler.h', 386 '<(tcmalloc_dir)/src/profile-handler.h',
387 '<(tcmalloc_dir)/src/profiler.cc', 387 '<(tcmalloc_dir)/src/profiler.cc',
388 ], 388 ],
389 }], 389 }],
390 ['win_use_allocator_shim==1', {
391 'defines': [ 'WIN_USE_ALLOCATOR_SHIM' ]
392 }],
390 ['OS=="linux" or OS=="freebsd" or OS=="solaris" or OS=="android"', { 393 ['OS=="linux" or OS=="freebsd" or OS=="solaris" or OS=="android"', {
391 'sources!': [ 394 'sources!': [
392 '<(tcmalloc_dir)/src/system-alloc.h', 395 '<(tcmalloc_dir)/src/system-alloc.h',
393 '<(tcmalloc_dir)/src/windows/port.cc', 396 '<(tcmalloc_dir)/src/windows/port.cc',
394 '<(tcmalloc_dir)/src/windows/port.h', 397 '<(tcmalloc_dir)/src/windows/port.h',
395 398
396 # TODO(willchan): Support allocator shim later on. 399 # TODO(willchan): Support allocator shim later on.
397 'allocator_shim.cc', 400 'allocator_shim.cc',
398 401
399 # TODO(willchan): support jemalloc on other platforms 402 # TODO(willchan): support jemalloc on other platforms
(...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after
640 'sources': [ 643 'sources': [
641 'type_profiler_map_unittests.cc', 644 'type_profiler_map_unittests.cc',
642 '<(tcmalloc_dir)/src/gperftools/type_profiler_map.h', 645 '<(tcmalloc_dir)/src/gperftools/type_profiler_map.h',
643 '<(tcmalloc_dir)/src/type_profiler_map.cc', 646 '<(tcmalloc_dir)/src/type_profiler_map.cc',
644 ], 647 ],
645 }, 648 },
646 ], 649 ],
647 }], 650 }],
648 ], 651 ],
649 } 652 }
OLDNEW
« no previous file with comments | « no previous file | base/allocator/allocator_shim.cc » ('j') | base/allocator/allocator_shim.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698