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

Side by Side Diff: chrome/chrome_tests.gypi

Issue 1647453002: allocator cleanup: remove dependencies on allocator from all targets (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 10 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
OLDNEW
1 # Copyright 2013 The Chromium Authors. All rights reserved. 1 # Copyright 2013 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 'variables': { 5 'variables': {
6 'chrome_browser_extensions_test_support_sources': [ 6 'chrome_browser_extensions_test_support_sources': [
7 # A list of sources which is shared between different browser tests. 7 # A list of sources which is shared between different browser tests.
8 'browser/apps/app_browsertest_util.cc', 8 'browser/apps/app_browsertest_util.cc',
9 'browser/apps/app_browsertest_util.h', 9 'browser/apps/app_browsertest_util.h',
10 'browser/extensions/browsertest_util.cc', 10 'browser/extensions/browsertest_util.cc',
(...skipping 1814 matching lines...) Expand 10 before | Expand all | Expand 10 after
1825 '<@(chrome_interactive_ui_test_win_sources)', 1825 '<@(chrome_interactive_ui_test_win_sources)',
1826 1826
1827 # TODO: It would be nice to have these pulled in 1827 # TODO: It would be nice to have these pulled in
1828 # automatically from direct_dependent_settings in 1828 # automatically from direct_dependent_settings in
1829 # their various targets (net.gyp:net_resources, etc.), 1829 # their various targets (net.gyp:net_resources, etc.),
1830 # but that causes errors in other targets when 1830 # but that causes errors in other targets when
1831 # resulting .res files get referenced multiple times. 1831 # resulting .res files get referenced multiple times.
1832 '<(SHARED_INTERMEDIATE_DIR)/chrome_version/other_version.rc', 1832 '<(SHARED_INTERMEDIATE_DIR)/chrome_version/other_version.rc',
1833 '<(SHARED_INTERMEDIATE_DIR)/ui/resources/ui_unscaled_resources.rc', 1833 '<(SHARED_INTERMEDIATE_DIR)/ui/resources/ui_unscaled_resources.rc',
1834 ], 1834 ],
1835 'conditions': [
1836 ['win_use_allocator_shim==1', {
1837 'dependencies': [
1838 '../base/allocator/allocator.gyp:allocator',
1839 ],
1840 }],
1841 ],
1842 'msvs_settings': { 1835 'msvs_settings': {
1843 'VCLinkerTool': { 1836 'VCLinkerTool': {
1844 'conditions': [ 1837 'conditions': [
1845 ['incremental_chrome_dll==1', { 1838 ['incremental_chrome_dll==1', {
1846 'UseLibraryDependencyInputs': "true", 1839 'UseLibraryDependencyInputs': "true",
1847 }], 1840 }],
1848 ], 1841 ],
1849 }, 1842 },
1850 }, 1843 },
1851 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 1844 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
(...skipping 563 matching lines...) Expand 10 before | Expand all | Expand 10 after
2415 'sources': [ 2408 'sources': [
2416 '<(SHARED_INTERMEDIATE_DIR)/chrome_version/other_version.rc', 2409 '<(SHARED_INTERMEDIATE_DIR)/chrome_version/other_version.rc',
2417 '<(SHARED_INTERMEDIATE_DIR)/ui/resources/ui_unscaled_resources.rc', 2410 '<(SHARED_INTERMEDIATE_DIR)/ui/resources/ui_unscaled_resources.rc',
2418 ], 2411 ],
2419 'include_dirs': [ 2412 'include_dirs': [
2420 '<(DEPTH)/third_party/wtl/include', 2413 '<(DEPTH)/third_party/wtl/include',
2421 ], 2414 ],
2422 'dependencies': [ 2415 'dependencies': [
2423 'chrome_version_resources', 2416 'chrome_version_resources',
2424 ], 2417 ],
2425 'conditions': [
2426 ['win_use_allocator_shim==1', {
2427 'dependencies': [
2428 '<(allocator_target)',
2429 ],
2430 }],
2431 ],
2432 }, { # else: OS != "win" 2418 }, { # else: OS != "win"
2433 'sources!': [ 2419 'sources!': [
2434 'app/chrome_command_ids.h', 2420 'app/chrome_command_ids.h',
2435 'app/chrome_dll.rc', 2421 'app/chrome_dll.rc',
2436 'app/chrome_dll_resource.h', 2422 'app/chrome_dll_resource.h',
2437 'app/chrome_version.rc.version', 2423 'app/chrome_version.rc.version',
2438 ], 2424 ],
2439 }], 2425 }],
2440 ['chromeos==0 and use_ash==1', { 2426 ['chromeos==0 and use_ash==1', {
2441 'sources!': [ 2427 'sources!': [
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
2520 'common/time_format_browsertest.cc', 2506 'common/time_format_browsertest.cc',
2521 ], 2507 ],
2522 }], 2508 }],
2523 ['OS=="android"', { 2509 ['OS=="android"', {
2524 'sources!': [ 2510 'sources!': [
2525 'browser/policy/cloud/component_cloud_policy_browsertest.cc', 2511 'browser/policy/cloud/component_cloud_policy_browsertest.cc',
2526 'browser/prefs/pref_hash_browsertest.cc', 2512 'browser/prefs/pref_hash_browsertest.cc',
2527 'browser/ui/bookmarks/bookmark_bubble_sign_in_delegate_browsertest.c c', 2513 'browser/ui/bookmarks/bookmark_bubble_sign_in_delegate_browsertest.c c',
2528 ], 2514 ],
2529 }], 2515 }],
2530 ['os_posix == 1 and OS != "mac" and OS != "android"', {
2531 'conditions': [
2532 ['use_allocator!="none"', {
2533 'dependencies': [
2534 '../base/allocator/allocator.gyp:allocator',
2535 ],
2536 }],
2537 ],
2538 }],
2539 ['chromeos == 1', { 2516 ['chromeos == 1', {
2540 'sources': [ 2517 'sources': [
2541 'browser/extensions/api/networking_private/networking_private_apites t.cc', 2518 'browser/extensions/api/networking_private/networking_private_apites t.cc',
2542 'browser/extensions/api/networking_private/networking_private_chrome os_apitest.cc', 2519 'browser/extensions/api/networking_private/networking_private_chrome os_apitest.cc',
2543 ], 2520 ],
2544 }], 2521 }],
2545 ['toolkit_views==1', { 2522 ['toolkit_views==1', {
2546 'sources': [ '<@(chrome_browser_tests_views_sources)' ], 2523 'sources': [ '<@(chrome_browser_tests_views_sources)' ],
2547 'dependencies': [ 2524 'dependencies': [
2548 '../ui/views/views.gyp:views', 2525 '../ui/views/views.gyp:views',
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after
2745 'sources': [ 2722 'sources': [
2746 '<(SHARED_INTERMEDIATE_DIR)/chrome_version/other_version.rc', 2723 '<(SHARED_INTERMEDIATE_DIR)/chrome_version/other_version.rc',
2747 '<(SHARED_INTERMEDIATE_DIR)/ui/resources/ui_unscaled_resources.rc', 2724 '<(SHARED_INTERMEDIATE_DIR)/ui/resources/ui_unscaled_resources.rc',
2748 ], 2725 ],
2749 'include_dirs': [ 2726 'include_dirs': [
2750 '<(DEPTH)/third_party/wtl/include', 2727 '<(DEPTH)/third_party/wtl/include',
2751 ], 2728 ],
2752 'dependencies': [ 2729 'dependencies': [
2753 'chrome_version_resources', 2730 'chrome_version_resources',
2754 ], 2731 ],
2755 'conditions': [
2756 ['win_use_allocator_shim==1', {
2757 'dependencies': [
2758 '<(allocator_target)',
2759 ],
2760 }],
2761 ],
2762 'configurations': { 2732 'configurations': {
2763 'Debug_Base': { 2733 'Debug_Base': {
2764 'msvs_settings': { 2734 'msvs_settings': {
2765 'VCLinkerTool': { 2735 'VCLinkerTool': {
2766 'LinkIncremental': '<(msvs_debug_link_nonincremental)', 2736 'LinkIncremental': '<(msvs_debug_link_nonincremental)',
2767 }, 2737 },
2768 }, 2738 },
2769 }, 2739 },
2770 } 2740 }
2771 }, { # else: OS != "win" 2741 }, { # else: OS != "win"
(...skipping 28 matching lines...) Expand all
2800 # and can build this target standalone much faster. 2770 # and can build this target standalone much faster.
2801 'dependencies': [ 2771 'dependencies': [
2802 'chrome', 2772 'chrome',
2803 '../components/components.gyp:breakpad_stubs', 2773 '../components/components.gyp:breakpad_stubs',
2804 ], 2774 ],
2805 }, { # OS!="mac" 2775 }, { # OS!="mac"
2806 'sources!': [ 2776 'sources!': [
2807 'test/perf/mach_ports_performancetest.cc', 2777 'test/perf/mach_ports_performancetest.cc',
2808 ], 2778 ],
2809 }], 2779 }],
2810 ['os_posix == 1 and OS != "mac" and OS != "android"', {
2811 'conditions': [
2812 ['use_allocator!="none"', {
2813 'dependencies': [
2814 '../base/allocator/allocator.gyp:allocator',
2815 ],
2816 }],
2817 ],
2818 }],
2819 ['OS=="win" and component!="shared_library" and win_use_allocator_shim== 1', {
2820 'dependencies': [
2821 '<(DEPTH)/base/allocator/allocator.gyp:allocator',
2822 ],
2823 }],
2824 ], # conditions 2780 ], # conditions
2825 }, # target performance_browser_tests 2781 }, # target performance_browser_tests
2826 { 2782 {
2827 # GN version: //chrome/test:sync_integration_test_support 2783 # GN version: //chrome/test:sync_integration_test_support
2828 'target_name': 'test_support_sync_integration', 2784 'target_name': 'test_support_sync_integration',
2829 'type': 'static_library', 2785 'type': 'static_library',
2830 'dependencies': [ 2786 'dependencies': [
2831 'browser', 2787 'browser',
2832 'chrome', 2788 'chrome',
2833 'test_support_common', 2789 'test_support_common',
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
2950 'sources': [ 2906 'sources': [
2951 '<(SHARED_INTERMEDIATE_DIR)/chrome_version/other_version.rc', 2907 '<(SHARED_INTERMEDIATE_DIR)/chrome_version/other_version.rc',
2952 '<(SHARED_INTERMEDIATE_DIR)/ui/resources/ui_unscaled_resources.rc', 2908 '<(SHARED_INTERMEDIATE_DIR)/ui/resources/ui_unscaled_resources.rc',
2953 ], 2909 ],
2954 'include_dirs': [ 2910 'include_dirs': [
2955 '<(DEPTH)/third_party/wtl/include', 2911 '<(DEPTH)/third_party/wtl/include',
2956 ], 2912 ],
2957 'dependencies': [ 2913 'dependencies': [
2958 'chrome_version_resources', 2914 'chrome_version_resources',
2959 ], 2915 ],
2960 'conditions': [
2961 ['win_use_allocator_shim==1', {
2962 'dependencies': [
2963 '<(allocator_target)',
2964 ],
2965 }],
2966 ],
2967 'configurations': { 2916 'configurations': {
2968 'Debug': { 2917 'Debug': {
2969 'msvs_settings': { 2918 'msvs_settings': {
2970 'VCLinkerTool': { 2919 'VCLinkerTool': {
2971 'LinkIncremental': '<(msvs_debug_link_nonincremental)', 2920 'LinkIncremental': '<(msvs_debug_link_nonincremental)',
2972 }, 2921 },
2973 }, 2922 },
2974 }, 2923 },
2975 }, 2924 },
2976 }, { # else: OS != "win" 2925 }, { # else: OS != "win"
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
3057 ['OS=="win"', { 3006 ['OS=="win"', {
3058 'sources': [ 3007 'sources': [
3059 '<(SHARED_INTERMEDIATE_DIR)/chrome_version/other_version.rc', 3008 '<(SHARED_INTERMEDIATE_DIR)/chrome_version/other_version.rc',
3060 ], 3009 ],
3061 'include_dirs': [ 3010 'include_dirs': [
3062 '<(DEPTH)/third_party/wtl/include', 3011 '<(DEPTH)/third_party/wtl/include',
3063 ], 3012 ],
3064 'dependencies': [ 3013 'dependencies': [
3065 'chrome_version_resources', 3014 'chrome_version_resources',
3066 ], 3015 ],
3067 'conditions': [
3068 ['win_use_allocator_shim==1', {
3069 'dependencies': [
3070 '<(allocator_target)',
3071 ],
3072 }],
3073 ],
3074 'configurations': { 3016 'configurations': {
3075 'Debug': { 3017 'Debug': {
3076 'msvs_settings': { 3018 'msvs_settings': {
3077 'VCLinkerTool': { 3019 'VCLinkerTool': {
3078 'LinkIncremental': '<(msvs_debug_link_nonincremental)', 3020 'LinkIncremental': '<(msvs_debug_link_nonincremental)',
3079 }, 3021 },
3080 }, 3022 },
3081 }, 3023 },
3082 }, 3024 },
3083 }, { # else: OS != "win" 3025 }, { # else: OS != "win"
(...skipping 462 matching lines...) Expand 10 before | Expand all | Expand 10 after
3546 'browser', 3488 'browser',
3547 ], 3489 ],
3548 'sources': [ 3490 'sources': [
3549 'tools/service_discovery_sniffer/service_discovery_sniffer.cc', 3491 'tools/service_discovery_sniffer/service_discovery_sniffer.cc',
3550 'tools/service_discovery_sniffer/service_discovery_sniffer.h', 3492 'tools/service_discovery_sniffer/service_discovery_sniffer.h',
3551 ], 3493 ],
3552 }] 3494 }]
3553 }], 3495 }],
3554 ], # 'conditions' 3496 ], # 'conditions'
3555 } 3497 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698