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

Side by Side Diff: components/components_tests.gyp

Issue 177353002: Add use_allocator instead of linux_use_tcmalloc to switch the allocator. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: ready with use_allocator Created 6 years, 9 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
OLDNEW
1 # Copyright 2012 The Chromium Authors. All rights reserved. 1 # Copyright 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 # This turns on e.g. the filename-based detection of which 7 # This turns on e.g. the filename-based detection of which
8 # platforms to include source files on (e.g. files ending in 8 # platforms to include source files on (e.g. files ending in
9 # _mac.h or _mac.cc are only compiled on MacOSX). 9 # _mac.h or _mac.cc are only compiled on MacOSX).
10 'chromium_code': 1, 10 'chromium_code': 1,
(...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after
278 'dependencies': [ 278 'dependencies': [
279 '../dbus/dbus.gyp:dbus', 279 '../dbus/dbus.gyp:dbus',
280 '../device/media_transfer_protocol/media_transfer_protocol.gyp:d evice_media_transfer_protocol', 280 '../device/media_transfer_protocol/media_transfer_protocol.gyp:d evice_media_transfer_protocol',
281 ], 281 ],
282 }], 282 }],
283 ['OS=="win" and win_use_allocator_shim==1', { 283 ['OS=="win" and win_use_allocator_shim==1', {
284 'dependencies': [ 284 'dependencies': [
285 '../base/allocator/allocator.gyp:allocator', 285 '../base/allocator/allocator.gyp:allocator',
286 ], 286 ],
287 }], 287 }],
288 ['OS=="linux" and component=="shared_library" and linux_use_tcmalloc ==1', { 288 # TODO(dmikurube): Kill linux_use_tcmalloc. http://crbug.com/345554
289 ['OS=="linux" and component=="shared_library" and ((use_allocator!=" none" and use_allocator!="see_use_tcmalloc") or (use_allocator=="see_use_tcmallo c" and linux_use_tcmalloc==1))', {
289 'dependencies': [ 290 'dependencies': [
290 '<(DEPTH)/base/allocator/allocator.gyp:allocator', 291 '<(DEPTH)/base/allocator/allocator.gyp:allocator',
291 ], 292 ],
292 'link_settings': { 293 'link_settings': {
293 'ldflags': ['-rdynamic'], 294 'ldflags': ['-rdynamic'],
294 }, 295 },
295 }], 296 }],
296 ['configuration_policy==1', { 297 ['configuration_policy==1', {
297 'dependencies': [ 298 'dependencies': [
298 'components.gyp:policy_component', 299 'components.gyp:policy_component',
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after
485 'dependencies': [ 486 'dependencies': [
486 '../base/allocator/allocator.gyp:allocator', 487 '../base/allocator/allocator.gyp:allocator',
487 ], 488 ],
488 }], 489 }],
489 ], 490 ],
490 }, 491 },
491 ], 492 ],
492 }], 493 }],
493 ], 494 ],
494 } 495 }
OLDNEW
« ash/ash.gyp ('K') | « cloud_print/cloud_print.gyp ('k') | components/nacl.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698