| OLD | NEW |
| 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 367 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 378 'msvs_disabled_warnings': [ | 378 'msvs_disabled_warnings': [ |
| 379 4244, 4554, 4018, 4102, | 379 4244, 4554, 4018, 4102, |
| 380 ], | 380 ], |
| 381 'mac_framework_dirs': [ | 381 'mac_framework_dirs': [ |
| 382 '$(SDKROOT)/System/Library/Frameworks/ApplicationServices.framework/Fram
eworks', | 382 '$(SDKROOT)/System/Library/Frameworks/ApplicationServices.framework/Fram
eworks', |
| 383 ], | 383 ], |
| 384 'conditions': [ | 384 'conditions': [ |
| 385 [ 'OS == "linux" or OS == "freebsd"', { | 385 [ 'OS == "linux" or OS == "freebsd"', { |
| 386 'sources/': [ ['exclude', '_(mac|win|chromeos)\\.cc$'], | 386 'sources/': [ ['exclude', '_(mac|win|chromeos)\\.cc$'], |
| 387 ['exclude', '\\.mm?$' ] ], | 387 ['exclude', '\\.mm?$' ] ], |
| 388 'variables' : { | |
| 389 'linux_use_heapchecker%' : 0, | |
| 390 }, | |
| 391 'conditions': [ | 388 'conditions': [ |
| 392 [ 'chromeos==1 or toolkit_views==1', { | 389 [ 'chromeos==1 or toolkit_views==1', { |
| 393 'sources/': [ ['include', '_chromeos\\.cc$'] ] | 390 'sources/': [ ['include', '_chromeos\\.cc$'] ] |
| 394 }, | 391 }, |
| 395 ], | 392 ], |
| 396 [ 'linux_use_heapchecker==1', { | 393 [ 'linux_use_tcmalloc==1', { |
| 397 'defines': [ | |
| 398 'LINUX_USE_HEAPCHECKER', | |
| 399 ], | |
| 400 'direct_dependent_settings': { | |
| 401 'defines': [ | |
| 402 'LINUX_USE_HEAPCHECKER', | |
| 403 ], | |
| 404 }, | |
| 405 }, | |
| 406 ], | |
| 407 # linux_use_heapchecker==1 implies linux_use_tcmalloc=1. | |
| 408 [ 'linux_use_tcmalloc==1 or linux_use_heapchecker==1', { | |
| 409 'dependencies': [ | |
| 410 '../third_party/tcmalloc/tcmalloc.gyp:tcmalloc', | |
| 411 ], | |
| 412 'defines': [ | 394 'defines': [ |
| 413 'LINUX_USE_TCMALLOC', | 395 'LINUX_USE_TCMALLOC', |
| 414 ], | 396 ], |
| 415 'direct_dependent_settings': { | 397 'direct_dependent_settings': { |
| 416 'defines': [ | 398 'defines': [ |
| 417 'LINUX_USE_TCMALLOC', | 399 'LINUX_USE_TCMALLOC', |
| 418 ], | 400 ], |
| 419 }, | 401 }, |
| 420 }, | 402 }, |
| 421 ], | 403 ], |
| (...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 685 '../testing/gmock.gyp:gmock', | 667 '../testing/gmock.gyp:gmock', |
| 686 '../testing/gtest.gyp:gtest', | 668 '../testing/gtest.gyp:gtest', |
| 687 ], | 669 ], |
| 688 'conditions': [ | 670 'conditions': [ |
| 689 ['OS == "linux" or OS == "freebsd"', { | 671 ['OS == "linux" or OS == "freebsd"', { |
| 690 'sources/': [ ['exclude', '\\.mm?$' ] ], | 672 'sources/': [ ['exclude', '\\.mm?$' ] ], |
| 691 'sources!': [ | 673 'sources!': [ |
| 692 'file_version_info_unittest.cc', | 674 'file_version_info_unittest.cc', |
| 693 'worker_pool_linux_unittest.cc', | 675 'worker_pool_linux_unittest.cc', |
| 694 ], | 676 ], |
| 677 'conditions': [ |
| 678 [ 'linux_use_tcmalloc==1', { |
| 679 'dependencies': [ |
| 680 '../third_party/tcmalloc/tcmalloc.gyp:tcmalloc', |
| 681 ], |
| 682 }, |
| 683 ], |
| 684 ], |
| 695 'dependencies': [ | 685 'dependencies': [ |
| 696 '../build/linux/system.gyp:gtk', | 686 '../build/linux/system.gyp:gtk', |
| 697 '../build/linux/system.gyp:nss', | 687 '../build/linux/system.gyp:nss', |
| 698 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', | 688 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', |
| 699 ], | 689 ], |
| 700 }, { # OS != "linux" and OS != "freebsd" | 690 }, { # OS != "linux" and OS != "freebsd" |
| 701 'sources!': [ | 691 'sources!': [ |
| 702 'message_pump_glib_unittest.cc', | 692 'message_pump_glib_unittest.cc', |
| 703 ] | 693 ] |
| 704 }], | 694 }], |
| (...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 869 ], | 859 ], |
| 870 }], | 860 }], |
| 871 ], | 861 ], |
| 872 } | 862 } |
| 873 | 863 |
| 874 # Local Variables: | 864 # Local Variables: |
| 875 # tab-width:2 | 865 # tab-width:2 |
| 876 # indent-tabs-mode:nil | 866 # indent-tabs-mode:nil |
| 877 # End: | 867 # End: |
| 878 # vim: set expandtab tabstop=2 shiftwidth=2: | 868 # vim: set expandtab tabstop=2 shiftwidth=2: |
| OLD | NEW |