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

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

Issue 868533003: Tidy up the allocator shim, which is now Windows only. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
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 'target_defaults': { 6 'target_defaults': {
7 'variables': { 7 'variables': {
8 # This code gets run a lot and debugged rarely, so it should be fast 8 # This code gets run a lot and debugged rarely, so it should be fast
9 # by default. See http://crbug.com/388949. 9 # by default. See http://crbug.com/388949.
10 'debug_optimize': '2', 10 'debug_optimize': '2',
(...skipping 302 matching lines...) Expand 10 before | Expand all | Expand 10 after
313 'cflags_cc!': [ 313 'cflags_cc!': [
314 '-fintercept-allocation-functions', 314 '-fintercept-allocation-functions',
315 ], 315 ],
316 }], 316 }],
317 ['OS=="win"', { 317 ['OS=="win"', {
318 'dependencies': [ 318 'dependencies': [
319 'libcmt', 319 'libcmt',
320 ], 320 ],
321 'sources': [ 321 'sources': [
322 'allocator_shim_win.cc', 322 'allocator_shim_win.cc',
323 'generic_allocators.cc',
324 ],
325 # sources! means that these are not compiled directly.
326 'sources!': [
327 # Included by allocator_shim_win.cc for maximal inlining.
328 'generic_allocators.cc',
329 ], 323 ],
330 }], 324 }],
331 ['profiling!=1', { 325 ['profiling!=1', {
332 'sources!': [ 326 'sources!': [
333 # cpuprofiler 327 # cpuprofiler
334 '<(tcmalloc_dir)/src/base/thread_lister.c', 328 '<(tcmalloc_dir)/src/base/thread_lister.c',
335 '<(tcmalloc_dir)/src/base/thread_lister.h', 329 '<(tcmalloc_dir)/src/base/thread_lister.h',
336 '<(tcmalloc_dir)/src/profiledata.cc', 330 '<(tcmalloc_dir)/src/profiledata.cc',
337 '<(tcmalloc_dir)/src/profiledata.h', 331 '<(tcmalloc_dir)/src/profiledata.h',
338 '<(tcmalloc_dir)/src/profile-handler.cc', 332 '<(tcmalloc_dir)/src/profile-handler.cc',
(...skipping 235 matching lines...) Expand 10 before | Expand all | Expand 10 after
574 ], 568 ],
575 'dependencies': [ 569 'dependencies': [
576 '../../testing/gtest.gyp:gtest', 570 '../../testing/gtest.gyp:gtest',
577 'allocator', 571 'allocator',
578 ], 572 ],
579 }, 573 },
580 ], 574 ],
581 }], 575 }],
582 ], 576 ],
583 } 577 }
OLDNEW
« no previous file with comments | « no previous file | base/allocator/allocator_shim_win.cc » ('j') | base/allocator/allocator_shim_win.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698