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

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
« no previous file with comments | « cloud_print/cloud_print.gyp ('k') | components/nacl.gyp » ('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 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 330 matching lines...) Expand 10 before | Expand all | Expand 10 after
341 'dependencies': [ 341 'dependencies': [
342 '../dbus/dbus.gyp:dbus', 342 '../dbus/dbus.gyp:dbus',
343 '../device/media_transfer_protocol/media_transfer_protocol.gyp:d evice_media_transfer_protocol', 343 '../device/media_transfer_protocol/media_transfer_protocol.gyp:d evice_media_transfer_protocol',
344 ], 344 ],
345 }], 345 }],
346 ['OS=="win" and win_use_allocator_shim==1', { 346 ['OS=="win" and win_use_allocator_shim==1', {
347 'dependencies': [ 347 'dependencies': [
348 '../base/allocator/allocator.gyp:allocator', 348 '../base/allocator/allocator.gyp:allocator',
349 ], 349 ],
350 }], 350 }],
351 ['OS=="linux" and component=="shared_library" and linux_use_tcmalloc ==1', { 351 # TODO(dmikurube): Kill linux_use_tcmalloc. http://crbug.com/345554
352 ['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))', {
352 'dependencies': [ 353 'dependencies': [
353 '<(DEPTH)/base/allocator/allocator.gyp:allocator', 354 '<(DEPTH)/base/allocator/allocator.gyp:allocator',
354 ], 355 ],
355 'link_settings': { 356 'link_settings': {
356 'ldflags': ['-rdynamic'], 357 'ldflags': ['-rdynamic'],
357 }, 358 },
358 }], 359 }],
359 ['configuration_policy==1', { 360 ['configuration_policy==1', {
360 'dependencies': [ 361 'dependencies': [
361 'components.gyp:policy_component', 362 'components.gyp:policy_component',
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after
558 'dependencies': [ 559 'dependencies': [
559 '../base/allocator/allocator.gyp:allocator', 560 '../base/allocator/allocator.gyp:allocator',
560 ], 561 ],
561 }], 562 }],
562 ], 563 ],
563 }, 564 },
564 ], 565 ],
565 }], 566 }],
566 ], 567 ],
567 } 568 }
OLDNEW
« no previous file with comments | « cloud_print/cloud_print.gyp ('k') | components/nacl.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698