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

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: rebased 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 326 matching lines...) Expand 10 before | Expand all | Expand 10 after
337 'dependencies': [ 337 'dependencies': [
338 '../dbus/dbus.gyp:dbus', 338 '../dbus/dbus.gyp:dbus',
339 '../device/media_transfer_protocol/media_transfer_protocol.gyp:d evice_media_transfer_protocol', 339 '../device/media_transfer_protocol/media_transfer_protocol.gyp:d evice_media_transfer_protocol',
340 ], 340 ],
341 }], 341 }],
342 ['OS=="win" and win_use_allocator_shim==1', { 342 ['OS=="win" and win_use_allocator_shim==1', {
343 'dependencies': [ 343 'dependencies': [
344 '../base/allocator/allocator.gyp:allocator', 344 '../base/allocator/allocator.gyp:allocator',
345 ], 345 ],
346 }], 346 }],
347 ['OS=="linux" and component=="shared_library" and linux_use_tcmalloc ==1', { 347 # TODO(dmikurube): Kill linux_use_tcmalloc. http://crbug.com/345554
348 ['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))', {
348 'dependencies': [ 349 'dependencies': [
349 '<(DEPTH)/base/allocator/allocator.gyp:allocator', 350 '<(DEPTH)/base/allocator/allocator.gyp:allocator',
350 ], 351 ],
351 'link_settings': { 352 'link_settings': {
352 'ldflags': ['-rdynamic'], 353 'ldflags': ['-rdynamic'],
353 }, 354 },
354 }], 355 }],
355 ['configuration_policy==1', { 356 ['configuration_policy==1', {
356 'dependencies': [ 357 'dependencies': [
357 'components.gyp:policy_component', 358 'components.gyp:policy_component',
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after
544 'dependencies': [ 545 'dependencies': [
545 '../base/allocator/allocator.gyp:allocator', 546 '../base/allocator/allocator.gyp:allocator',
546 ], 547 ],
547 }], 548 }],
548 ], 549 ],
549 }, 550 },
550 ], 551 ],
551 }], 552 }],
552 ], 553 ],
553 } 554 }
OLDNEW
« no previous file with comments | « cloud_print/cloud_print.gyp ('k') | components/nacl.gyp » ('j') | ui/keyboard/keyboard.gyp » ('J')

Powered by Google App Engine
This is Rietveld 408576698