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

Side by Side Diff: base/base.gyp

Issue 384074: Revert 31765 - Experiment: enable TCMalloc on Linux by default.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 11 years, 1 month 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 | « no previous file | base/leak_annotations.h » ('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 (c) 2009 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2009 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 'chromium_code': 1, 7 'chromium_code': 1,
8 }, 8 },
9 'targets': [ 9 'targets': [
10 { 10 {
(...skipping 361 matching lines...) Expand 10 before | Expand all | Expand 10 after
372 'msvs_disabled_warnings': [ 372 'msvs_disabled_warnings': [
373 4244, 4554, 4018, 4102, 373 4244, 4554, 4018, 4102,
374 ], 374 ],
375 'mac_framework_dirs': [ 375 'mac_framework_dirs': [
376 '$(SDKROOT)/System/Library/Frameworks/ApplicationServices.framework/Fram eworks', 376 '$(SDKROOT)/System/Library/Frameworks/ApplicationServices.framework/Fram eworks',
377 ], 377 ],
378 'conditions': [ 378 'conditions': [
379 [ 'OS == "linux" or OS == "freebsd"', { 379 [ 'OS == "linux" or OS == "freebsd"', {
380 'sources/': [ ['exclude', '_(mac|win|chromeos)\\.cc$'], 380 'sources/': [ ['exclude', '_(mac|win|chromeos)\\.cc$'],
381 ['exclude', '\\.mm?$' ] ], 381 ['exclude', '\\.mm?$' ] ],
382 'variables' : {
383 'linux_use_heapchecker%' : 0,
384 },
382 'conditions': [ 385 'conditions': [
383 [ 'chromeos==1 or toolkit_views==1', { 386 [ 'chromeos==1 or toolkit_views==1', {
384 'sources/': [ ['include', '_chromeos\\.cc$'] ] 387 'sources/': [ ['include', '_chromeos\\.cc$'] ]
385 }, 388 },
386 ], 389 ],
387 [ 'linux_use_tcmalloc==1', { 390 [ 'linux_use_heapchecker==1', {
391 'defines': [
392 'LINUX_USE_HEAPCHECKER',
393 ],
394 'direct_dependent_settings': {
395 'defines': [
396 'LINUX_USE_HEAPCHECKER',
397 ],
398 },
399 },
400 ],
401 # linux_use_heapchecker==1 implies linux_use_tcmalloc=1.
402 [ 'linux_use_tcmalloc==1 or linux_use_heapchecker==1', {
403 'dependencies': [
404 '../third_party/tcmalloc/tcmalloc.gyp:tcmalloc',
405 ],
388 'defines': [ 406 'defines': [
389 'LINUX_USE_TCMALLOC', 407 'LINUX_USE_TCMALLOC',
390 ], 408 ],
391 'direct_dependent_settings': { 409 'direct_dependent_settings': {
392 'defines': [ 410 'defines': [
393 'LINUX_USE_TCMALLOC', 411 'LINUX_USE_TCMALLOC',
394 ], 412 ],
395 }, 413 },
396 }, 414 },
397 ], 415 ],
(...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after
659 '../testing/gmock.gyp:gmock', 677 '../testing/gmock.gyp:gmock',
660 '../testing/gtest.gyp:gtest', 678 '../testing/gtest.gyp:gtest',
661 ], 679 ],
662 'conditions': [ 680 'conditions': [
663 ['OS == "linux" or OS == "freebsd"', { 681 ['OS == "linux" or OS == "freebsd"', {
664 'sources/': [ ['exclude', '\\.mm?$' ] ], 682 'sources/': [ ['exclude', '\\.mm?$' ] ],
665 'sources!': [ 683 'sources!': [
666 'file_version_info_unittest.cc', 684 'file_version_info_unittest.cc',
667 'worker_pool_linux_unittest.cc', 685 'worker_pool_linux_unittest.cc',
668 ], 686 ],
669 'conditions': [
670 [ 'linux_use_tcmalloc==1', {
671 'dependencies': [
672 '../third_party/tcmalloc/tcmalloc.gyp:tcmalloc',
673 ],
674 },
675 ],
676 ],
677 'dependencies': [ 687 'dependencies': [
678 '../build/linux/system.gyp:gtk', 688 '../build/linux/system.gyp:gtk',
679 '../build/linux/system.gyp:nss', 689 '../build/linux/system.gyp:nss',
680 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', 690 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck',
681 ], 691 ],
682 }, { # OS != "linux" and OS != "freebsd" 692 }, { # OS != "linux" and OS != "freebsd"
683 'sources!': [ 693 'sources!': [
684 'message_pump_glib_unittest.cc', 694 'message_pump_glib_unittest.cc',
685 ] 695 ]
686 }], 696 }],
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
851 ], 861 ],
852 }], 862 }],
853 ], 863 ],
854 } 864 }
855 865
856 # Local Variables: 866 # Local Variables:
857 # tab-width:2 867 # tab-width:2
858 # indent-tabs-mode:nil 868 # indent-tabs-mode:nil
859 # End: 869 # End:
860 # vim: set expandtab tabstop=2 shiftwidth=2: 870 # vim: set expandtab tabstop=2 shiftwidth=2:
OLDNEW
« no previous file with comments | « no previous file | base/leak_annotations.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698