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/chrome_process_util_uitest.cc', | 715 'test/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 2181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2917 'dependencies+++': [ | 2913 'dependencies+++': [ |
2918 '../third_party/WebKit/Source/WebCore/WebCore.gyp/WebCore.gyp:webcor
e', | 2914 '../third_party/WebKit/Source/WebCore/WebCore.gyp/WebCore.gyp:webcor
e', |
2919 ], | 2915 ], |
2920 # These flags are needed to run the test on Mac. | 2916 # These flags are needed to run the test on Mac. |
2921 # Search for comments about "xcode_settings" elsewhere in this file. | 2917 # Search for comments about "xcode_settings" elsewhere in this file. |
2922 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-ObjC']}, | 2918 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-ObjC']}, |
2923 }], | 2919 }], |
2924 ], | 2920 ], |
2925 }, # target safe_browsing_tests | 2921 }, # target safe_browsing_tests |
2926 { | 2922 { |
2927 # TODO(darin): Remove in favor of performance_ui_tests. | |
2928 'target_name': 'startup_tests', | |
2929 'type': 'executable', | |
2930 'dependencies': [ | |
2931 'chrome', | |
2932 'browser', | |
2933 'common', | |
2934 'chrome_resources', | |
2935 'chrome_strings', | |
2936 'test_support_ui', | |
2937 '../base/base.gyp:base', | |
2938 '../skia/skia.gyp:skia', | |
2939 '../testing/gtest.gyp:gtest', | |
2940 ], | |
2941 'sources': [ | |
2942 'test/startup/feature_startup_test.cc', | |
2943 'test/startup/shutdown_test.cc', | |
2944 'test/startup/startup_test.cc', | |
2945 ], | |
2946 'conditions': [ | |
2947 ['OS=="win" and buildtype=="Official"', { | |
2948 'configurations': { | |
2949 'Release': { | |
2950 'msvs_settings': { | |
2951 'VCCLCompilerTool': { | |
2952 'WholeProgramOptimization': 'false', | |
2953 }, | |
2954 }, | |
2955 }, | |
2956 }, | |
2957 },], | |
2958 ['toolkit_uses_gtk == 1', { | |
2959 'dependencies': [ | |
2960 '../build/linux/system.gyp:gtk', | |
2961 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', | |
2962 ], | |
2963 }], | |
2964 ['OS=="mac"', { | |
2965 # See the comment in this section of the unit_tests target for an | |
2966 # explanation (crbug.com/43791 - libwebcore.a is too large to mmap). | |
2967 'dependencies+++': [ | |
2968 '../third_party/WebKit/Source/WebCore/WebCore.gyp/WebCore.gyp:webcor
e', | |
2969 ], | |
2970 }], | |
2971 ['OS=="win"', { | |
2972 'conditions': [ | |
2973 ['win_use_allocator_shim==1', { | |
2974 'dependencies': [ | |
2975 '<(allocator_target)', | |
2976 ], | |
2977 }], | |
2978 ], | |
2979 'configurations': { | |
2980 'Debug_Base': { | |
2981 'msvs_settings': { | |
2982 'VCLinkerTool': { | |
2983 'LinkIncremental': '<(msvs_large_module_debug_link_mode)', | |
2984 }, | |
2985 }, | |
2986 }, | |
2987 }, | |
2988 },], | |
2989 ['os_posix == 1 and OS != "mac"', { | |
2990 'conditions': [ | |
2991 ['linux_use_tcmalloc==1', { | |
2992 'dependencies': [ | |
2993 '../base/allocator/allocator.gyp:allocator', | |
2994 ], | |
2995 }], | |
2996 ], | |
2997 }], | |
2998 ['toolkit_views==1', { | |
2999 'dependencies': [ | |
3000 '../views/views.gyp:views', | |
3001 ], | |
3002 }], | |
3003 ], | |
3004 }, | |
3005 { | |
3006 # To run the tests from page_load_test.cc on Linux, we need to: | 2923 # To run the tests from page_load_test.cc on Linux, we need to: |
3007 # | 2924 # |
3008 # a) Build with Breakpad (GYP_DEFINES="linux_chromium_breakpad=1") | 2925 # a) Build with Breakpad (GYP_DEFINES="linux_chromium_breakpad=1") |
3009 # b) Run with CHROME_HEADLESS=1 to generate crash dumps. | 2926 # b) Run with CHROME_HEADLESS=1 to generate crash dumps. |
3010 # c) Strip the binary if it's a debug build. (binary may be over 2GB) | 2927 # c) Strip the binary if it's a debug build. (binary may be over 2GB) |
3011 'target_name': 'reliability_tests', | 2928 'target_name': 'reliability_tests', |
3012 'type': 'executable', | 2929 'type': 'executable', |
3013 'dependencies': [ | 2930 'dependencies': [ |
3014 'browser', | 2931 'browser', |
3015 'chrome', | 2932 'chrome', |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3057 }, | 2974 }, |
3058 },], | 2975 },], |
3059 ['toolkit_uses_gtk == 1', { | 2976 ['toolkit_uses_gtk == 1', { |
3060 'dependencies': [ | 2977 'dependencies': [ |
3061 '../build/linux/system.gyp:gtk', | 2978 '../build/linux/system.gyp:gtk', |
3062 ], | 2979 ], |
3063 },], | 2980 },], |
3064 ], | 2981 ], |
3065 }, | 2982 }, |
3066 { | 2983 { |
3067 # TODO(darin): Remove in favor of performance_ui_tests. | |
3068 'target_name': 'page_cycler_tests', | |
3069 'type': 'executable', | |
3070 'dependencies': [ | |
3071 'chrome', | |
3072 'chrome_resources', | |
3073 'chrome_strings', | |
3074 'debugger', | |
3075 'test_support_common', | |
3076 'test_support_ui', | |
3077 '../base/base.gyp:base', | |
3078 '../skia/skia.gyp:skia', | |
3079 '../testing/gtest.gyp:gtest', | |
3080 ], | |
3081 'sources': [ | |
3082 'test/page_cycler/page_cycler_test.cc', | |
3083 ], | |
3084 'conditions': [ | |
3085 ['OS=="win" and buildtype=="Official"', { | |
3086 'configurations': { | |
3087 'Release': { | |
3088 'msvs_settings': { | |
3089 'VCCLCompilerTool': { | |
3090 'WholeProgramOptimization': 'false', | |
3091 }, | |
3092 }, | |
3093 }, | |
3094 }, | |
3095 },], | |
3096 ['toolkit_uses_gtk == 1', { | |
3097 'dependencies': [ | |
3098 '../build/linux/system.gyp:gtk', | |
3099 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', | |
3100 ], | |
3101 }], | |
3102 ['toolkit_views==1', { | |
3103 'dependencies': [ | |
3104 '../views/views.gyp:views', | |
3105 ], | |
3106 }], | |
3107 ], | |
3108 }, | |
3109 { | |
3110 'target_name': 'performance_ui_tests', | 2984 'target_name': 'performance_ui_tests', |
3111 'type': 'executable', | 2985 'type': 'executable', |
3112 'dependencies': [ | 2986 'dependencies': [ |
3113 'chrome', | 2987 'chrome', |
3114 'chrome_resources', | 2988 'chrome_resources', |
3115 'chrome_strings', | 2989 'chrome_strings', |
3116 'debugger', | 2990 'debugger', |
3117 'test_support_common', | 2991 'test_support_common', |
3118 'test_support_ui', | 2992 'test_support_ui', |
3119 '../base/base.gyp:base', | 2993 '../base/base.gyp:base', |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3188 ], | 3062 ], |
3189 }], | 3063 }], |
3190 ['toolkit_views==1', { | 3064 ['toolkit_views==1', { |
3191 'dependencies': [ | 3065 'dependencies': [ |
3192 '../views/views.gyp:views', | 3066 '../views/views.gyp:views', |
3193 ], | 3067 ], |
3194 }], | 3068 }], |
3195 ], | 3069 ], |
3196 }, | 3070 }, |
3197 { | 3071 { |
3198 # TODO(darin): Remove in favor of performance_ui_tests. | |
3199 'target_name': 'tab_switching_test', | |
3200 'type': 'executable', | |
3201 'run_as': { | |
3202 'action': ['$(TargetPath)', '--gtest_print_time'], | |
3203 }, | |
3204 'dependencies': [ | |
3205 'chrome', | |
3206 'debugger', | |
3207 'test_support_common', | |
3208 'test_support_ui', | |
3209 'theme_resources', | |
3210 'theme_resources_standard', | |
3211 '../base/base.gyp:base', | |
3212 '../skia/skia.gyp:skia', | |
3213 '../testing/gtest.gyp:gtest', | |
3214 ], | |
3215 'include_dirs': [ | |
3216 '..', | |
3217 ], | |
3218 'sources': [ | |
3219 'test/tab_switching/tab_switching_test.cc', | |
3220 ], | |
3221 'conditions': [ | |
3222 ['toolkit_uses_gtk == 1', { | |
3223 'dependencies': [ | |
3224 '../build/linux/system.gyp:gtk', | |
3225 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', | |
3226 ], | |
3227 }], | |
3228 ['OS=="win" and win_use_allocator_shim==1', { | |
3229 'dependencies': [ | |
3230 '<(allocator_target)', | |
3231 ], | |
3232 },], | |
3233 ], | |
3234 }, | |
3235 { | |
3236 # TODO(darin): Remove in favor of performance_ui_tests. | |
3237 'target_name': 'memory_test', | |
3238 'type': 'executable', | |
3239 'dependencies': [ | |
3240 'chrome', | |
3241 'debugger', | |
3242 'test_support_common', | |
3243 'test_support_ui', | |
3244 'theme_resources', | |
3245 'theme_resources_standard', | |
3246 '../base/base.gyp:base', | |
3247 '../skia/skia.gyp:skia', | |
3248 '../testing/gtest.gyp:gtest', | |
3249 ], | |
3250 'include_dirs': [ | |
3251 '..', | |
3252 ], | |
3253 'sources': [ | |
3254 'test/memory_test/memory_test.cc', | |
3255 ], | |
3256 'conditions': [ | |
3257 ['toolkit_uses_gtk == 1', { | |
3258 'dependencies': [ | |
3259 '../build/linux/system.gyp:gtk', | |
3260 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', | |
3261 ], | |
3262 }], | |
3263 ], | |
3264 }, | |
3265 { | |
3266 'target_name': 'url_fetch_test', | |
3267 'type': 'executable', | |
3268 'dependencies': [ | |
3269 'chrome', | |
3270 'debugger', | |
3271 'test_support_common', | |
3272 'test_support_ui', | |
3273 'theme_resources', | |
3274 'theme_resources_standard', | |
3275 '../base/base.gyp:base', | |
3276 '../net/net.gyp:net', | |
3277 '../skia/skia.gyp:skia', | |
3278 '../testing/gtest.gyp:gtest', | |
3279 ], | |
3280 'include_dirs': [ | |
3281 '..', | |
3282 ], | |
3283 'sources': [ | |
3284 'test/url_fetch_test/url_fetch_test.cc', | |
3285 ], | |
3286 'conditions': [ | |
3287 ['OS=="win"', { | |
3288 'include_dirs': [ | |
3289 '<(DEPTH)/third_party/wtl/include', | |
3290 ], | |
3291 'conditions': [ | |
3292 ['win_use_allocator_shim==1', { | |
3293 'dependencies': [ | |
3294 '<(allocator_target)', | |
3295 ], | |
3296 }], | |
3297 ], | |
3298 }], # OS="win" | |
3299 ], # conditions | |
3300 }, | |
3301 { | |
3302 'target_name': 'sync_unit_tests', | 3072 'target_name': 'sync_unit_tests', |
3303 'type': 'executable', | 3073 'type': 'executable', |
3304 'sources': [ | 3074 'sources': [ |
3305 '<(protoc_out_dir)/chrome/browser/sync/protocol/test.pb.cc', | 3075 '<(protoc_out_dir)/chrome/browser/sync/protocol/test.pb.cc', |
3306 'app/breakpad_mac_stubs.mm', | 3076 'app/breakpad_mac_stubs.mm', |
3307 'browser/sync/api/sync_change_unittest.cc', | 3077 'browser/sync/api/sync_change_unittest.cc', |
3308 'browser/sync/api/sync_error_unittest.cc', | 3078 'browser/sync/api/sync_error_unittest.cc', |
3309 'browser/sync/engine/apply_updates_command_unittest.cc', | 3079 'browser/sync/engine/apply_updates_command_unittest.cc', |
3310 'browser/sync/engine/build_commit_command_unittest.cc', | 3080 'browser/sync/engine/build_commit_command_unittest.cc', |
3311 'browser/sync/engine/clear_data_command_unittest.cc', | 3081 'browser/sync/engine/clear_data_command_unittest.cc', |
(...skipping 1047 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4359 # Use outputs of this action as inputs for the main target build. | 4129 # Use outputs of this action as inputs for the main target build. |
4360 # Seems as a misnomer but makes this happy on Linux (scons). | 4130 # Seems as a misnomer but makes this happy on Linux (scons). |
4361 'process_outputs_as_sources': 1, | 4131 'process_outputs_as_sources': 1, |
4362 }, | 4132 }, |
4363 ], # 'actions' | 4133 ], # 'actions' |
4364 }, | 4134 }, |
4365 ] | 4135 ] |
4366 }], # 'coverage!=0' | 4136 }], # 'coverage!=0' |
4367 ], # 'conditions' | 4137 ], # 'conditions' |
4368 } | 4138 } |
OLD | NEW |