| OLD | NEW |
| 1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2011 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 'pyautolib_sources': [ | 7 'pyautolib_sources': [ |
| 8 'app/chrome_command_ids.h', | 8 'app/chrome_command_ids.h', |
| 9 'app/chrome_dll_resource.h', | 9 'app/chrome_dll_resource.h', |
| 10 'common/automation_constants.h', | 10 'common/automation_constants.h', |
| (...skipping 695 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 706 'browser/ui/webui/options/options_ui_uitest.cc', | 706 'browser/ui/webui/options/options_ui_uitest.cc', |
| 707 'browser/ui/webui/print_preview_ui_uitest.cc', | 707 'browser/ui/webui/print_preview_ui_uitest.cc', |
| 708 'common/chrome_switches_uitest.cc', | 708 'common/chrome_switches_uitest.cc', |
| 709 'common/logging_chrome_uitest.cc', | 709 'common/logging_chrome_uitest.cc', |
| 710 'renderer/external_extension_uitest.cc', | 710 'renderer/external_extension_uitest.cc', |
| 711 'test/automation/automation_proxy_uitest.cc', | 711 'test/automation/automation_proxy_uitest.cc', |
| 712 'test/automation/automation_proxy_uitest.h', | 712 'test/automation/automation_proxy_uitest.h', |
| 713 'test/automation/extension_proxy_uitest.cc', | 713 'test/automation/extension_proxy_uitest.cc', |
| 714 'test/automated_ui_tests/automated_ui_test_test.cc', | 714 'test/automated_ui_tests/automated_ui_test_test.cc', |
| 715 'test/base/chrome_process_util_uitest.cc', | 715 'test/base/chrome_process_util_uitest.cc', |
| 716 'test/ui/dom_checker_uitest.cc', # moving to performance_ui_tests | |
| 717 'test/ui/dromaeo_benchmark_uitest.cc', | |
| 718 'test/ui/history_uitest.cc', | 716 'test/ui/history_uitest.cc', |
| 719 'test/ui/layout_plugin_uitest.cc', | 717 'test/ui/layout_plugin_uitest.cc', |
| 720 'test/ui/named_interface_uitest.cc', | 718 'test/ui/named_interface_uitest.cc', |
| 721 'test/ui/npapi_uitest.cc', | 719 'test/ui/npapi_uitest.cc', |
| 722 'test/ui/ppapi_uitest.cc', | 720 'test/ui/ppapi_uitest.cc', |
| 723 'test/ui/sandbox_uitests.cc', | 721 'test/ui/sandbox_uitests.cc', |
| 724 'test/ui/sunspider_uitest.cc', | |
| 725 'test/ui/v8_benchmark_uitest.cc', | |
| 726 '../content/browser/appcache/appcache_ui_test.cc', | 722 '../content/browser/appcache/appcache_ui_test.cc', |
| 727 '../content/browser/in_process_webkit/dom_storage_uitest.cc', | 723 '../content/browser/in_process_webkit/dom_storage_uitest.cc', |
| 728 '../content/browser/renderer_host/resource_dispatcher_host_uitest.cc', | 724 '../content/browser/renderer_host/resource_dispatcher_host_uitest.cc', |
| 729 '../content/worker/test/worker_uitest.cc', | 725 '../content/worker/test/worker_uitest.cc', |
| 730 ], | 726 ], |
| 731 'conditions': [ | 727 'conditions': [ |
| 732 ['target_arch!="arm"', { | 728 ['target_arch!="arm"', { |
| 733 'dependencies': [ | 729 'dependencies': [ |
| 734 '../webkit/webkit.gyp:copy_npapi_test_plugin', | 730 '../webkit/webkit.gyp:copy_npapi_test_plugin', |
| 735 ], | 731 ], |
| (...skipping 2187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2923 'dependencies+++': [ | 2919 'dependencies+++': [ |
| 2924 '../third_party/WebKit/Source/WebCore/WebCore.gyp/WebCore.gyp:webcor
e', | 2920 '../third_party/WebKit/Source/WebCore/WebCore.gyp/WebCore.gyp:webcor
e', |
| 2925 ], | 2921 ], |
| 2926 # These flags are needed to run the test on Mac. | 2922 # These flags are needed to run the test on Mac. |
| 2927 # Search for comments about "xcode_settings" elsewhere in this file. | 2923 # Search for comments about "xcode_settings" elsewhere in this file. |
| 2928 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-ObjC']}, | 2924 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-ObjC']}, |
| 2929 }], | 2925 }], |
| 2930 ], | 2926 ], |
| 2931 }, # target safe_browsing_tests | 2927 }, # target safe_browsing_tests |
| 2932 { | 2928 { |
| 2933 # TODO(darin): Remove in favor of performance_ui_tests. | |
| 2934 'target_name': 'startup_tests', | |
| 2935 'type': 'executable', | |
| 2936 'dependencies': [ | |
| 2937 'chrome', | |
| 2938 'browser', | |
| 2939 'common', | |
| 2940 'chrome_resources', | |
| 2941 'chrome_strings', | |
| 2942 'test_support_ui', | |
| 2943 '../base/base.gyp:base', | |
| 2944 '../skia/skia.gyp:skia', | |
| 2945 '../testing/gtest.gyp:gtest', | |
| 2946 ], | |
| 2947 'sources': [ | |
| 2948 'test/startup/feature_startup_test.cc', | |
| 2949 'test/startup/shutdown_test.cc', | |
| 2950 'test/startup/startup_test.cc', | |
| 2951 ], | |
| 2952 'conditions': [ | |
| 2953 ['OS=="win" and buildtype=="Official"', { | |
| 2954 'configurations': { | |
| 2955 'Release': { | |
| 2956 'msvs_settings': { | |
| 2957 'VCCLCompilerTool': { | |
| 2958 'WholeProgramOptimization': 'false', | |
| 2959 }, | |
| 2960 }, | |
| 2961 }, | |
| 2962 }, | |
| 2963 },], | |
| 2964 ['toolkit_uses_gtk == 1', { | |
| 2965 'dependencies': [ | |
| 2966 '../build/linux/system.gyp:gtk', | |
| 2967 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', | |
| 2968 ], | |
| 2969 }], | |
| 2970 ['OS=="mac"', { | |
| 2971 # See the comment in this section of the unit_tests target for an | |
| 2972 # explanation (crbug.com/43791 - libwebcore.a is too large to mmap). | |
| 2973 'dependencies+++': [ | |
| 2974 '../third_party/WebKit/Source/WebCore/WebCore.gyp/WebCore.gyp:webcor
e', | |
| 2975 ], | |
| 2976 }], | |
| 2977 ['OS=="win"', { | |
| 2978 'conditions': [ | |
| 2979 ['win_use_allocator_shim==1', { | |
| 2980 'dependencies': [ | |
| 2981 '<(allocator_target)', | |
| 2982 ], | |
| 2983 }], | |
| 2984 ], | |
| 2985 'configurations': { | |
| 2986 'Debug_Base': { | |
| 2987 'msvs_settings': { | |
| 2988 'VCLinkerTool': { | |
| 2989 'LinkIncremental': '<(msvs_large_module_debug_link_mode)', | |
| 2990 }, | |
| 2991 }, | |
| 2992 }, | |
| 2993 }, | |
| 2994 },], | |
| 2995 ['os_posix == 1 and OS != "mac"', { | |
| 2996 'conditions': [ | |
| 2997 ['linux_use_tcmalloc==1', { | |
| 2998 'dependencies': [ | |
| 2999 '../base/allocator/allocator.gyp:allocator', | |
| 3000 ], | |
| 3001 }], | |
| 3002 ], | |
| 3003 }], | |
| 3004 ['toolkit_views==1', { | |
| 3005 'dependencies': [ | |
| 3006 '../views/views.gyp:views', | |
| 3007 ], | |
| 3008 }], | |
| 3009 ], | |
| 3010 }, | |
| 3011 { | |
| 3012 # To run the tests from page_load_test.cc on Linux, we need to: | 2929 # To run the tests from page_load_test.cc on Linux, we need to: |
| 3013 # | 2930 # |
| 3014 # a) Build with Breakpad (GYP_DEFINES="linux_chromium_breakpad=1") | 2931 # a) Build with Breakpad (GYP_DEFINES="linux_chromium_breakpad=1") |
| 3015 # b) Run with CHROME_HEADLESS=1 to generate crash dumps. | 2932 # b) Run with CHROME_HEADLESS=1 to generate crash dumps. |
| 3016 # c) Strip the binary if it's a debug build. (binary may be over 2GB) | 2933 # c) Strip the binary if it's a debug build. (binary may be over 2GB) |
| 3017 'target_name': 'reliability_tests', | 2934 'target_name': 'reliability_tests', |
| 3018 'type': 'executable', | 2935 'type': 'executable', |
| 3019 'dependencies': [ | 2936 'dependencies': [ |
| 3020 'browser', | 2937 'browser', |
| 3021 'chrome', | 2938 'chrome', |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3063 }, | 2980 }, |
| 3064 },], | 2981 },], |
| 3065 ['toolkit_uses_gtk == 1', { | 2982 ['toolkit_uses_gtk == 1', { |
| 3066 'dependencies': [ | 2983 'dependencies': [ |
| 3067 '../build/linux/system.gyp:gtk', | 2984 '../build/linux/system.gyp:gtk', |
| 3068 ], | 2985 ], |
| 3069 },], | 2986 },], |
| 3070 ], | 2987 ], |
| 3071 }, | 2988 }, |
| 3072 { | 2989 { |
| 3073 # TODO(darin): Remove in favor of performance_ui_tests. | |
| 3074 'target_name': 'page_cycler_tests', | |
| 3075 'type': 'executable', | |
| 3076 'dependencies': [ | |
| 3077 'chrome', | |
| 3078 'chrome_resources', | |
| 3079 'chrome_strings', | |
| 3080 'debugger', | |
| 3081 'test_support_common', | |
| 3082 'test_support_ui', | |
| 3083 '../base/base.gyp:base', | |
| 3084 '../skia/skia.gyp:skia', | |
| 3085 '../testing/gtest.gyp:gtest', | |
| 3086 ], | |
| 3087 'sources': [ | |
| 3088 'test/page_cycler/page_cycler_test.cc', | |
| 3089 ], | |
| 3090 'conditions': [ | |
| 3091 ['OS=="win" and buildtype=="Official"', { | |
| 3092 'configurations': { | |
| 3093 'Release': { | |
| 3094 'msvs_settings': { | |
| 3095 'VCCLCompilerTool': { | |
| 3096 'WholeProgramOptimization': 'false', | |
| 3097 }, | |
| 3098 }, | |
| 3099 }, | |
| 3100 }, | |
| 3101 },], | |
| 3102 ['toolkit_uses_gtk == 1', { | |
| 3103 'dependencies': [ | |
| 3104 '../build/linux/system.gyp:gtk', | |
| 3105 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', | |
| 3106 ], | |
| 3107 }], | |
| 3108 ['toolkit_views==1', { | |
| 3109 'dependencies': [ | |
| 3110 '../views/views.gyp:views', | |
| 3111 ], | |
| 3112 }], | |
| 3113 ], | |
| 3114 }, | |
| 3115 { | |
| 3116 'target_name': 'performance_ui_tests', | 2990 'target_name': 'performance_ui_tests', |
| 3117 'type': 'executable', | 2991 'type': 'executable', |
| 3118 'dependencies': [ | 2992 'dependencies': [ |
| 3119 'chrome', | 2993 'chrome', |
| 3120 'chrome_resources', | 2994 'chrome_resources', |
| 3121 'chrome_strings', | 2995 'chrome_strings', |
| 3122 'debugger', | 2996 'debugger', |
| 3123 'test_support_common', | 2997 'test_support_common', |
| 3124 'test_support_ui', | 2998 'test_support_ui', |
| 3125 '../base/base.gyp:base', | 2999 '../base/base.gyp:base', |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3194 ], | 3068 ], |
| 3195 }], | 3069 }], |
| 3196 ['toolkit_views==1', { | 3070 ['toolkit_views==1', { |
| 3197 'dependencies': [ | 3071 'dependencies': [ |
| 3198 '../views/views.gyp:views', | 3072 '../views/views.gyp:views', |
| 3199 ], | 3073 ], |
| 3200 }], | 3074 }], |
| 3201 ], | 3075 ], |
| 3202 }, | 3076 }, |
| 3203 { | 3077 { |
| 3204 # TODO(darin): Remove in favor of performance_ui_tests. | |
| 3205 'target_name': 'tab_switching_test', | |
| 3206 'type': 'executable', | |
| 3207 'run_as': { | |
| 3208 'action': ['$(TargetPath)', '--gtest_print_time'], | |
| 3209 }, | |
| 3210 'dependencies': [ | |
| 3211 'chrome', | |
| 3212 'debugger', | |
| 3213 'test_support_common', | |
| 3214 'test_support_ui', | |
| 3215 'theme_resources', | |
| 3216 'theme_resources_standard', | |
| 3217 '../base/base.gyp:base', | |
| 3218 '../skia/skia.gyp:skia', | |
| 3219 '../testing/gtest.gyp:gtest', | |
| 3220 ], | |
| 3221 'include_dirs': [ | |
| 3222 '..', | |
| 3223 ], | |
| 3224 'sources': [ | |
| 3225 'test/tab_switching/tab_switching_test.cc', | |
| 3226 ], | |
| 3227 'conditions': [ | |
| 3228 ['toolkit_uses_gtk == 1', { | |
| 3229 'dependencies': [ | |
| 3230 '../build/linux/system.gyp:gtk', | |
| 3231 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', | |
| 3232 ], | |
| 3233 }], | |
| 3234 ['OS=="win" and win_use_allocator_shim==1', { | |
| 3235 'dependencies': [ | |
| 3236 '<(allocator_target)', | |
| 3237 ], | |
| 3238 },], | |
| 3239 ], | |
| 3240 }, | |
| 3241 { | |
| 3242 # TODO(darin): Remove in favor of performance_ui_tests. | |
| 3243 'target_name': 'memory_test', | |
| 3244 'type': 'executable', | |
| 3245 'dependencies': [ | |
| 3246 'chrome', | |
| 3247 'debugger', | |
| 3248 'test_support_common', | |
| 3249 'test_support_ui', | |
| 3250 'theme_resources', | |
| 3251 'theme_resources_standard', | |
| 3252 '../base/base.gyp:base', | |
| 3253 '../skia/skia.gyp:skia', | |
| 3254 '../testing/gtest.gyp:gtest', | |
| 3255 ], | |
| 3256 'include_dirs': [ | |
| 3257 '..', | |
| 3258 ], | |
| 3259 'sources': [ | |
| 3260 'test/memory_test/memory_test.cc', | |
| 3261 ], | |
| 3262 'conditions': [ | |
| 3263 ['toolkit_uses_gtk == 1', { | |
| 3264 'dependencies': [ | |
| 3265 '../build/linux/system.gyp:gtk', | |
| 3266 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', | |
| 3267 ], | |
| 3268 }], | |
| 3269 ], | |
| 3270 }, | |
| 3271 { | |
| 3272 'target_name': 'url_fetch_test', | |
| 3273 'type': 'executable', | |
| 3274 'dependencies': [ | |
| 3275 'chrome', | |
| 3276 'debugger', | |
| 3277 'test_support_common', | |
| 3278 'test_support_ui', | |
| 3279 'theme_resources', | |
| 3280 'theme_resources_standard', | |
| 3281 '../base/base.gyp:base', | |
| 3282 '../net/net.gyp:net', | |
| 3283 '../skia/skia.gyp:skia', | |
| 3284 '../testing/gtest.gyp:gtest', | |
| 3285 ], | |
| 3286 'include_dirs': [ | |
| 3287 '..', | |
| 3288 ], | |
| 3289 'sources': [ | |
| 3290 'test/url_fetch_test/url_fetch_test.cc', | |
| 3291 ], | |
| 3292 'conditions': [ | |
| 3293 ['OS=="win"', { | |
| 3294 'include_dirs': [ | |
| 3295 '<(DEPTH)/third_party/wtl/include', | |
| 3296 ], | |
| 3297 'conditions': [ | |
| 3298 ['win_use_allocator_shim==1', { | |
| 3299 'dependencies': [ | |
| 3300 '<(allocator_target)', | |
| 3301 ], | |
| 3302 }], | |
| 3303 ], | |
| 3304 }], # OS="win" | |
| 3305 ], # conditions | |
| 3306 }, | |
| 3307 { | |
| 3308 'target_name': 'sync_unit_tests', | 3078 'target_name': 'sync_unit_tests', |
| 3309 'type': 'executable', | 3079 'type': 'executable', |
| 3310 'sources': [ | 3080 'sources': [ |
| 3311 '<(protoc_out_dir)/chrome/browser/sync/protocol/test.pb.cc', | 3081 '<(protoc_out_dir)/chrome/browser/sync/protocol/test.pb.cc', |
| 3312 'app/breakpad_mac_stubs.mm', | 3082 'app/breakpad_mac_stubs.mm', |
| 3313 'browser/sync/api/sync_change_unittest.cc', | 3083 'browser/sync/api/sync_change_unittest.cc', |
| 3314 'browser/sync/api/sync_error_unittest.cc', | 3084 'browser/sync/api/sync_error_unittest.cc', |
| 3315 'browser/sync/engine/apply_updates_command_unittest.cc', | 3085 'browser/sync/engine/apply_updates_command_unittest.cc', |
| 3316 'browser/sync/engine/build_commit_command_unittest.cc', | 3086 'browser/sync/engine/build_commit_command_unittest.cc', |
| 3317 'browser/sync/engine/clear_data_command_unittest.cc', | 3087 'browser/sync/engine/clear_data_command_unittest.cc', |
| (...skipping 1045 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4363 # Use outputs of this action as inputs for the main target build. | 4133 # Use outputs of this action as inputs for the main target build. |
| 4364 # Seems as a misnomer but makes this happy on Linux (scons). | 4134 # Seems as a misnomer but makes this happy on Linux (scons). |
| 4365 'process_outputs_as_sources': 1, | 4135 'process_outputs_as_sources': 1, |
| 4366 }, | 4136 }, |
| 4367 ], # 'actions' | 4137 ], # 'actions' |
| 4368 }, | 4138 }, |
| 4369 ] | 4139 ] |
| 4370 }], # 'coverage!=0' | 4140 }], # 'coverage!=0' |
| 4371 ], # 'conditions' | 4141 ], # 'conditions' |
| 4372 } | 4142 } |
| OLD | NEW |