Componentize ShortcutsBackend
[chromium-blink-merge.git] / chrome / chrome_tests.gypi
blob71cca06a9ccaf6a9026eefccac705c6ed9d451b1
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
3 # found in the LICENSE file.
5   'variables': {
6     'chrome_browser_extensions_test_support_sources': [
7       # A list of sources which is shared between different browser tests.
8       'browser/apps/app_browsertest_util.cc',
9       'browser/apps/app_browsertest_util.h',
10       'browser/extensions/browsertest_util.cc',
11       'browser/extensions/browsertest_util.h',
12       'browser/extensions/extension_apitest.cc',
13       'browser/extensions/extension_apitest.h',
14       'browser/extensions/extension_browsertest.cc',
15       'browser/extensions/extension_browsertest.h',
16       'browser/extensions/extension_function_test_utils.cc',
17       'browser/extensions/extension_function_test_utils.h',
18       'browser/extensions/extension_test_notification_observer.cc',
19       'browser/extensions/extension_test_notification_observer.h',
20       'browser/extensions/updater/extension_cache_fake.cc',
21       'browser/extensions/updater/extension_cache_fake.h',
22     ],
23     'chrome_browser_tests_sources': [
24       # The list of sources which is only used by chrome browser tests.
25       '../apps/app_restore_service_browsertest.cc',
26       '../apps/load_and_launch_browsertest.cc',
27       '../components/autofill/content/renderer/test_password_autofill_agent.cc',
28       '../components/autofill/content/renderer/test_password_autofill_agent.h',
29       '../components/autofill/content/renderer/test_password_generation_agent.cc',
30       '../components/autofill/content/renderer/test_password_generation_agent.h',
31       # TODO(rockot): Remove this once extensions_browsertests exists.
32       '../extensions/browser/api/app_window/app_window_apitest.cc',
33       '../extensions/browser/api/bluetooth/bluetooth_apitest.cc',
34       '../extensions/browser/api/bluetooth/bluetooth_private_apitest.cc',
35       '../extensions/browser/api/bluetooth_low_energy/bluetooth_low_energy_apitest.cc',
36       '../extensions/browser/api/cast_channel/cast_channel_apitest.cc',
37       '../extensions/browser/api/runtime/runtime_apitest.cc',
38       '../extensions/browser/api/serial/serial_apitest.cc',
39       '../extensions/browser/api/usb/usb_manual_apitest.cc',
40       '../extensions/browser/app_window/app_window_browsertest.cc',
41       '../extensions/browser/guest_view/extension_options/extension_options_apitest.cc',
42       '../extensions/browser/guest_view/mime_handler_view/mime_handler_view_browsertest.cc',
43       '../extensions/renderer/console_apitest.cc',
44       '../extensions/renderer/script_context_browsertest.cc',
45       'app/chrome_command_ids.h',
46       'app/chrome_dll.rc',
47       'app/chrome_dll_resource.h',
48       'app/chrome_version.rc.version',
49       'browser/accessibility/browser_accessibility_state_browsertest.cc',
50       'browser/app_controller_mac_browsertest.mm',
51       'browser/apps/app_browsertest.cc',
52       'browser/apps/app_shim/app_shim_host_manager_browsertest_mac.mm',
53       'browser/apps/app_shim/test/app_shim_host_manager_test_api_mac.cc',
54       'browser/apps/app_shim/test/app_shim_host_manager_test_api_mac.h',
55       'browser/apps/app_url_redirector_browsertest.cc',
56       'browser/apps/app_window_browsertest.cc',
57       'browser/apps/ephemeral_app_browsertest.cc',
58       'browser/apps/ephemeral_app_browsertest.h',
59       'browser/apps/ephemeral_app_launcher_browsertest.cc',
60       'browser/apps/ephemeral_app_service_browsertest.cc',
61       'browser/apps/event_page_browsertest.cc',
62       'browser/apps/guest_view/app_view_browsertest.cc',
63       'browser/apps/guest_view/extension_view/extension_view_browsertest.cc',
64       'browser/apps/guest_view/web_view_browsertest.cc',
65       'browser/apps/speech_recognition_browsertest.cc',
66       'browser/apps/window_controls_browsertest.cc',
67       'browser/autocomplete/autocomplete_browsertest.cc',
68       'browser/autofill/autofill_browsertest.cc',
69       'browser/autofill/autofill_server_browsertest.cc',
70       'browser/autofill/content_autofill_driver_browsertest.cc',
71       'browser/autofill/form_structure_browsertest.cc',
72       'browser/banners/app_banner_data_fetcher_browsertest.cc',
73       'browser/bitmap_fetcher/bitmap_fetcher_browsertest.cc',
74       'browser/browser_encoding_browsertest.cc',
75       'browser/browsing_data/browsing_data_database_helper_browsertest.cc',
76       'browser/browsing_data/browsing_data_helper_browsertest.h',
77       'browser/browsing_data/browsing_data_indexed_db_helper_browsertest.cc',
78       'browser/browsing_data/browsing_data_local_storage_helper_browsertest.cc',
79       'browser/browsing_data/browsing_data_remover_browsertest.cc',
80       'browser/browsing_data/browsing_data_remover_test_util.cc',
81       'browser/browsing_data/browsing_data_remover_test_util.h',
82       'browser/chrome_content_browser_client_browsertest.cc',
83       'browser/chrome_main_browsertest.cc',
84       'browser/chrome_plugin_browsertest.cc',
85       'browser/chrome_security_exploit_browsertest.cc',
86       'browser/chrome_service_worker_browsertest.cc',
87       'browser/chrome_site_per_process_browsertest.cc',
88       'browser/chrome_switches_browsertest.cc',
89       'browser/collected_cookies_browsertest.cc',
90       'browser/content_settings/content_settings_browsertest.cc',
91       'browser/crash_recovery_browsertest.cc',
92       'browser/custom_handlers/protocol_handler_registry_browsertest.cc',
93       'browser/devtools/device/adb/adb_client_socket_browsertest.cc',
94       'browser/devtools/device/adb/mock_adb_server.cc',
95       'browser/devtools/device/adb/mock_adb_server.h',
96       'browser/devtools/device/port_forwarding_browsertest.cc',
97       'browser/devtools/device/usb/android_usb_browsertest.cc',
98       'browser/devtools/device/webrtc/devtools_bridge_client_browsertest.cc',
99       'browser/devtools/device/webrtc/devtools_bridge_client_browsertest.h',
100       'browser/devtools/device/webrtc/webrtc_device_provider_browsertest.cc',
101       'browser/devtools/devtools_sanity_browsertest.cc',
102       'browser/devtools/devtools_window_testing.cc',
103       'browser/devtools/devtools_window_testing.h',
104       'browser/do_not_track_browsertest.cc',
105       'browser/dom_distiller/dom_distiller_viewer_source_browsertest.cc',
106       'browser/dom_distiller/tab_utils_browsertest.cc',
107       'browser/download/download_browsertest.cc',
108       'browser/download/download_browsertest.h',
109       'browser/download/download_danger_prompt_browsertest.cc',
110       'browser/download/download_started_animation_browsertest.cc',
111       'browser/download/save_page_browsertest.cc',
112       'browser/errorpage_browsertest.cc',
113       'browser/extensions/active_script_controller_browsertest.cc',
114       'browser/extensions/active_tab_apitest.cc',
115       'browser/extensions/activity_log/activity_log_browsertest.cc',
116       'browser/extensions/activity_log/ad_injection_browsertest.cc',
117       'browser/extensions/activity_log/uma_policy_browsertest.cc',
118       'browser/extensions/alert_apitest.cc',
119       'browser/extensions/all_urls_apitest.cc',
120       'browser/extensions/api/activity_log_private/activity_log_private_apitest.cc',
121       'browser/extensions/api/autofill_private/autofill_private_apitest.cc',
122       'browser/extensions/api/automation/automation_apitest.cc',
123       'browser/extensions/api/autotest_private/autotest_private_apitest.cc',
124       'browser/extensions/api/bookmark_manager_private/bookmark_manager_private_apitest.cc',
125       'browser/extensions/api/bookmarks/bookmark_apitest.cc',
126       'browser/extensions/api/braille_display_private/braille_display_private_apitest.cc',
127       'browser/extensions/api/braille_display_private/mock_braille_controller.cc',
128       'browser/extensions/api/braille_display_private/mock_braille_controller.h',
129       'browser/extensions/api/browser/browser_apitest.cc',
130       'browser/extensions/api/browsing_data/browsing_data_test.cc',
131       'browser/extensions/api/cast_streaming/cast_streaming_apitest.cc',
132       'browser/extensions/api/cloud_print_private/cloud_print_private_apitest.cc',
133       'browser/extensions/api/command_line_private/command_line_private_apitest.cc',
134       'browser/extensions/api/commands/command_service_browsertest.cc',
135       'browser/extensions/api/content_settings/content_settings_apitest.cc',
136       'browser/extensions/api/context_menus/context_menu_apitest.cc',
137       'browser/extensions/api/cookies/cookies_apitest.cc',
138       'browser/extensions/api/debugger/debugger_apitest.cc',
139       'browser/extensions/api/debugger/debugger_extension_apitest.cc',
140       'browser/extensions/api/declarative/declarative_apitest.cc',
141       'browser/extensions/api/declarative_content/declarative_content_apitest.cc',
142       'browser/extensions/api/declarative_content/request_content_script_apitest.cc',
143       'browser/extensions/api/declarative_content/set_icon_apitest.cc',
144       'browser/extensions/api/desktop_capture/desktop_capture_apitest.cc',
145       'browser/extensions/api/developer_private/developer_private_apitest.cc',
146       'browser/extensions/api/dial/dial_apitest.cc',
147       'browser/extensions/api/downloads/downloads_api_browsertest.cc',
148       'browser/extensions/api/enterprise_platform_keys/enterprise_platform_keys_apitest_nss.cc',
149       'browser/extensions/api/extension_action/browser_action_apitest.cc',
150       'browser/extensions/api/extension_action/browser_action_browsertest.cc',
151       'browser/extensions/api/extension_action/page_action_apitest.cc',
152       'browser/extensions/api/feedback_private/feedback_browsertest.cc',
153       'browser/extensions/api/feedback_private/feedback_private_apitest.cc',
154       'browser/extensions/api/file_system/file_system_apitest.cc',
155       'browser/extensions/api/file_system/file_system_apitest_chromeos.cc',
156       'browser/extensions/api/font_settings/font_settings_apitest.cc',
157       'browser/extensions/api/gcd_private/gcd_private_apitest.cc',
158       'browser/extensions/api/gcm/gcm_apitest.cc',
159       'browser/extensions/api/history/history_apitest.cc',
160       'browser/extensions/api/hotword_private/hotword_private_apitest.cc',
161       'browser/extensions/api/i18n/i18n_apitest.cc',
162       'browser/extensions/api/identity/identity_apitest.cc',
163       'browser/extensions/api/idltest/idltest_apitest.cc',
164       'browser/extensions/api/image_writer_private/image_writer_private_apitest.cc',
165       'browser/extensions/api/image_writer_private/test_utils.cc',
166       'browser/extensions/api/inline_install_private/inline_install_private_apitest.cc',
167       'browser/extensions/api/input_ime/input_ime_apitest_chromeos.cc',
168       'browser/extensions/api/instance_id/instance_id_apitest.cc',
169       'browser/extensions/api/log_private/log_private_apitest_chromeos.cc',
170       'browser/extensions/api/management/management_api_browsertest.cc',
171       'browser/extensions/api/management/management_apitest.cc',
172       'browser/extensions/api/management/management_browsertest.cc',
173       'browser/extensions/api/mdns/mdns_apitest.cc',
174       'browser/extensions/api/media_galleries/media_galleries_apitest.cc',
175       'browser/extensions/api/media_galleries/media_galleries_watch_apitest.cc',
176       'browser/extensions/api/messaging/native_messaging_apitest.cc',
177       'browser/extensions/api/metrics_private/metrics_apitest.cc',
178       'browser/extensions/api/module/module_apitest.cc',
179       'browser/extensions/api/music_manager_private/music_manager_private_browsertest.cc',
180       'browser/extensions/api/networking_config_chromeos_apitest_chromeos.cc',
181       'browser/extensions/api/notification_provider/notification_provider_apitest.cc',
182       'browser/extensions/api/omnibox/omnibox_api_browsertest.cc',
183       'browser/extensions/api/page_capture/page_capture_apitest.cc',
184       'browser/extensions/api/passwords_private/passwords_private_apitest.cc',
185       'browser/extensions/api/permissions/permissions_apitest.cc',
186       'browser/extensions/api/platform_keys/platform_keys_apitest_nss.cc',
187       'browser/extensions/api/preference/preference_apitest.cc',
188       'browser/extensions/api/preferences_private/preferences_private_apitest.cc',
189       'browser/extensions/api/processes/processes_apitest.cc',
190       'browser/extensions/api/proxy/proxy_apitest.cc',
191       'browser/extensions/api/reading_list_private/reading_list_private_apitest.cc',
192       'browser/extensions/api/screenlock_private/screenlock_private_apitest.cc',
193       'browser/extensions/api/search_engines_private/search_engines_private_apitest.cc',
194       'browser/extensions/api/sessions/sessions_apitest.cc',
195       'browser/extensions/api/settings_overrides/settings_overrides_browsertest.cc',
196       'browser/extensions/api/settings_private/settings_private_apitest.cc',
197       'browser/extensions/api/socket/socket_apitest.cc',
198       'browser/extensions/api/storage/settings_apitest.cc',
199       'browser/extensions/api/streams_private/streams_private_apitest.cc',
200       'browser/extensions/api/sync_file_system/sync_file_system_apitest.cc',
201       'browser/extensions/api/sync_file_system/sync_file_system_browsertest.cc',
202       'browser/extensions/api/system_indicator/system_indicator_apitest.cc',
203       'browser/extensions/api/system_private/system_private_apitest.cc',
204       'browser/extensions/api/tab_capture/tab_capture_apitest.cc',
205       'browser/extensions/api/tabs/tabs_test.cc',
206       'browser/extensions/api/terminal/terminal_private_apitest.cc',
207       'browser/extensions/api/test/apitest_apitest.cc',
208       'browser/extensions/api/top_sites/top_sites_apitest.cc',
209       'browser/extensions/api/web_navigation/web_navigation_apitest.cc',
210       'browser/extensions/api/web_request/web_request_apitest.cc',
211       'browser/extensions/api/webrtc_audio_private/webrtc_audio_private_browsertest.cc',
212       'browser/extensions/api/webrtc_logging_private/webrtc_logging_private_apitest.cc',
213       'browser/extensions/api/webstore_private/webstore_private_apitest.cc',
214       'browser/extensions/app_background_page_apitest.cc',
215       'browser/extensions/app_process_apitest.cc',
216       'browser/extensions/background_app_browsertest.cc',
217       'browser/extensions/background_page_apitest.cc',
218       'browser/extensions/background_scripts_apitest.cc',
219       'browser/extensions/background_xhr_browsertest.cc',
220       'browser/extensions/browsertest_util_browsertest.cc',
221       'browser/extensions/chrome_app_api_browsertest.cc',
222       'browser/extensions/chrome_ui_overrides_browsertest.cc',
223       'browser/extensions/content_capabilities_browsertest.cc',
224       'browser/extensions/content_script_apitest.cc',
225       'browser/extensions/content_security_policy_apitest.cc',
226       'browser/extensions/content_verifier_browsertest.cc',
227       'browser/extensions/convert_web_app_browsertest.cc',
228       'browser/extensions/crazy_extension_browsertest.cc',
229       'browser/extensions/cross_origin_xhr_apitest.cc',
230       'browser/extensions/crx_installer_browsertest.cc',
231       'browser/extensions/docs/examples/apps/calculator_browsertest.cc',
232       'browser/extensions/error_console/error_console_browsertest.cc',
233       'browser/extensions/events_apitest.cc',
234       'browser/extensions/execute_script_apitest.cc',
235       'browser/extensions/extension_bindings_apitest.cc',
236       'browser/extensions/extension_context_menu_browsertest.cc',
237       'browser/extensions/extension_disabled_ui_browsertest.cc',
238       'browser/extensions/extension_dom_clipboard_apitest.cc',
239       'browser/extensions/extension_fileapi_apitest.cc',
240       'browser/extensions/extension_functional_browsertest.cc',
241       'browser/extensions/extension_geolocation_apitest.cc',
242       'browser/extensions/extension_get_views_apitest.cc',
243       'browser/extensions/extension_icon_source_apitest.cc',
244       'browser/extensions/extension_incognito_apitest.cc',
245       'browser/extensions/extension_install_prompt_browsertest.cc',
246       'browser/extensions/extension_install_ui_browsertest.cc',
247       'browser/extensions/extension_javascript_url_apitest.cc',
248       'browser/extensions/extension_loading_browsertest.cc',
249       'browser/extensions/extension_management_test_util.cc',
250       'browser/extensions/extension_management_test_util.h',
251       'browser/extensions/extension_messages_apitest.cc',
252       'browser/extensions/extension_override_apitest.cc',
253       'browser/extensions/extension_request_limiting_throttle_browsertest.cc',
254       'browser/extensions/extension_resource_request_policy_apitest.cc',
255       'browser/extensions/extension_startup_browsertest.cc',
256       'browser/extensions/extension_storage_apitest.cc',
257       'browser/extensions/extension_storage_monitor_browsertest.cc',
258       'browser/extensions/extension_tabs_apitest.cc',
259       'browser/extensions/extension_url_rewrite_browsertest.cc',
260       'browser/extensions/extension_view_host_factory_browsertest.cc',
261       'browser/extensions/extension_websocket_apitest.cc',
262       'browser/extensions/extension_webui_apitest.cc',
263       'browser/extensions/gpu_browsertest.cc',
264       'browser/extensions/hotword_browsertest.cc',
265       'browser/extensions/isolated_app_browsertest.cc',
266       'browser/extensions/lazy_background_page_apitest.cc',
267       'browser/extensions/lazy_background_page_test_util.h',
268       'browser/extensions/mutation_observers_apitest.cc',
269       'browser/extensions/options_page_apitest.cc',
270       'browser/extensions/page_action_browsertest.cc',
271       'browser/extensions/plugin_apitest.cc',
272       'browser/extensions/process_management_browsertest.cc',
273       'browser/extensions/process_manager_browsertest.cc',
274       'browser/extensions/requirements_checker_browsertest.cc',
275       'browser/extensions/sandboxed_pages_apitest.cc',
276       'browser/extensions/shared_module_apitest.cc',
277       'browser/extensions/signin/gaia_auth_extension_loader_browsertest.cc',
278       'browser/extensions/startup_helper_browsertest.cc',
279       'browser/extensions/stubs_apitest.cc',
280       'browser/extensions/subscribe_page_action_browsertest.cc',
281       'browser/extensions/web_contents_browsertest.cc',
282       'browser/extensions/webstore_inline_installer_browsertest.cc',
283       'browser/extensions/webstore_installer_browsertest.cc',
284       'browser/extensions/webstore_installer_test.cc',
285       'browser/extensions/webstore_installer_test.h',
286       'browser/extensions/webstore_reinstaller_browsertest.cc',
287       'browser/extensions/webstore_startup_installer_browsertest.cc',
288       'browser/extensions/window_open_apitest.cc',
289       'browser/external_extension_browsertest.cc',
290       'browser/fast_shutdown_browsertest.cc',
291       'browser/favicon/content_favicon_driver_browsertest.cc',
292       'browser/first_run/first_run_browsertest.cc',
293       'browser/first_run/try_chrome_dialog_view_browsertest.cc',
294       'browser/geolocation/access_token_store_browsertest.cc',
295       'browser/geolocation/geolocation_browsertest.cc',
296       'browser/history/history_browsertest.cc',
297       'browser/history/redirect_browsertest.cc',
298       'browser/iframe_browsertest.cc',
299       'browser/image_decoder_browsertest.cc',
300       'browser/importer/firefox_importer_browsertest.cc',
301       'browser/importer/ie_importer_browsertest_win.cc',
302       'browser/importer/importer_unittest_utils.cc',
303       'browser/importer/importer_unittest_utils.h',
304       'browser/infobars/infobars_browsertest.cc',
305       'browser/interstitials/security_interstitial_page_test_utils.cc',
306       'browser/interstitials/security_interstitial_page_test_utils.h',
307       'browser/invalidation/profile_invalidation_provider_factory_browsertest.cc',
308       'browser/lifetime/browser_close_manager_browsertest.cc',
309       'browser/loadtimes_extension_bindings_browsertest.cc',
310       'browser/locale_tests_browsertest.cc',
311       'browser/media/chrome_media_stream_infobar_browsertest.cc',
312       'browser/media/chrome_webrtc_apprtc_browsertest.cc',
313       'browser/media/chrome_webrtc_audio_quality_browsertest.cc',
314       'browser/media/chrome_webrtc_browsertest.cc',
315       'browser/media/chrome_webrtc_disable_encryption_flag_browsertest.cc',
316       'browser/media/chrome_webrtc_getmediadevices_browsertest.cc',
317       'browser/media/chrome_webrtc_perf_browsertest.cc',
318       'browser/media/chrome_webrtc_simulcast_browsertest.cc',
319       'browser/media/chrome_webrtc_video_quality_browsertest.cc',
320       'browser/media/chrome_webrtc_webcam_browsertest.cc',
321       'browser/media/encrypted_media_browsertest.cc',
322       'browser/media/encrypted_media_istypesupported_browsertest.cc',
323       'browser/media/media_browsertest.cc',
324       'browser/media/media_browsertest.h',
325       'browser/media/media_stream_devices_controller_browsertest.cc',
326       'browser/media/test_license_server.cc',
327       'browser/media/test_license_server.h',
328       'browser/media/test_license_server_config.h',
329       'browser/media/webrtc_browsertest_audio.cc',
330       'browser/media/webrtc_browsertest_audio.h',
331       'browser/media/webrtc_browsertest_base.cc',
332       'browser/media/webrtc_browsertest_base.h',
333       'browser/media/webrtc_browsertest_common.cc',
334       'browser/media/webrtc_browsertest_common.h',
335       'browser/media/webrtc_browsertest_perf.cc',
336       'browser/media/webrtc_browsertest_perf.h',
337       'browser/media/wv_test_license_server_config.cc',
338       'browser/media/wv_test_license_server_config.h',
339       'browser/media_galleries/fileapi/iapps_finder_impl_win_browsertest.cc',
340       'browser/media_galleries/fileapi/media_file_validator_browsertest.cc',
341       'browser/media_galleries/media_galleries_dialog_controller_mock.cc',
342       'browser/media_galleries/media_galleries_dialog_controller_mock.h',
343       'browser/metrics/metrics_memory_details_browsertest.cc',
344       'browser/metrics/metrics_service_browsertest.cc',
345       'browser/net/cookie_policy_browsertest.cc',
346       'browser/net/dns_probe_browsertest.cc',
347       'browser/net/ftp_browsertest.cc',
348       'browser/net/load_timing_browsertest.cc',
349       'browser/net/nss_context_chromeos_browsertest.cc',
350       'browser/net/predictor_browsertest.cc',
351       'browser/net/proxy_browsertest.cc',
352       'browser/net/sdch_browsertest.cc',
353       'browser/net/websocket_browsertest.cc',
354       'browser/password_manager/password_manager_browsertest.cc',
355       'browser/pdf/pdf_extension_test.cc',
356       'browser/plugins/plugin_power_saver_browsertest.cc',
357       'browser/prefetch/prefetch_browsertest.cc',
358       'browser/prefs/pref_functional_browsertest.cc',
359       'browser/prefs/pref_service_browsertest.cc',
360       'browser/prefs/synced_pref_change_registrar_browsertest.cc',
361       'browser/prefs/tracked/pref_hash_browsertest.cc',
362       'browser/prerender/prerender_browsertest.cc',
363       'browser/printing/cloud_print/test/cloud_print_policy_browsertest.cc',
364       'browser/printing/cloud_print/test/cloud_print_proxy_process_browsertest.cc',
365       'browser/printing/print_preview_dialog_controller_browsertest.cc',
366       'browser/printing/print_preview_pdf_generated_browsertest.cc',
367       'browser/process_singleton_browsertest.cc',
368       'browser/profile_resetter/profile_resetter_browsertest.cc',
369       'browser/profiles/host_zoom_map_browsertest.cc',
370       'browser/profiles/profile_browsertest.cc',
371       'browser/profiles/profile_list_desktop_browsertest.cc',
372       'browser/profiles/profile_manager_browsertest.cc',
373       'browser/profiles/profile_window_browsertest.cc',
374       'browser/push_messaging/push_messaging_browsertest.cc',
375       'browser/referrer_policy_browsertest.cc',
376       'browser/renderer_context_menu/render_view_context_menu_browsertest.cc',
377       'browser/renderer_context_menu/render_view_context_menu_browsertest_util.cc',
378       'browser/renderer_context_menu/render_view_context_menu_browsertest_util.h',
379       'browser/renderer_context_menu/render_view_context_menu_test_util.cc',
380       'browser/renderer_context_menu/render_view_context_menu_test_util.h',
381       'browser/renderer_context_menu/spellchecker_submenu_observer_browsertest.cc',
382       'browser/renderer_context_menu/spelling_menu_observer_browsertest.cc',
383       'browser/renderer_host/chrome_resource_dispatcher_host_delegate_browsertest.cc',
384       'browser/renderer_host/render_process_host_chrome_browsertest.cc',
385       'browser/repost_form_warning_browsertest.cc',
386       'browser/safe_json_parser_browsertest.cc',
387       'browser/search/hotword_installer_browsertest.cc',
388       'browser/search/suggestions/image_fetcher_impl_browsertest.cc',
389       'browser/service_process/service_process_control_browsertest.cc',
390       'browser/services/gcm/fake_gcm_profile_service.cc',
391       'browser/services/gcm/fake_gcm_profile_service.h',
392       'browser/sessions/better_session_restore_browsertest.cc',
393       'browser/sessions/persistent_tab_restore_service_browsertest.cc',
394       'browser/sessions/session_restore_browsertest.cc',
395       'browser/sessions/session_restore_browsertest_chromeos.cc',
396       'browser/sessions/tab_restore_browsertest.cc',
397       'browser/spellchecker/spellcheck_service_browsertest.cc',
398       'browser/ssl/captive_portal_blocking_page_browsertest.cc',
399       'browser/ssl/certificate_reporting_test_utils.cc',
400       'browser/ssl/certificate_reporting_test_utils.h',
401       'browser/ssl/chrome_ssl_host_state_delegate_test.cc',
402       'browser/ssl/ssl_browser_tests.cc',
403       'browser/ssl/ssl_client_certificate_selector_test.cc',
404       'browser/ssl/ssl_client_certificate_selector_test.h',
405       'browser/sync_file_system/mock_local_change_processor.cc',
406       'browser/sync_file_system/mock_local_change_processor.h',
407       'browser/sync_file_system/mock_remote_file_sync_service.cc',
408       'browser/sync_file_system/mock_remote_file_sync_service.h',
409       'browser/tab_contents/view_source_browsertest.cc',
410       'browser/task_management/providers/web_contents/background_contents_tag_browsertest.cc',
411       'browser/task_management/providers/web_contents/devtools_tag_browsertest.cc',
412       'browser/task_manager/task_manager_browsertest.cc',
413       'browser/task_manager/task_manager_browsertest_util.cc',
414       'browser/task_manager/task_manager_browsertest_util.h',
415       'browser/themes/theme_service_browsertest.cc',
416       'browser/tracing/chrome_tracing_delegate_browsertest.cc',
417       'browser/translate/cld_data_harness.cc',
418       'browser/translate/cld_data_harness.h',
419       'browser/translate/cld_data_harness_factory.cc',
420       'browser/translate/cld_data_harness_factory.h',
421       'browser/translate/component_cld_data_harness.cc',
422       'browser/translate/component_cld_data_harness.h',
423       'browser/translate/standalone_cld_data_harness.cc',
424       'browser/translate/standalone_cld_data_harness.h',
425       'browser/translate/translate_browsertest.cc',
426       'browser/translate/translate_manager_browsertest.cc',
427       'browser/ui/ash/accelerator_commands_browsertest.cc',
428       'browser/ui/ash/accelerator_controller_browsertest.cc',
429       'browser/ui/ash/keyboard_controller_browsertest.cc',
430       'browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc',
431       'browser/ui/ash/launcher/launcher_favicon_loader_browsertest.cc',
432       'browser/ui/ash/multi_user/multi_user_window_manager_test.cc',
433       'browser/ui/ash/multi_user/multi_user_window_manager_test.h',
434       'browser/ui/ash/shelf_browsertest.cc',
435       'browser/ui/ash/system_tray_delegate_chromeos_browsertest_chromeos.cc',
436       'browser/ui/ash/volume_controller_browsertest_chromeos.cc',
437       'browser/ui/autofill/autofill_dialog_controller_browsertest.cc',
438       'browser/ui/autofill/autofill_dialog_view_tester.h',
439       'browser/ui/autofill/card_unmask_prompt_view_browsertest.cc',
440       'browser/ui/autofill/card_unmask_prompt_view_tester.h',
441       'browser/ui/autofill/mock_address_validator.cc',
442       'browser/ui/autofill/mock_address_validator.h',
443       'browser/ui/autofill/password_generation_popup_view_browsertest.cc',
444       'browser/ui/autofill/password_generation_popup_view_tester.h',
445       'browser/ui/autofill/test_generated_credit_card_bubble_controller.cc',
446       'browser/ui/autofill/test_generated_credit_card_bubble_controller.h',
447       'browser/ui/autofill/test_generated_credit_card_bubble_view.cc',
448       'browser/ui/autofill/test_generated_credit_card_bubble_view.h',
449       'browser/ui/blocked_content/popup_blocker_browsertest.cc',
450       'browser/ui/bookmarks/bookmark_browsertest.cc',
451       'browser/ui/browser_browsertest.cc',
452       'browser/ui/browser_command_controller_browsertest.cc',
453       'browser/ui/browser_navigator_browsertest.cc',
454       'browser/ui/browser_navigator_browsertest.h',
455       'browser/ui/browser_navigator_browsertest_chromeos.cc',
456       'browser/ui/browser_tabrestore_browsertest.cc',
457       'browser/ui/cocoa/accelerators_cocoa_browsertest.mm',
458       'browser/ui/cocoa/applescript/browsercrapplication+applescript_test.mm',
459       'browser/ui/cocoa/applescript/window_applescript_test.mm',
460       'browser/ui/cocoa/apps/app_shim_menu_controller_mac_browsertest.mm',
461       'browser/ui/cocoa/apps/native_app_window_cocoa_browsertest.mm',
462       'browser/ui/cocoa/autofill/autofill_dialog_cocoa_browsertest.mm',
463       'browser/ui/cocoa/autofill/autofill_dialog_view_tester_cocoa.h',
464       'browser/ui/cocoa/autofill/autofill_dialog_view_tester_cocoa.mm',
465       'browser/ui/cocoa/browser_window_controller_browsertest.mm',
466       'browser/ui/cocoa/certificate_viewer_mac_browsertest.mm',
467       'browser/ui/cocoa/constrained_window/constrained_window_mac_browsertest.mm',
468       'browser/ui/cocoa/content_settings/collected_cookies_mac_browsertest.mm',
469       'browser/ui/cocoa/content_settings/content_setting_bubble_cocoa_unittest.mm',
470       'browser/ui/cocoa/dev_tools_controller_browsertest.mm',
471       'browser/ui/cocoa/extensions/extension_install_dialog_controller_browsertest.mm',
472       'browser/ui/cocoa/extensions/extension_install_prompt_test_utils.h',
473       'browser/ui/cocoa/extensions/extension_install_prompt_test_utils.mm',
474       'browser/ui/cocoa/extensions/extension_message_bubble_browsertest_mac.mm',
475       'browser/ui/cocoa/extensions/media_galleries_dialog_cocoa_browsertest.mm',
476       'browser/ui/cocoa/extensions/windowed_install_dialog_controller_browsertest.mm',
477       'browser/ui/cocoa/find_bar/find_bar_browsertest.mm',
478       'browser/ui/cocoa/location_bar/zoom_decoration_browsertest.mm',
479       'browser/ui/cocoa/omnibox/omnibox_view_mac_browsertest.mm',
480       'browser/ui/cocoa/one_click_signin_bubble_controller_browsertest.mm',
481       'browser/ui/cocoa/one_click_signin_dialog_controller_browsertest.mm',
482       'browser/ui/cocoa/passwords/manage_passwords_bubble_browsertest.mm',
483       'browser/ui/cocoa/profiles/profile_signin_confirmation_view_controller_browsertest.mm',
484       'browser/ui/cocoa/ssl_client_certificate_selector_cocoa_browsertest.mm',
485       'browser/ui/cocoa/view_id_util_browsertest.mm',
486       'browser/ui/cocoa/web_contents_modal_dialog_manager_views_mac_browsertest.mm',
487       'browser/ui/cocoa/website_settings/permission_bubble_cocoa_browser_test.mm',
488       'browser/ui/content_settings/content_setting_bubble_model_browsertest.cc',
489       'browser/ui/exclusive_access/fullscreen_controller_browsertest.cc',
490       'browser/ui/extensions/extension_message_bubble_browsertest.cc',
491       'browser/ui/extensions/extension_message_bubble_browsertest.h',
492       'browser/ui/extensions/hosted_app_browsertest.cc',
493       'browser/ui/find_bar/find_bar_host_browsertest.cc',
494       'browser/ui/global_error/global_error_service_browsertest.cc',
495       'browser/ui/location_bar/location_bar_browsertest.cc',
496       'browser/ui/login/login_prompt_browsertest.cc',
497       'browser/ui/native_window_tracker_browsertest.cc',
498       'browser/ui/panels/panel_extension_browsertest.cc',
499       'browser/ui/passwords/manage_passwords_test.cc',
500       'browser/ui/prefs/prefs_tab_helper_browsertest.cc',
501       'browser/ui/search/new_tab_page_interceptor_browsertest.cc',
502       'browser/ui/search_engines/search_engine_tab_helper_browsertest.cc',
503       'browser/ui/settings_window_manager_browsertest.cc',
504       'browser/ui/startup/startup_browser_creator_browsertest.cc',
505       'browser/ui/sync/one_click_signin_bubble_links_delegate_browsertest.cc',
506       'browser/ui/sync/profile_signin_confirmation_helper_browsertest.cc',
507       'browser/ui/tab_modal_confirm_dialog_browsertest.cc',
508       'browser/ui/tab_modal_confirm_dialog_browsertest.h',
509       'browser/ui/test/scoped_fake_nswindow_main_status.h',
510       'browser/ui/test/scoped_fake_nswindow_main_status.mm',
511       'browser/ui/toolbar/browser_actions_bar_browsertest.cc',
512       'browser/ui/toolbar/browser_actions_bar_browsertest.h',
513       'browser/ui/toolbar/component_toolbar_actions_browsertest.cc',
514       'browser/ui/toolbar/test_toolbar_model.cc',
515       'browser/ui/toolbar/test_toolbar_model.h',
516       'browser/ui/website_settings/mock_permission_bubble_view.cc',
517       'browser/ui/website_settings/mock_permission_bubble_view.h',
518       'browser/ui/website_settings/permission_bubble_browser_test_util.cc',
519       'browser/ui/website_settings/permission_bubble_browser_test_util.h',
520       'browser/ui/webui/bidi_checker_web_ui_test.cc',
521       'browser/ui/webui/bidi_checker_web_ui_test.h',
522       'browser/ui/webui/bookmarks_ui_browsertest.cc',
523       'browser/ui/webui/chrome_url_data_manager_browsertest.cc',
524       'browser/ui/webui/constrained_web_dialog_ui_browsertest.cc',
525       'browser/ui/webui/downloads_dom_handler_browsertest.cc',
526       'browser/ui/webui/downloads_ui_browsertest.cc',
527       'browser/ui/webui/downloads_ui_browsertest.h',
528       'browser/ui/webui/extensions/extension_settings_browsertest.cc',
529       'browser/ui/webui/extensions/extension_settings_browsertest.h',
530       'browser/ui/webui/identity_internals_ui_browsertest.cc',
531       'browser/ui/webui/identity_internals_ui_browsertest.h',
532       'browser/ui/webui/inspect_ui_browsertest.cc',
533       'browser/ui/webui/interstitials/interstitial_ui_browsertest.cc',
534       'browser/ui/webui/net_internals/net_internals_ui_browsertest.cc',
535       'browser/ui/webui/net_internals/net_internals_ui_browsertest.h',
536       'browser/ui/webui/ntp/new_tab_page_sync_handler_browsertest.cc',
537       'browser/ui/webui/ntp/new_tab_ui_browsertest.cc',
538       'browser/ui/webui/options/clear_browser_data_browsertest.cc',
539       'browser/ui/webui/options/content_settings_exception_area_browsertest.cc',
540       'browser/ui/webui/options/options_browsertest.cc',
541       'browser/ui/webui/options/options_ui_browsertest.cc',
542       'browser/ui/webui/options/options_ui_browsertest.h',
543       'browser/ui/webui/password_manager_internals/password_manager_internals_ui_browsertest.cc',
544       'browser/ui/webui/print_preview/print_preview_ui_browsertest.cc',
545       'browser/ui/webui/signin/inline_login_ui_browsertest.cc',
546       'browser/ui/webui/signin/user_manager_ui_browsertest.cc',
547       'browser/ui/webui/uber/uber_ui_browsertest.cc',
548       'browser/ui/webui/web_ui_test_handler.cc',
549       'browser/ui/webui/web_ui_test_handler.h',
550       'browser/ui/webui/webui_webview_browsertest.cc',
551       'browser/ui/zoom/zoom_controller_browsertest.cc',
552       'browser/unload_browsertest.cc',
553       'common/mac/app_mode_chrome_locator_browsertest.mm',
554       'common/mac/mock_launchd.cc',
555       'common/mac/mock_launchd.h',
556       'common/time_format_browsertest.cc',
557       'renderer/autofill/autofill_renderer_browsertest.cc',
558       'renderer/autofill/form_autocomplete_browsertest.cc',
559       'renderer/autofill/form_autofill_browsertest.cc',
560       'renderer/autofill/page_click_tracker_browsertest.cc',
561       'renderer/autofill/password_autofill_agent_browsertest.cc',
562       'renderer/autofill/password_generation_agent_browsertest.cc',
563       'renderer/autofill/password_generation_test_utils.cc',
564       'renderer/autofill/password_generation_test_utils.h',
565       'renderer/chrome_content_renderer_client_browsertest.cc',
566       'renderer/content_settings_observer_browsertest.cc',
567       'renderer/media/cast_session_browsertest.cc',
568       'renderer/translate/translate_helper_browsertest.cc',
569       'renderer/translate/translate_script_browsertest.cc',
570       'test/base/chrome_render_view_test.cc',
571       'test/base/chrome_render_view_test.h',
572       'test/base/in_process_browser_test_browsertest.cc',
573       'test/base/javascript_browser_test.cc',
574       'test/base/javascript_browser_test.h',
575       'test/base/test_chrome_web_ui_controller_factory.cc',
576       'test/base/test_chrome_web_ui_controller_factory.h',
577       'test/base/test_chrome_web_ui_controller_factory_browsertest.cc',
578       'test/base/tracing_browsertest.cc',
579       'test/base/web_ui_browser_test.cc',
580       'test/base/web_ui_browser_test.h',
581       'test/base/web_ui_browser_test_browsertest.cc',
582       'test/data/webui/async_gen.cc',
583       'test/data/webui/async_gen.h',
584       'test/data/webui/certificate_viewer_ui_test-inl.h',
585       'test/data/webui/chrome_send_browsertest.cc',
586       'test/data/webui/chrome_send_browsertest.h',
587       'test/data/webui/history_ui_browsertest.cc',
588       'test/data/webui/history_ui_browsertest.h',
589       'test/data/webui/ntp4_browsertest.cc',
590       'test/data/webui/ntp4_browsertest.h',
591       'test/data/webui/print_preview.cc',
592       'test/data/webui/print_preview.h',
593       'test/data/webui/webui_resource_browsertest.cc',
594       'test/gpu/webgl_infobar_browsertest.cc',
595       'test/ppapi/ppapi_browsertest.cc',
596     ],
597     # Cross-platform views browser tests ready for toolkit-views on Mac.
598     'chrome_browser_tests_views_sources': [
599       'browser/ui/views/extensions/extension_uninstall_dialog_view_browsertest.cc',
600       'browser/ui/views/frame/browser_non_client_frame_view_ash_browsertest.cc',
601       'browser/ui/views/frame/browser_window_property_manager_browsertest_win.cc',
602       'browser/ui/views/select_file_dialog_extension_browsertest.cc',
603     ],
604     # Cross-platform (except Mac) views browser tests. Assumes app list is
605     # enabled (as for chrome_browser_ui_views_non_mac_sources).
606     'chrome_browser_tests_views_non_mac_sources': [
607       # TODO(tapted): These assume the AppListService is views-based. Enable
608       # with toolkit-views app launcher on Mac. http://crbug.com/365977.
609       'browser/apps/custom_launcher_page_browsertest_views.cc',
610       'browser/ui/app_list/app_list_service_views_browsertest.cc',
612       # TODO(tapted): Move these to chrome_browser_tests_views_sources when the
613       # the corresponding files are moved in chrome_browser_ui.gypi (i.e. out of
614       # chrome_browser_ui_views_non_mac_sources). http://crbug.com/404979.
615       'browser/ui/views/autofill/autofill_dialog_view_tester_views.cc',
616       'browser/ui/views/autofill/autofill_dialog_view_tester_views.h',
617       'browser/ui/views/autofill/autofill_popup_base_view_browsertest.cc',
618       'browser/ui/views/autofill/card_unmask_prompt_view_tester_views.cc',
619       'browser/ui/views/autofill/card_unmask_prompt_view_tester_views.h',
620       'browser/ui/views/autofill/password_generation_popup_view_tester_views.cc',
621       'browser/ui/views/autofill/password_generation_popup_view_tester_views.h',
622       'browser/ui/views/bookmarks/bookmark_bubble_sign_in_delegate_browsertest.cc',
623       'browser/ui/views/collected_cookies_views_browsertest.cc',
624       'browser/ui/views/extensions/bookmark_override_browsertest.cc',
625       'browser/ui/views/extensions/extension_install_dialog_view_browsertest.cc',
626       'browser/ui/views/extensions/extension_message_bubble_view_browsertest.cc',
627       'browser/ui/views/frame/browser_view_browsertest.cc',
628       'browser/ui/views/location_bar/zoom_bubble_view_browsertest.cc',
629       'browser/ui/views/media_router/media_router_ui_browsertest.cc',
630       'browser/ui/views/profiles/avatar_menu_button_browsertest.cc',
631       'browser/ui/views/profiles/profile_chooser_view_browsertest.cc',
632       'browser/ui/views/toolbar/browser_actions_container_browsertest.cc',
633       'browser/ui/views/toolbar/toolbar_view_browsertest.cc',
634       'browser/ui/views/translate/translate_bubble_view_browsertest.cc',
635       'browser/ui/views/web_dialog_view_browsertest.cc',
636     ],
637     'chrome_browser_tests_chromeos_sources': [
638       'browser/chromeos/accessibility/accessibility_manager_browsertest.cc',
639       'browser/chromeos/accessibility/magnification_manager_browsertest.cc',
640       'browser/chromeos/accessibility/speech_monitor.cc',
641       'browser/chromeos/accessibility/speech_monitor.h',
642       'browser/chromeos/accessibility/touch_exploration_controller_browsertest.cc',
643       'browser/chromeos/app_mode/kiosk_app_manager_browsertest.cc',
644       'browser/chromeos/app_mode/kiosk_app_update_service_browsertest.cc',
645       'browser/chromeos/attestation/attestation_policy_browsertest.cc',
646       'browser/chromeos/customization/customization_document_browsertest.cc',
647       'browser/chromeos/customization/customization_wallpaper_downloader_browsertest.cc',
648       'browser/chromeos/device/input_service_proxy_browsertest.cc',
649       'browser/chromeos/drive/drive_integration_service_browsertest.cc',
650       'browser/chromeos/drive/drive_notification_manager_factory_browsertest.cc',
651       'browser/chromeos/drive/test_util.cc',
652       'browser/chromeos/drive/test_util.h',
653       'browser/chromeos/extensions/accessibility_features_apitest.cc',
654       'browser/chromeos/extensions/echo_private_apitest.cc',
655       'browser/chromeos/extensions/file_manager/file_browser_handler_api_test.cc',
656       'browser/chromeos/extensions/file_manager/file_manager_private_apitest.cc',
657       'browser/chromeos/extensions/file_system_provider/file_system_provider_apitest.cc',
658       'browser/chromeos/extensions/info_private_apitest.cc',
659       'browser/chromeos/extensions/input_method_apitest_chromeos.cc',
660       'browser/chromeos/extensions/users_private/users_private_apitest.cc',
661       'browser/chromeos/extensions/virtual_keyboard_browsertest.cc',
662       'browser/chromeos/extensions/virtual_keyboard_browsertest.h',
663       'browser/chromeos/extensions/wallpaper_apitest.cc',
664       'browser/chromeos/extensions/wallpaper_manager_browsertest.cc',
665       'browser/chromeos/extensions/wallpaper_private_apitest.cc',
666       'browser/chromeos/file_manager/drive_test_util.cc',
667       'browser/chromeos/file_manager/drive_test_util.h',
668       'browser/chromeos/file_manager/external_filesystem_apitest.cc',
669       'browser/chromeos/file_manager/file_manager_browsertest.cc',
670       'browser/chromeos/file_manager/file_manager_jstest.cc',
671       'browser/chromeos/file_manager/file_manager_jstest_base.cc',
672       'browser/chromeos/file_manager/file_manager_jstest_base.h',
673       'browser/chromeos/file_manager/gallery_jstest.cc',
674       'browser/chromeos/file_manager/image_loader_jstest.cc',
675       'browser/chromeos/file_manager/zip_file_creator_browsertest.cc',
676       'browser/chromeos/first_run/drive_first_run_browsertest.cc',
677       'browser/chromeos/first_run/first_run_browsertest.cc',
678       'browser/chromeos/input_method/input_method_engine_browsertests.cc',
679       'browser/chromeos/input_method/mode_indicator_browsertest.cc',
680       'browser/chromeos/login/crash_restore_browsertest.cc',
681       'browser/chromeos/login/demo_mode/demo_app_launcher_browsertest.cc',
682       'browser/chromeos/login/easy_unlock/bootstrap_browsertest.cc',
683       'browser/chromeos/login/enable_debugging_browsertest.cc',
684       'browser/chromeos/login/enrollment/enrollment_screen_browsertest.cc',
685       'browser/chromeos/login/enrollment/mock_auto_enrollment_check_screen.cc',
686       'browser/chromeos/login/enrollment/mock_auto_enrollment_check_screen.h',
687       'browser/chromeos/login/enrollment/mock_enrollment_screen.cc',
688       'browser/chromeos/login/enrollment/mock_enrollment_screen.h',
689       'browser/chromeos/login/existing_user_controller_browsertest.cc',
690       'browser/chromeos/login/hid_detection_browsertest.cc',
691       'browser/chromeos/login/kiosk_browsertest.cc',
692       'browser/chromeos/login/lock/screen_locker_tester.cc',
693       'browser/chromeos/login/lock/screen_locker_tester.h',
694       'browser/chromeos/login/login_manager_test.cc',
695       'browser/chromeos/login/login_manager_test.h',
696       'browser/chromeos/login/login_screen_policy_browsertest.cc',
697       'browser/chromeos/login/login_ui_keyboard_browsertest.cc',
698       'browser/chromeos/login/login_utils_browsertest.cc',
699       'browser/chromeos/login/mixin_based_browser_test.cc',
700       'browser/chromeos/login/mixin_based_browser_test.h',
701       'browser/chromeos/login/oobe_localization_browsertest.cc',
702       # TODO(nkostylev) Re-enable ResourceLoaderBrowserTest.
703       #'browser/chromeos/login/resource_loader_browsertest.cc',
704       'browser/chromeos/login/proxy_auth_dialog_browsertest.cc',
705       'browser/chromeos/login/reset_browsertest.cc',
706       'browser/chromeos/login/saml/saml_browsertest.cc',
707       'browser/chromeos/login/screens/mock_base_screen_delegate.cc',
708       'browser/chromeos/login/screens/mock_base_screen_delegate.h',
709       'browser/chromeos/login/screens/mock_enable_debugging_screen.cc',
710       'browser/chromeos/login/screens/mock_enable_debugging_screen.h',
711       'browser/chromeos/login/screens/mock_error_screen.cc',
712       'browser/chromeos/login/screens/mock_error_screen.h',
713       'browser/chromeos/login/screens/mock_eula_screen.cc',
714       'browser/chromeos/login/screens/mock_eula_screen.h',
715       'browser/chromeos/login/screens/mock_network_screen.cc',
716       'browser/chromeos/login/screens/mock_network_screen.h',
717       'browser/chromeos/login/screens/mock_update_screen.cc',
718       'browser/chromeos/login/screens/mock_update_screen.h',
719       'browser/chromeos/login/screens/mock_wrong_hwid_screen.cc',
720       'browser/chromeos/login/screens/mock_wrong_hwid_screen.h',
721       'browser/chromeos/login/screens/network_screen_browsertest.cc',
722       'browser/chromeos/login/screens/update_screen_browsertest.cc',
723       'browser/chromeos/login/session_login_browsertest.cc',
724       'browser/chromeos/login/signin/device_id_browsertest.cc',
725       'browser/chromeos/login/signin/oauth2_browsertest.cc',
726       'browser/chromeos/login/supervised/supervised_user_creation_browsertest.cc',
727       'browser/chromeos/login/supervised/supervised_user_password_browsertest.cc',
728       'browser/chromeos/login/supervised/supervised_user_test_base.cc',
729       'browser/chromeos/login/supervised/supervised_user_test_base.h',
730       'browser/chromeos/login/test/app_window_waiter.cc',
731       'browser/chromeos/login/test/app_window_waiter.h',
732       'browser/chromeos/login/test/https_forwarder.cc',
733       'browser/chromeos/login/test/https_forwarder.h',
734       'browser/chromeos/login/test/oobe_base_test.cc',
735       'browser/chromeos/login/test/oobe_base_test.h',
736       'browser/chromeos/login/test/wizard_in_process_browser_test.cc',
737       'browser/chromeos/login/test/wizard_in_process_browser_test.h',
738       'browser/chromeos/login/ui/captive_portal_window_browsertest.cc',
739       'browser/chromeos/login/ui/login_web_dialog_browsertest.cc',
740       'browser/chromeos/login/ui/simple_web_view_dialog_browsertest.cc',
741       'browser/chromeos/login/ui/user_adding_screen_browsertest.cc',
742       'browser/chromeos/login/users/avatar/user_image_manager_browsertest.cc',
743       'browser/chromeos/login/users/avatar/user_image_manager_test_util.cc',
744       'browser/chromeos/login/users/avatar/user_image_manager_test_util.h',
745       'browser/chromeos/login/users/wallpaper/wallpaper_manager_policy_browsertest.cc',
746       'browser/chromeos/login/users/wallpaper/wallpaper_manager_test_utils.cc',
747       'browser/chromeos/login/users/wallpaper/wallpaper_manager_test_utils.h',
748       'browser/chromeos/login/webview_login_browsertest.cc',
749       'browser/chromeos/login/wizard_controller_browsertest.cc',
750       'browser/chromeos/memory/oom_priority_manager_browsertest.cc',
751       'browser/chromeos/net/network_portal_detector_impl_browsertest.cc',
752       'browser/chromeos/ownership/fake_owner_settings_service.cc',
753       'browser/chromeos/ownership/fake_owner_settings_service.h',
754       'browser/chromeos/policy/blocking_login_browsertest.cc',
755       'browser/chromeos/policy/device_cloud_policy_browsertest.cc',
756       'browser/chromeos/policy/device_local_account_browsertest.cc',
757       'browser/chromeos/policy/device_policy_cros_browser_test.cc',
758       'browser/chromeos/policy/device_policy_cros_browser_test.h',
759       'browser/chromeos/policy/device_status_collector_browsertest.cc',
760       'browser/chromeos/policy/device_system_use_24hour_clock_browsertest.cc',
761       'browser/chromeos/policy/force_maximize_on_first_run_chromeos_browsertest.cc',
762       'browser/chromeos/policy/login_policy_test_base.cc',
763       'browser/chromeos/policy/login_policy_test_base.h',
764       'browser/chromeos/policy/login_screen_default_policy_browsertest.cc',
765       'browser/chromeos/policy/policy_cert_verifier_browsertest.cc',
766       'browser/chromeos/policy/power_policy_browsertest.cc',
767       'browser/chromeos/policy/restore_on_startup_browsertest_chromeos.cc',
768       'browser/chromeos/policy/user_cloud_external_data_manager_browsertest.cc',
769       'browser/chromeos/policy/user_cloud_policy_manager_chromeos_browsertest.cc',
770       'browser/chromeos/policy/user_policy_test_helper.cc',
771       'browser/chromeos/policy/user_policy_test_helper.h',
772       'browser/chromeos/policy/variations_service_policy_browsertest.cc',
773       'browser/chromeos/power/peripheral_battery_observer_browsertest.cc',
774       'browser/chromeos/preferences_browsertest.cc',
775       'browser/chromeos/profiles/profile_helper_browsertest.cc',
776       'browser/chromeos/settings/scoped_cros_settings_test_helper.cc',
777       'browser/chromeos/settings/scoped_cros_settings_test_helper.h',
778       'browser/chromeos/shutdown_policy_browsertest.cc',
779       'browser/chromeos/system/device_disabling_browsertest.cc',
780       'browser/chromeos/system/tray_accessibility_browsertest.cc',
781       'browser/download/notification/download_notification_browsertest.cc',
782       'browser/extensions/api/vpn_provider/vpn_provider_apitest.cc',
783       'browser/ui/webui/options/chromeos/accounts_options_browsertest.cc',
784       'browser/ui/webui/options/chromeos/guest_mode_options_ui_browsertest.cc',
785       'browser/ui/webui/options/chromeos/shared_options_browsertest.cc',
786     ],
787     'chrome_browser_tests_policy_sources': [
788       'browser/policy/cloud/cloud_policy_browsertest.cc',
789       'browser/policy/cloud/cloud_policy_manager_browsertest.cc',
790       'browser/policy/cloud/component_cloud_policy_browsertest.cc',
791       'browser/policy/cloud/device_management_service_browsertest.cc',
792       'browser/policy/cloud/test_request_interceptor.cc',
793       'browser/policy/cloud/test_request_interceptor.h',
794       'browser/policy/policy_browsertest.cc',
795       'browser/policy/policy_network_browsertest.cc',
796       'browser/policy/policy_prefs_browsertest.cc',
797       'browser/policy/policy_startup_browsertest.cc',
798       'browser/ui/webui/options/certificate_manager_browsertest.cc',
799       'browser/ui/webui/options/preferences_browsertest.cc',
800       'browser/ui/webui/options/preferences_browsertest.h',
801       'browser/ui/webui/policy_ui_browsertest.cc',
802     ],
803     'chrome_browser_tests_speech_sources': [
804       'browser/speech/extension_api/tts_extension_apitest.cc',
805       'browser/speech/speech_recognition_browsertest.cc',
806     ],
807     'chrome_browser_tests_full_safe_browsing_sources': [
808       'browser/safe_browsing/local_safebrowsing_test_server.cc',
809       'browser/safe_browsing/safe_browsing_blocking_page_test.cc',
810       'browser/safe_browsing/safe_browsing_service_browsertest.cc',
811       'browser/safe_browsing/safe_browsing_test.cc',
812       'browser/safe_browsing/test_database_manager.cc',
813       'browser/safe_browsing/test_database_manager.h',
814       'renderer/safe_browsing/malware_dom_details_browsertest.cc',
815       'renderer/safe_browsing/phishing_classifier_browsertest.cc',
816       'renderer/safe_browsing/phishing_classifier_delegate_browsertest.cc',
817       'renderer/safe_browsing/phishing_dom_feature_extractor_browsertest.cc',
818     ],
819     'chrome_browser_tests_remoting_sources': [
820       'test/remoting/auth_browsertest.cc',
821       'test/remoting/fullscreen_browsertest.cc',
822       'test/remoting/it2me_browsertest.cc',
823       'test/remoting/key_code_conv.cc',
824       'test/remoting/key_code_conv.h',
825       'test/remoting/key_code_map.h',
826       'test/remoting/key_code_test_map.h',
827       'test/remoting/launch_browsertest.cc',
828       'test/remoting/me2me_browsertest.cc',
829       'test/remoting/page_load_notification_observer.cc',
830       'test/remoting/page_load_notification_observer.h',
831       'test/remoting/pin_browsertest.cc',
832       'test/remoting/qunit_browser_test_runner.cc',
833       'test/remoting/remote_desktop_browsertest.cc',
834       'test/remoting/remote_desktop_browsertest.h',
835       'test/remoting/remote_test_helper.cc',
836       'test/remoting/remote_test_helper.h',
837       'test/remoting/scrollbar_browsertest.cc',
838       'test/remoting/unauthenticated_browsertest.cc',
839       'test/remoting/waiter.cc',
840       'test/remoting/waiter.h',
841       'test/remoting/webapp_javascript_unittest.cc',
842     ],
843     'chrome_browser_tests_supervised_user_sources': [
844       'browser/supervised_user/supervised_user_browsertest.cc',
845       'browser/supervised_user/supervised_user_resource_throttle_browsertest.cc',
846       'browser/supervised_user/supervised_user_service_browsertest.cc',
847       'browser/ui/webui/downloads_ui_supervised_browsertest.cc',
848       'browser/ui/webui/downloads_ui_supervised_browsertest.h',
849     ],
850     'chrome_browser_tests_app_list_sources': [
851       'browser/apps/drive/drive_app_converter_browsertest.cc',
852       'browser/apps/drive/drive_app_provider_browsertest.cc',
853       'browser/ui/app_list/app_list_controller_browsertest.cc',
854       'browser/ui/app_list/app_list_service_impl_browsertest.cc',
855       'browser/ui/app_list/search/people/people_provider_browsertest.cc',
856       'browser/ui/app_list/search/webstore/webstore_provider_browsertest.cc',
857       'browser/ui/app_list/speech_recognizer_browsertest.cc',
858     ],
859     'chrome_browser_tests_media_router_sources': [
860       'browser/ui/webui/media_router/media_router_dialog_controller_browsertest.cc',
861     ],
862     # Javascript sources. These are combined with the .cc files in the GYP build
863     # and are handled by a rule, but in the GN build they're in a separate
864     # action so need to be separated out.
865     'chrome_browser_tests_webui_js_sources': [
866       'browser/devtools/device/webrtc/devtools_bridge_client_browsertest.js',
867       'browser/ui/webui/app_list/start_page_browsertest.js',
868       'browser/ui/webui/chromeos/certificate_manager_dialog_browsertest.js',
869       'browser/ui/webui/chromeos/set_time_ui_browsertest.js',
870       'browser/ui/webui/downloads_ui_browsertest.js',
871       'browser/ui/webui/downloads_ui_browsertest_base.js',
872       'browser/ui/webui/downloads_ui_supervised_browsertest.js',
873       'browser/ui/webui/extensions/chromeos/kiosk_apps_browsertest.js',
874       'browser/ui/webui/extensions/extension_settings_browsertest.js',
875       'browser/ui/webui/help/help_browsertest.js',
876       'browser/ui/webui/identity_internals_ui_browsertest.js',
877       'browser/ui/webui/options/autofill_options_browsertest.js',
878       'browser/ui/webui/options/browser_options_browsertest.js',
879       'browser/ui/webui/options/certificate_manager_browsertest.js',
880       'browser/ui/webui/options/chromeos/accounts_options_browsertest.js',
881       'browser/ui/webui/options/chromeos/bluetooth_options_browsertest.js',
882       'browser/ui/webui/options/chromeos/date_time_options_browsertest.js',
883       'browser/ui/webui/options/content_options_browsertest.js',
884       'browser/ui/webui/options/content_settings_exception_area_browsertest.js',
885       'browser/ui/webui/options/cookies_view_browsertest.js',
886       'browser/ui/webui/options/edit_dictionary_browsertest.js',
887       'browser/ui/webui/options/font_settings_browsertest.js',
888       'browser/ui/webui/options/language_options_browsertest.js',
889       'browser/ui/webui/options/language_options_dictionary_download_browsertest.js',
890       'browser/ui/webui/options/manage_profile_browsertest.js',
891       'browser/ui/webui/options/options_browsertest.js',
892       'browser/ui/webui/options/options_browsertest_base.js',
893       'browser/ui/webui/options/password_manager_browsertest.js',
894       'browser/ui/webui/options/profile_settings_reset_browsertest.js',
895       'browser/ui/webui/options/search_engine_manager_browsertest.js',
896       'browser/ui/webui/options/settings_app_browsertest.js',
897       'browser/ui/webui/options/settings_format_browsertest.js',
898       'browser/ui/webui/options/startup_page_list_browsertest.js',
899       'browser/ui/webui/sync_internals_browsertest.js',
900       'browser/ui/webui/sync_setup_browsertest.js',
901       'test/data/chromeos/oobe_webui_browsertest.js',
902       'test/data/webui/about_invalidations_browsertest.js',
903       'test/data/webui/accessibility_audit_browsertest.js',
904       'test/data/webui/assertions.js',
905       'test/data/webui/async_gen.js',
906       'test/data/webui/certificate_viewer_dialog_test.js',
907       'test/data/webui/chrome_send_browsertest.js',
908       'test/data/webui/cr_elements/cr_elements_browsertest.js',
909       'test/data/webui/history_browsertest.js',
910       'test/data/webui/mock4js_browsertest.js',
911       'test/data/webui/net_internals/bandwidth_view.js',
912       'test/data/webui/net_internals/chromeos_view.js',
913       'test/data/webui/net_internals/dns_view.js',
914       'test/data/webui/net_internals/events_view.js',
915       'test/data/webui/net_internals/hsts_view.js',
916       'test/data/webui/net_internals/log_util.js',
917       'test/data/webui/net_internals/log_view_painter.js',
918       'test/data/webui/net_internals/main.js',
919       'test/data/webui/net_internals/net_internals_test.js',
920       'test/data/webui/net_internals/prerender_view.js',
921       'test/data/webui/net_internals/timeline_view.js',
922       'test/data/webui/net_internals/waterfall_view.js',
923       'test/data/webui/net_internals/sdch_view.js',
924       'test/data/webui/ntp4.js',
925       'test/data/webui/polymer_browser_test_base.js',
926       'test/data/webui/print_preview.js',
927       'test/data/webui/sandboxstatus_browsertest.js',
928     ],
929     'chrome_interactive_ui_test_sources': [
930       '../extensions/browser/app_window/app_window_interactive_uitest.cc',
931       '../ui/base/clipboard/clipboard_android_unittest.cc',
932       '../ui/base/clipboard/clipboard_unittest.cc',
933       'browser/apps/app_browsertest_util.cc',
934       'browser/apps/app_browsertest_util.h',
935       'browser/apps/app_pointer_lock_interactive_uitest.cc',
936       'browser/apps/app_shim/app_shim_interactive_uitest_mac.mm',
937       'browser/apps/app_shim/app_shim_quit_interactive_uitest_mac.mm',
938       'browser/apps/app_window_interactive_uitest.cc',
939       'browser/apps/app_window_intercept_all_keys_uitest.cc',
940       'browser/apps/guest_view/web_view_interactive_browsertest.cc',
941       'browser/autofill/autofill_interactive_uitest.cc',
942       'browser/autofill/autofill_uitest_util.cc',
943       'browser/browser_keyevents_browsertest.cc',
944       'browser/extensions/api/extension_action/browser_action_interactive_test.cc',
945       'browser/extensions/api/omnibox/omnibox_api_interactive_test.cc',
946       'browser/extensions/browsertest_util.cc',
947       'browser/extensions/extension_apitest.cc',
948       'browser/extensions/extension_browsertest.cc',
949       'browser/extensions/extension_commands_global_registry_apitest.cc',
950       'browser/extensions/extension_crash_recovery_browsertest.cc',
951       'browser/extensions/extension_fullscreen_apitest.cc',
952       'browser/extensions/extension_function_test_utils.cc',
953       'browser/extensions/extension_keybinding_apitest.cc',
954       'browser/extensions/extension_test_notification_observer.cc',
955       'browser/extensions/updater/extension_cache_fake.cc',
956       'browser/extensions/updater/extension_cache_fake.h',
957       'browser/extensions/window_open_interactive_apitest.cc',
958       'browser/mouseleave_browsertest.cc',
959       'browser/password_manager/password_generation_interactive_uitest.cc',
960       'browser/renderer_context_menu/render_view_context_menu_browsertest_util.cc',
961       'browser/renderer_context_menu/render_view_context_menu_browsertest_util.h',
962       'browser/task_manager/task_manager_browsertest_util.cc',
963       'browser/ui/autofill/autofill_popup_controller_interactive_uitest.cc',
964       'browser/ui/browser_focus_uitest.cc',
965       'browser/ui/cocoa/apps/quit_with_apps_controller_mac_interactive_uitest.mm',
966       'browser/ui/cocoa/extensions/browser_action_button_interactive_uitest.mm',
967       'browser/ui/cocoa/panels/panel_cocoa_browsertest.mm',
968       'browser/ui/exclusive_access/flash_fullscreen_interactive_browsertest.cc',
969       'browser/ui/exclusive_access/fullscreen_controller_interactive_browsertest.cc',
970       'browser/ui/exclusive_access/fullscreen_controller_state_interactive_browsertest.cc',
971       'browser/ui/find_bar/find_bar_host_interactive_uitest.cc',
972       'browser/ui/omnibox/omnibox_view_browsertest.cc',
973       'browser/ui/panels/base_panel_browser_test.cc',
974       'browser/ui/panels/base_panel_browser_test.h',
975       'browser/ui/panels/test_panel_active_state_observer.cc',
976       'browser/ui/panels/test_panel_active_state_observer.h',
977       'browser/ui/panels/test_panel_collection_squeeze_observer.cc',
978       'browser/ui/panels/test_panel_collection_squeeze_observer.h',
979       'browser/ui/panels/test_panel_mouse_watcher.cc',
980       'browser/ui/panels/test_panel_mouse_watcher.h',
981       'browser/ui/panels/test_panel_notification_observer.cc',
982       'browser/ui/panels/test_panel_notification_observer.h',
983       'browser/ui/passwords/manage_passwords_test.cc',
984       'browser/ui/passwords/manage_passwords_test.h',
985       'browser/ui/search/instant_extended_interactive_uitest.cc',
986       'browser/ui/search/instant_extended_manual_interactive_uitest.cc',
987       'browser/ui/search/instant_test_utils.cc',
988       'browser/ui/search/instant_test_utils.h',
989       'browser/ui/search/local_ntp_browsertest.cc',
990       'browser/ui/startup/startup_browser_creator_interactive_uitest.cc',
991       'browser/ui/toolbar/test_toolbar_model.cc',
992       'browser/ui/toolbar/test_toolbar_model.h',
993       'browser/ui/views/accessibility/navigation_accessibility_uitest_win.cc',
994       'browser/ui/webui/options/language_dictionary_interactive_uitest.cc',
995       'browser/ui/webui/options/language_options_interactive_uitest.cc',
996       'test/base/interactive_test_utils.cc',
997       'test/base/interactive_test_utils.h',
998       'test/base/interactive_test_utils_aura.cc',
999       'test/base/interactive_test_utils_aura.h',
1000       'test/base/interactive_test_utils_mac.mm',
1001       'test/base/interactive_test_utils_views.cc',
1002       'test/base/interactive_test_utils_win.cc',
1003       'test/base/interactive_ui_tests_main.cc',
1004       'test/base/view_event_test_platform_part.h',
1005       'test/base/view_event_test_platform_part_ash.cc',
1006       'test/base/view_event_test_platform_part_chromeos.cc',
1007       'test/base/view_event_test_platform_part_mac.mm',
1008       'test/ppapi/ppapi_interactive_browsertest.cc',
1009     ],
1010     # Panels sources not related to UI toolkit. ChromeOS doesn't use panels.
1011     'chrome_interactive_ui_test_panels_sources': [
1012       'browser/ui/panels/detached_panel_browsertest.cc',
1013       'browser/ui/panels/docked_panel_browsertest.cc',
1014       'browser/ui/panels/panel_browsertest.cc',
1015       'browser/ui/panels/panel_resize_browsertest.cc',
1016     ],
1017     'chrome_interactive_ui_test_panels_views_sources': [
1018       'browser/ui/views/message_center/web_notification_tray_browsertest.cc',
1019       'browser/ui/views/panels/panel_view_browsertest.cc',
1020     ],
1021      # Cross-platform views interactive tests ready for toolkit-views on Mac.
1022     'chrome_interactive_ui_test_views_sources': [
1023       '../ui/views/corewm/desktop_capture_controller_unittest.cc',
1024       '../ui/views/widget/desktop_aura/desktop_window_tree_host_x11_interactive_uitest.cc',
1025       '../ui/views/widget/desktop_aura/x11_topmost_window_finder_interactive_uitest.cc',
1026       '../ui/views/widget/widget_interactive_uitest.cc',
1027       'browser/ui/views/ash/tab_scrubber_browsertest.cc',
1028       'browser/ui/views/menu_controller_interactive_uitest.cc',
1029       'browser/ui/views/menu_item_view_interactive_uitest.cc',
1030       'browser/ui/views/menu_model_adapter_test.cc',
1031       'browser/ui/views/menu_test_base.cc',
1032       'browser/ui/views/menu_test_base.h',
1033       'browser/ui/views/menu_view_drag_and_drop_test.cc',
1034       'browser/ui/views/status_icons/status_tray_state_changer_interactive_uitest_win.cc',
1035       'test/base/view_event_test_base.cc',
1036       'test/base/view_event_test_base.h',
1037     ],
1038     'chrome_interactive_ui_test_app_list_sources': [
1039       'browser/ui/app_list/app_list_service_interactive_uitest.cc',
1040       'browser/ui/app_list/app_list_service_mac_interactive_uitest.mm',
1041     ],
1042     'chrome_interactive_ui_test_win_sources': [
1043       '../ui/resources/cursors/aliasb.cur',
1044       '../ui/resources/cursors/cell.cur',
1045       '../ui/resources/cursors/col_resize.cur',
1046       '../ui/resources/cursors/copy.cur',
1047       '../ui/resources/cursors/none.cur',
1048       '../ui/resources/cursors/row_resize.cur',
1049       '../ui/resources/cursors/vertical_text.cur',
1050       '../ui/resources/cursors/zoom_in.cur',
1051       '../ui/resources/cursors/zoom_out.cur',
1052       'app/chrome_dll.rc',
1053       'test/data/resource.rc',
1054     ],
1055     # Cross-platform (except Mac) views interactive tests.
1056     # TODO(tapted): Move these to chrome_interactive_ui_test_views_sources when
1057     # the corresponding files are moved in chrome_browser_ui.gypi (i.e. out of
1058     # chrome_browser_ui_views_non_mac_sources).
1059     'chrome_interactive_ui_test_views_non_mac_sources': [
1060       'browser/ui/views/bookmarks/bookmark_bar_view_test.cc',
1061       'browser/ui/views/bookmarks/bookmark_bar_view_test_helper.h',
1062       'browser/ui/views/certificate_selector_browsertest.cc',
1063       'browser/ui/views/constrained_window_views_browsertest.cc',
1064       'browser/ui/views/extensions/extension_dialog_interactive_uitest.cc',
1065       'browser/ui/views/find_bar_controller_interactive_uitest.cc',
1066       'browser/ui/views/find_bar_host_interactive_uitest.cc',
1067       'browser/ui/views/frame/browser_view_focus_uitest.cc',
1068       'browser/ui/views/frame/browser_view_interactive_uitest.cc',
1069       'browser/ui/views/keyboard_access_browsertest.cc',
1070       'browser/ui/views/location_bar/location_icon_view_interactive_uitest.cc',
1071       'browser/ui/views/location_bar/page_action_image_view_interactive_uitest.cc',
1072       'browser/ui/views/location_bar/star_view_browsertest.cc',
1073       'browser/ui/views/omnibox/omnibox_view_views_browsertest.cc',
1074       'browser/ui/views/passwords/manage_passwords_bubble_view_browsertest.cc',
1075       'browser/ui/views/passwords/manage_passwords_icon_view_browsertest.cc',
1076       'browser/ui/views/ssl_client_certificate_selector_browsertest.cc',
1077       'browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc',
1078       'browser/ui/views/tabs/tab_drag_controller_interactive_uitest.h',
1079       'browser/ui/views/toolbar/toolbar_button_test.cc',
1080       'browser/ui/views/toolbar/toolbar_view_interactive_uitest.cc',
1081     ],
1082     'chrome_interactive_ui_test_notifications_sources': [
1083       'browser/extensions/api/notifications/notifications_apitest.cc',
1084       'browser/notifications/message_center_notifications_browsertest.cc',
1085     ],
1086     'chrome_interactive_ui_test_chromeos_sources': [
1087       '../ash/accelerators/accelerator_interactive_uitest_chromeos.cc',
1088       'browser/chromeos/accessibility/magnification_controller_browsertest.cc',
1089       'browser/chromeos/accessibility/speech_monitor.cc',
1090       'browser/chromeos/accessibility/speech_monitor.h',
1091       'browser/chromeos/accessibility/spoken_feedback_browsertest.cc',
1092       'browser/chromeos/accessibility/sticky_keys_browsertest.cc',
1093       'browser/chromeos/input_method/textinput_browsertest.cc',
1094       'browser/chromeos/input_method/textinput_surroundingtext_browsertest.cc',
1095       'browser/chromeos/input_method/textinput_test_helper.cc',
1096       'browser/chromeos/input_method/textinput_test_helper.h',
1097       'browser/chromeos/login/eula_browsertest.cc',
1098       'browser/chromeos/login/lock/screen_locker_browsertest.cc',
1099       'browser/chromeos/login/lock/screen_locker_tester.cc',
1100       'browser/chromeos/login/lock/screen_locker_tester.h',
1101       'browser/chromeos/login/login_browsertest.cc',
1102       'browser/chromeos/login/login_manager_test.cc',
1103       'browser/chromeos/login/login_manager_test.h',
1104       'browser/chromeos/login/login_ui_browsertest.cc',
1105       'browser/chromeos/login/mixin_based_browser_test.cc',
1106       'browser/chromeos/login/mixin_based_browser_test.h',
1107       'browser/chromeos/login/oobe_browsertest.cc',
1108       'browser/chromeos/login/screenshot_testing/SkDiffPixelsMetric.h',
1109       'browser/chromeos/login/screenshot_testing/SkDiffPixelsMetric_cpu.cpp',
1110       'browser/chromeos/login/screenshot_testing/SkImageDiffer.cpp',
1111       'browser/chromeos/login/screenshot_testing/SkImageDiffer.h',
1112       'browser/chromeos/login/screenshot_testing/SkPMetric.cpp',
1113       'browser/chromeos/login/screenshot_testing/SkPMetric.h',
1114       'browser/chromeos/login/screenshot_testing/screenshot_tester.cc',
1115       'browser/chromeos/login/screenshot_testing/screenshot_tester.h',
1116       'browser/chromeos/login/screenshot_testing/screenshot_tester.h',
1117       'browser/chromeos/login/screenshot_testing/screenshot_testing_mixin.cc',
1118       'browser/chromeos/login/screenshot_testing/screenshot_testing_mixin.h',
1119       'browser/chromeos/login/test/https_forwarder.cc',
1120       'browser/chromeos/login/test/https_forwarder.h',
1121       'browser/chromeos/login/test/oobe_base_test.cc',
1122       'browser/chromeos/login/test/oobe_base_test.h',
1123       'browser/chromeos/login/users/wallpaper/wallpaper_manager_browsertest.cc',
1124       'browser/chromeos/login/users/wallpaper/wallpaper_manager_test_utils.cc',
1125       'browser/chromeos/login/users/wallpaper/wallpaper_manager_test_utils.h',
1126       'test/data/chromeos/service_login.html',
1127     ],
1128     'chrome_interactive_ui_test_ash_sources': [
1129       '../ash/drag_drop/drag_drop_interactive_uitest.cc',
1130       '../ash/wm/ash_native_cursor_manager_interactive_uitest.cc',
1131       'browser/ui/window_sizer/window_sizer_ash_uitest.cc',
1132     ],
1133     'chrome_interactive_ui_test_non_desktop_linux_sources': [
1134       # TODO(port): Everything here times out. Attempts have been made to fix
1135       # the individual failures, but each time I disable a test from these
1136       # suites, it seems like one or another starts timing out too.
1137       'browser/extensions/api/tabs/tabs_interactive_test.cc',
1138     ],
1139     'chrome_interactive_ui_test_non_linux_and_chromeos_sources': [
1140       # TODO(port): Disable all the interactive panel tests on all linux
1141       # platforms. These are badly busted on linux_aura, also time out
1142       # when run under openbox. ChromeOS doesn't use this panels code.
1143       'browser/ui/panels/panel_drag_browsertest.cc',
1144       'browser/ui/panels/stacked_panel_browsertest.cc',
1145     ],
1146     'chrome_automation_client_lib_sources': [
1147       'test/chromedriver/chrome/adb.h',
1148       'test/chromedriver/chrome/adb_impl.cc',
1149       'test/chromedriver/chrome/adb_impl.h',
1150       'test/chromedriver/chrome/automation_extension.cc',
1151       'test/chromedriver/chrome/automation_extension.h',
1152       'test/chromedriver/chrome/chrome.h',
1153       'test/chromedriver/chrome/chrome_android_impl.cc',
1154       'test/chromedriver/chrome/chrome_android_impl.h',
1155       'test/chromedriver/chrome/chrome_desktop_impl.cc',
1156       'test/chromedriver/chrome/chrome_desktop_impl.h',
1157       'test/chromedriver/chrome/chrome_finder.cc',
1158       'test/chromedriver/chrome/chrome_finder.h',
1159       'test/chromedriver/chrome/chrome_finder_mac.mm',
1160       'test/chromedriver/chrome/chrome_impl.cc',
1161       'test/chromedriver/chrome/chrome_impl.h',
1162       'test/chromedriver/chrome/chrome_remote_impl.cc',
1163       'test/chromedriver/chrome/chrome_remote_impl.h',
1164       'test/chromedriver/chrome/console_logger.cc',
1165       'test/chromedriver/chrome/console_logger.h',
1166       'test/chromedriver/chrome/debugger_tracker.cc',
1167       'test/chromedriver/chrome/debugger_tracker.h',
1168       'test/chromedriver/chrome/device_manager.cc',
1169       'test/chromedriver/chrome/device_manager.h',
1170       'test/chromedriver/chrome/device_metrics.cc',
1171       'test/chromedriver/chrome/device_metrics.h',
1172       'test/chromedriver/chrome/devtools_client.h',
1173       'test/chromedriver/chrome/devtools_client_impl.cc',
1174       'test/chromedriver/chrome/devtools_client_impl.h',
1175       'test/chromedriver/chrome/devtools_event_listener.cc',
1176       'test/chromedriver/chrome/devtools_event_listener.h',
1177       'test/chromedriver/chrome/devtools_http_client.cc',
1178       'test/chromedriver/chrome/devtools_http_client.h',
1179       'test/chromedriver/chrome/dom_tracker.cc',
1180       'test/chromedriver/chrome/dom_tracker.h',
1181       'test/chromedriver/chrome/frame_tracker.cc',
1182       'test/chromedriver/chrome/frame_tracker.h',
1183       'test/chromedriver/chrome/geolocation_override_manager.cc',
1184       'test/chromedriver/chrome/geolocation_override_manager.h',
1185       'test/chromedriver/chrome/geoposition.h',
1186       'test/chromedriver/chrome/heap_snapshot_taker.cc',
1187       'test/chromedriver/chrome/heap_snapshot_taker.h',
1188       'test/chromedriver/chrome/javascript_dialog_manager.cc',
1189       'test/chromedriver/chrome/javascript_dialog_manager.h',
1190       'test/chromedriver/chrome/log.cc',
1191       'test/chromedriver/chrome/log.h',
1192       'test/chromedriver/chrome/mobile_device.cc',
1193       'test/chromedriver/chrome/mobile_device.h',
1194       'test/chromedriver/chrome/mobile_device_list.cc',
1195       'test/chromedriver/chrome/mobile_device_list.h',
1196       'test/chromedriver/chrome/mobile_emulation_override_manager.cc',
1197       'test/chromedriver/chrome/mobile_emulation_override_manager.h',
1198       'test/chromedriver/chrome/navigation_tracker.cc',
1199       'test/chromedriver/chrome/navigation_tracker.h',
1200       'test/chromedriver/chrome/network_conditions.cc',
1201       'test/chromedriver/chrome/network_conditions.h',
1202       'test/chromedriver/chrome/network_conditions_override_manager.cc',
1203       'test/chromedriver/chrome/network_conditions_override_manager.h',
1204       'test/chromedriver/chrome/network_list.cc',
1205       'test/chromedriver/chrome/network_list.h',
1206       'test/chromedriver/chrome/status.cc',
1207       'test/chromedriver/chrome/status.h',
1208       'test/chromedriver/chrome/ui_events.cc',
1209       'test/chromedriver/chrome/ui_events.h',
1210       'test/chromedriver/chrome/util.cc',
1211       'test/chromedriver/chrome/util.h',
1212       'test/chromedriver/chrome/version.cc',
1213       'test/chromedriver/chrome/version.h',
1214       'test/chromedriver/chrome/web_view.h',
1215       'test/chromedriver/chrome/web_view_impl.cc',
1216       'test/chromedriver/chrome/web_view_impl.h',
1217       'test/chromedriver/net/adb_client_socket.cc',
1218       'test/chromedriver/net/adb_client_socket.h',
1219       'test/chromedriver/net/net_util.cc',
1220       'test/chromedriver/net/net_util.h',
1221       'test/chromedriver/net/port_server.cc',
1222       'test/chromedriver/net/port_server.h',
1223       'test/chromedriver/net/sync_websocket.h',
1224       'test/chromedriver/net/sync_websocket_factory.cc',
1225       'test/chromedriver/net/sync_websocket_factory.h',
1226       'test/chromedriver/net/sync_websocket_impl.cc',
1227       'test/chromedriver/net/sync_websocket_impl.h',
1228       'test/chromedriver/net/url_request_context_getter.cc',
1229       'test/chromedriver/net/url_request_context_getter.h',
1230       'test/chromedriver/net/websocket.cc',
1231       'test/chromedriver/net/websocket.h',
1232     ],
1233     'performance_browser_tests_sources': [
1234       '../components/autofill/content/renderer/test_password_autofill_agent.cc',
1235       '../components/autofill/content/renderer/test_password_autofill_agent.h',
1236       '../components/autofill/content/renderer/test_password_generation_agent.cc',
1237       '../components/autofill/content/renderer/test_password_generation_agent.h',
1238       'app/chrome_command_ids.h',
1239       'app/chrome_dll.rc',
1240       'app/chrome_dll_resource.h',
1241       'app/chrome_version.rc.version',
1242       'browser/extensions/api/cast_streaming/performance_test.cc',
1243       'browser/extensions/api/tab_capture/tab_capture_performancetest.cc',
1244       'browser/extensions/browsertest_util.cc',
1245       'browser/extensions/extension_apitest.cc',
1246       'browser/extensions/extension_browsertest.cc',
1247       'browser/extensions/extension_test_notification_observer.cc',
1248       'browser/extensions/updater/extension_cache_fake.cc',
1249       'browser/extensions/updater/extension_cache_fake.h',
1250       'test/base/browser_perf_tests_main.cc',
1251       'test/base/chrome_render_view_test.cc',
1252       'test/base/chrome_render_view_test.h',
1253       'test/perf/mach_ports_performancetest.cc',
1254       'test/perf/url_parse_perftest.cc',
1255     ],
1256     'chrome_driver_lib_sources': [
1257       '../third_party/webdriver/atoms.cc',
1258       '../third_party/webdriver/atoms.h',
1259       'common/chrome_constants.cc',
1260       'common/chrome_constants.h',
1261       'test/chromedriver/alert_commands.cc',
1262       'test/chromedriver/alert_commands.h',
1263       'test/chromedriver/basic_types.cc',
1264       'test/chromedriver/basic_types.h',
1265       'test/chromedriver/capabilities.cc',
1266       'test/chromedriver/capabilities.h',
1267       'test/chromedriver/chrome/browser_info.cc',
1268       'test/chromedriver/chrome/browser_info.h',
1269       'test/chromedriver/chrome_launcher.cc',
1270       'test/chromedriver/chrome_launcher.h',
1271       'test/chromedriver/command.h',
1272       'test/chromedriver/command_listener.h',
1273       'test/chromedriver/command_listener_proxy.cc',
1274       'test/chromedriver/command_listener_proxy.h',
1275       'test/chromedriver/commands.cc',
1276       'test/chromedriver/commands.h',
1277       'test/chromedriver/element_commands.cc',
1278       'test/chromedriver/element_commands.h',
1279       'test/chromedriver/element_util.cc',
1280       'test/chromedriver/element_util.h',
1281       'test/chromedriver/key_converter.cc',
1282       'test/chromedriver/key_converter.h',
1283       'test/chromedriver/keycode_text_conversion.h',
1284       'test/chromedriver/keycode_text_conversion_mac.mm',
1285       'test/chromedriver/keycode_text_conversion_ozone.cc',
1286       'test/chromedriver/keycode_text_conversion_win.cc',
1287       'test/chromedriver/keycode_text_conversion_x.cc',
1288       'test/chromedriver/logging.cc',
1289       'test/chromedriver/logging.h',
1290       'test/chromedriver/performance_logger.cc',
1291       'test/chromedriver/performance_logger.h',
1292       'test/chromedriver/server/http_handler.cc',
1293       'test/chromedriver/server/http_handler.h',
1294       'test/chromedriver/session.cc',
1295       'test/chromedriver/session.h',
1296       'test/chromedriver/session_commands.cc',
1297       'test/chromedriver/session_commands.h',
1298       'test/chromedriver/session_thread_map.h',
1299       'test/chromedriver/util.cc',
1300       'test/chromedriver/util.h',
1301       'test/chromedriver/window_commands.cc',
1302       'test/chromedriver/window_commands.h',
1303     ],
1304     'chrome_driver_unittests_sources': [
1305       'test/chromedriver/capabilities_unittest.cc',
1306       'test/chromedriver/chrome/browser_info_unittest.cc',
1307       'test/chromedriver/chrome/chrome_finder_unittest.cc',
1308       'test/chromedriver/chrome/console_logger_unittest.cc',
1309       'test/chromedriver/chrome/device_manager_unittest.cc',
1310       'test/chromedriver/chrome/devtools_client_impl_unittest.cc',
1311       'test/chromedriver/chrome/devtools_http_client_unittest.cc',
1312       'test/chromedriver/chrome/dom_tracker_unittest.cc',
1313       'test/chromedriver/chrome/frame_tracker_unittest.cc',
1314       'test/chromedriver/chrome/geolocation_override_manager_unittest.cc',
1315       'test/chromedriver/chrome/heap_snapshot_taker_unittest.cc',
1316       'test/chromedriver/chrome/javascript_dialog_manager_unittest.cc',
1317       'test/chromedriver/chrome/mobile_emulation_override_manager_unittest.cc',
1318       'test/chromedriver/chrome/navigation_tracker_unittest.cc',
1319       'test/chromedriver/chrome/network_conditions_override_manager_unittest.cc',
1320       'test/chromedriver/chrome/recorder_devtools_client.cc',
1321       'test/chromedriver/chrome/recorder_devtools_client.h',
1322       'test/chromedriver/chrome/status_unittest.cc',
1323       'test/chromedriver/chrome/stub_chrome.cc',
1324       'test/chromedriver/chrome/stub_chrome.h',
1325       'test/chromedriver/chrome/stub_devtools_client.cc',
1326       'test/chromedriver/chrome/stub_devtools_client.h',
1327       'test/chromedriver/chrome/stub_web_view.cc',
1328       'test/chromedriver/chrome/stub_web_view.h',
1329       'test/chromedriver/chrome/web_view_impl_unittest.cc',
1330       'test/chromedriver/chrome_launcher_unittest.cc',
1331       'test/chromedriver/command_listener_proxy_unittest.cc',
1332       'test/chromedriver/commands_unittest.cc',
1333       'test/chromedriver/logging_unittest.cc',
1334       'test/chromedriver/performance_logger_unittest.cc',
1335       'test/chromedriver/server/http_handler_unittest.cc',
1336       'test/chromedriver/session_commands_unittest.cc',
1337       'test/chromedriver/session_unittest.cc',
1338       'test/chromedriver/util_unittest.cc',
1339     ],
1340     'chrome_driver_tests_sources': [
1341       'test/chromedriver/key_converter_unittest.cc',
1342       'test/chromedriver/keycode_text_conversion_unittest.cc',
1343       'test/chromedriver/net/net_util_unittest.cc',
1344       'test/chromedriver/net/port_server_unittest.cc',
1345       'test/chromedriver/net/sync_websocket_impl_unittest.cc',
1346       'test/chromedriver/net/test_http_server.cc',
1347       'test/chromedriver/net/test_http_server.h',
1348       'test/chromedriver/net/websocket_unittest.cc',
1349       'test/chromedriver/test_util.cc',
1350       'test/chromedriver/test_util.h',
1351     ],
1352     'sync_integration_tests_sources': [
1353       'app/chrome_command_ids.h',
1354       'app/chrome_dll.rc',
1355       'app/chrome_dll_resource.h',
1356       'app/chrome_version.rc.version',
1357       'browser/sync/test/integration/cross_platform_sync_test.cc',
1358       'browser/sync/test/integration/enable_disable_test.cc',
1359       'browser/sync/test/integration/migration_test.cc',
1360       'browser/sync/test/integration/multiple_client_bookmarks_sync_test.cc',
1361       'browser/sync/test/integration/multiple_client_dictionary_sync_test.cc',
1362       'browser/sync/test/integration/multiple_client_passwords_sync_test.cc',
1363       'browser/sync/test/integration/multiple_client_preferences_sync_test.cc',
1364       'browser/sync/test/integration/multiple_client_sessions_sync_test.cc',
1365       'browser/sync/test/integration/multiple_client_typed_urls_sync_test.cc',
1366       'browser/sync/test/integration/single_client_app_list_sync_test.cc',
1367       'browser/sync/test/integration/single_client_apps_sync_test.cc',
1368       'browser/sync/test/integration/single_client_backup_rollback_test.cc',
1369       'browser/sync/test/integration/single_client_bookmarks_sync_test.cc',
1370       'browser/sync/test/integration/single_client_dictionary_sync_test.cc',
1371       'browser/sync/test/integration/single_client_directory_sync_test.cc',
1372       'browser/sync/test/integration/single_client_e2e_test.cc',
1373       'browser/sync/test/integration/single_client_extensions_sync_test.cc',
1374       'browser/sync/test/integration/single_client_passwords_sync_test.cc',
1375       'browser/sync/test/integration/single_client_preferences_sync_test.cc',
1376       'browser/sync/test/integration/single_client_search_engines_sync_test.cc',
1377       'browser/sync/test/integration/single_client_sessions_sync_test.cc',
1378       'browser/sync/test/integration/single_client_supervised_user_settings_sync_test.cc',
1379       'browser/sync/test/integration/single_client_themes_sync_test.cc',
1380       'browser/sync/test/integration/single_client_typed_urls_sync_test.cc',
1381       'browser/sync/test/integration/single_client_wallet_sync_test.cc',
1382       'browser/sync/test/integration/single_client_wifi_credentials_sync_test.cc',
1383       'browser/sync/test/integration/sync_auth_test.cc',
1384       'browser/sync/test/integration/sync_errors_test.cc',
1385       'browser/sync/test/integration/sync_exponential_backoff_test.cc',
1386       'browser/sync/test/integration/two_client_app_list_sync_test.cc',
1387       'browser/sync/test/integration/two_client_apps_sync_test.cc',
1388       'browser/sync/test/integration/two_client_autofill_sync_test.cc',
1389       'browser/sync/test/integration/two_client_bookmarks_sync_test.cc',
1390       'browser/sync/test/integration/two_client_dictionary_sync_test.cc',
1391       'browser/sync/test/integration/two_client_e2e_test.cc',
1392       'browser/sync/test/integration/two_client_extension_settings_and_app_settings_sync_test.cc',
1393       'browser/sync/test/integration/two_client_extensions_sync_test.cc',
1394       'browser/sync/test/integration/two_client_passwords_sync_test.cc',
1395       'browser/sync/test/integration/two_client_preferences_sync_test.cc',
1396       'browser/sync/test/integration/two_client_search_engines_sync_test.cc',
1397       'browser/sync/test/integration/two_client_sessions_sync_test.cc',
1398       'browser/sync/test/integration/two_client_themes_sync_test.cc',
1399       'browser/sync/test/integration/two_client_typed_urls_sync_test.cc',
1400       'browser/sync/test/integration/two_client_wifi_credentials_sync_test.cc',
1401       'test/base/browser_tests_main.cc',
1402       'test/data/resource.rc',
1403     ],
1404     'test_support_sync_integration_sources': [
1405       'browser/sync/test/integration/apps_helper.cc',
1406       'browser/sync/test/integration/apps_helper.h',
1407       'browser/sync/test/integration/autofill_helper.cc',
1408       'browser/sync/test/integration/autofill_helper.h',
1409       'browser/sync/test/integration/bookmarks_helper.cc',
1410       'browser/sync/test/integration/bookmarks_helper.h',
1411       'browser/sync/test/integration/dictionary_helper.cc',
1412       'browser/sync/test/integration/dictionary_helper.h',
1413       'browser/sync/test/integration/dictionary_load_observer.cc',
1414       'browser/sync/test/integration/dictionary_load_observer.h',
1415       'browser/sync/test/integration/extension_settings_helper.cc',
1416       'browser/sync/test/integration/extension_settings_helper.h',
1417       'browser/sync/test/integration/extensions_helper.cc',
1418       'browser/sync/test/integration/extensions_helper.h',
1419       'browser/sync/test/integration/fake_server_invalidation_service.cc',
1420       'browser/sync/test/integration/fake_server_invalidation_service.h',
1421       'browser/sync/test/integration/migration_waiter.cc',
1422       'browser/sync/test/integration/migration_waiter.h',
1423       'browser/sync/test/integration/migration_watcher.cc',
1424       'browser/sync/test/integration/migration_watcher.h',
1425       'browser/sync/test/integration/multi_client_status_change_checker.cc',
1426       'browser/sync/test/integration/multi_client_status_change_checker.h',
1427       'browser/sync/test/integration/p2p_invalidation_forwarder.cc',
1428       'browser/sync/test/integration/p2p_invalidation_forwarder.h',
1429       'browser/sync/test/integration/p2p_sync_refresher.cc',
1430       'browser/sync/test/integration/p2p_sync_refresher.h',
1431       'browser/sync/test/integration/passwords_helper.cc',
1432       'browser/sync/test/integration/passwords_helper.h',
1433       'browser/sync/test/integration/preferences_helper.cc',
1434       'browser/sync/test/integration/preferences_helper.h',
1435       'browser/sync/test/integration/profile_sync_service_harness.cc',
1436       'browser/sync/test/integration/profile_sync_service_harness.h',
1437       'browser/sync/test/integration/quiesce_status_change_checker.cc',
1438       'browser/sync/test/integration/quiesce_status_change_checker.h',
1439       'browser/sync/test/integration/retry_verifier.cc',
1440       'browser/sync/test/integration/retry_verifier.h',
1441       'browser/sync/test/integration/search_engines_helper.cc',
1442       'browser/sync/test/integration/search_engines_helper.h',
1443       'browser/sync/test/integration/sessions_helper.cc',
1444       'browser/sync/test/integration/sessions_helper.h',
1445       'browser/sync/test/integration/single_client_status_change_checker.cc',
1446       'browser/sync/test/integration/single_client_status_change_checker.h',
1447       'browser/sync/test/integration/status_change_checker.cc',
1448       'browser/sync/test/integration/status_change_checker.h',
1449       'browser/sync/test/integration/sync_app_helper.cc',
1450       'browser/sync/test/integration/sync_app_helper.h',
1451       'browser/sync/test/integration/sync_app_list_helper.cc',
1452       'browser/sync/test/integration/sync_app_list_helper.h',
1453       'browser/sync/test/integration/sync_datatype_helper.cc',
1454       'browser/sync/test/integration/sync_datatype_helper.h',
1455       'browser/sync/test/integration/sync_extension_helper.cc',
1456       'browser/sync/test/integration/sync_extension_helper.h',
1457       'browser/sync/test/integration/sync_extension_installer.cc',
1458       'browser/sync/test/integration/sync_extension_installer.h',
1459       'browser/sync/test/integration/sync_integration_test_util.cc',
1460       'browser/sync/test/integration/sync_integration_test_util.h',
1461       'browser/sync/test/integration/sync_test.cc',
1462       'browser/sync/test/integration/sync_test.h',
1463       'browser/sync/test/integration/themes_helper.cc',
1464       'browser/sync/test/integration/themes_helper.h',
1465       'browser/sync/test/integration/typed_urls_helper.cc',
1466       'browser/sync/test/integration/typed_urls_helper.h',
1467       'browser/sync/test/integration/updated_progress_marker_checker.cc',
1468       'browser/sync/test/integration/updated_progress_marker_checker.h',
1469       'browser/sync/test/integration/wifi_credentials_helper.cc',
1470       'browser/sync/test/integration/wifi_credentials_helper.h',
1471       'browser/sync/test/integration/wifi_credentials_helper_chromeos.cc',
1472       'browser/sync/test/integration/wifi_credentials_helper_chromeos.h',
1473     ],
1474     'sync_performance_tests_sources': [
1475       'app/chrome_command_ids.h',
1476       'app/chrome_dll.rc',
1477       'app/chrome_dll_resource.h',
1478       'app/chrome_version.rc.version',
1479       'browser/sync/test/integration/performance/autofill_sync_perf_test.cc',
1480       'browser/sync/test/integration/performance/bookmarks_sync_perf_test.cc',
1481       'browser/sync/test/integration/performance/dictionary_sync_perf_test.cc',
1482       'browser/sync/test/integration/performance/extensions_sync_perf_test.cc',
1483       'browser/sync/test/integration/performance/passwords_sync_perf_test.cc',
1484       'browser/sync/test/integration/performance/sessions_sync_perf_test.cc',
1485       'browser/sync/test/integration/performance/sync_timing_helper.cc',
1486       'browser/sync/test/integration/performance/sync_timing_helper.h',
1487       'browser/sync/test/integration/performance/typed_urls_sync_perf_test.cc',
1488       'test/base/browser_perf_tests_main.cc',
1489       'test/data/resource.rc',
1490     ],
1491   },
1492   'includes': [
1493     'js_unittest_vars.gypi',
1494   ],
1495   'targets': [
1496     {
1497       # GN version: //chrome/test:interactive_ui_tests
1498       'target_name': 'interactive_ui_tests',
1499       'type': 'executable',
1500       'dependencies': [
1501         'browser',
1502         'chrome_resources.gyp:chrome_resources',
1503         'chrome_resources.gyp:chrome_strings',
1504         'chrome_resources.gyp:packed_extra_resources',
1505         'chrome_resources.gyp:packed_resources',
1506         'debugger',
1507         'renderer',
1508         'test_support_common',
1509         '../components/components.gyp:guest_view_test_support',
1510         '../content/app/resources/content_resources.gyp:content_resources',
1511         '../crypto/crypto.gyp:crypto_test_support',
1512         '../google_apis/google_apis.gyp:google_apis_test_support',
1513         '../net/net.gyp:net',
1514         '../net/net.gyp:net_resources',
1515         '../net/net.gyp:net_test_support',
1516         '../ppapi/ppapi_internal.gyp:ppapi_tests',
1517         '../skia/skia.gyp:skia',
1518         '../sync/sync.gyp:sync',
1519         '../testing/gmock.gyp:gmock',
1520         '../testing/gtest.gyp:gtest',
1521         '../third_party/hunspell/hunspell.gyp:hunspell',
1522         '../third_party/icu/icu.gyp:icui18n',
1523         '../third_party/icu/icu.gyp:icuuc',
1524         '../third_party/libpng/libpng.gyp:libpng',
1525         '../third_party/zlib/zlib.gyp:zlib',
1526         '../ui/base/ui_base.gyp:ui_base_test_support',
1527         '../ui/resources/ui_resources.gyp:ui_test_pak',
1528         '../ui/web_dialogs/web_dialogs.gyp:web_dialogs_test_support',
1529         # Runtime dependencies
1530         '../third_party/mesa/mesa.gyp:osmesa',
1531       ],
1532       'include_dirs': [
1533         '..',
1534       ],
1535       'defines': [
1536         'HAS_OUT_OF_PROC_TEST_RUNNER',
1537       ],
1538       'sources': [
1539         '<@(chrome_interactive_ui_test_sources)',
1540       ],
1541       'conditions': [
1542         [ 'cld_version==0 or cld_version==2', {
1543           'dependencies': [
1544             # Interactive tests should use whatever CLD2 data access mode that
1545             # the application embedder is using.
1546             '<(DEPTH)/third_party/cld_2/cld_2.gyp:cld2_platform_impl', ],
1547         }],
1548         ['use_x11==1', {
1549           'dependencies': [
1550             '../build/linux/system.gyp:xtst',
1551             '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck',
1552           ],
1553         }],
1554         ['OS=="linux"', {
1555           # TODO(gbillock): aura linux does not support the automation for
1556           # SendMouseMoveNotifyWhenDone
1557           'sources!': [
1558             'browser/ui/views/toolbar/toolbar_button_test.cc',
1559           ],
1560         }],
1561         ['OS=="linux"', {
1562           'dependencies': [
1563             '../build/linux/system.gyp:ssl',
1564           ],
1565         }, {  # Non-Linux platforms (Linux includes ChromeOS here).
1566           'sources': [
1567             '<@(chrome_interactive_ui_test_non_linux_and_chromeos_sources)',
1568           ],
1569         }],
1570         ['OS=="linux" and chromeos==0', {
1571           'sources!': [
1572             # TODO(port): This times out. Attempts have been made to fix the
1573             # individual failures, but each time I disable a test from these
1574             # suites, it seems like one or another starts timing out too.
1576             # Note: list duplicated in GN build.
1577             'browser/ui/views/keyboard_access_browsertest.cc',
1578           ],
1579         }, {  # Everything but desktop Linux.
1580           'sources': [ '<@(chrome_interactive_ui_test_non_desktop_linux_sources)' ],
1581         }],
1582         ['use_ash==1', {
1583           'sources': [ '<@(chrome_interactive_ui_test_ash_sources)' ],
1584           'dependencies': [
1585             '../ash/ash.gyp:ash_test_support',
1586           ],
1587         }],
1588         ['OS=="mac"', {
1589           'dependencies': [
1590             'chrome'
1591           ],
1592           # See comment about the same line in chrome/chrome_tests.gypi.
1593           'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-ObjC']},
1594         }, {  # Non-Mac.
1595           'sources': [ '<@(chrome_interactive_ui_test_views_non_mac_sources)' ],
1596         }],
1597         ['notifications == 1', {
1598           # Common notifications tests.
1599           'sources': [
1600             '<@(chrome_interactive_ui_test_notifications_sources)',
1601           ],
1602           'conditions': [
1603             ['chromeos == 1', {
1604               'sources': [
1605                 'browser/notifications/login_state_notification_blocker_chromeos_browsertest.cc',
1606               ],
1607             }, {
1608               # Non-ChromeOS notifications tests (ChromeOS does not use
1609               # cross-platform panels).
1610               'sources': [
1611                 # Note: List duplicated in GN build.
1612                 'browser/notifications/notification_browsertest.cc',
1613                 'browser/notifications/platform_notification_service_browsertest.cc',
1614               ],
1615             }],
1616             ['OS=="android"', {
1617               'sources!': [
1618                 # Note: List duplicated in GN build.
1620                 # Android does not use the message center-based Notification system.
1621                 'browser/notifications/message_center_notifications_browsertest.cc',
1623                 # TODO(peter): Enable the Notification browser tests.
1624                 'browser/notifications/notification_browsertest.cc',
1625                 'browser/notifications/platform_notification_service_browsertest.cc',
1626               ]
1627             }],
1628           ],
1629         }],
1630         ['toolkit_views==1', {
1631           'sources': [ '<@(chrome_interactive_ui_test_views_sources)' ],
1632           'dependencies': [
1633             '../ui/views/controls/webview/webview_tests.gyp:webview_test_support',
1634             '../ui/views/views.gyp:views',
1635             '../ui/views/views.gyp:views_test_support',
1636           ],
1637           'conditions': [
1638             ['use_aura==1', {
1639               'dependencies': [
1640                 '../ui/touch_selection/ui_touch_selection.gyp:ui_touch_selection',
1641               ],
1642             }],
1643           ],
1644         }],
1645         ['use_aura==0 or chromeos==1', {
1646           'sources!': [
1647             '../ui/views/corewm/desktop_capture_controller_unittest.cc',
1648           ],
1649         }],
1650         ['chromeos==1', {
1651           'dependencies': [
1652             '../ash/ash_resources.gyp:ash_resources',
1653             '../chromeos/chromeos.gyp:chromeos',
1654           ],
1655           'conditions': [
1656             ['disable_nacl==0 and disable_nacl_untrusted==0', {
1657               'dependencies': [
1658                 '../native_client/src/trusted/service_runtime/linux/nacl_bootstrap.gyp:nacl_helper_bootstrap',
1659                 '../components/nacl.gyp:nacl_helper',
1660                 '../components/nacl_nonsfi.gyp:nacl_helper_nonsfi',
1661               ],
1662             }],
1663           ],
1664           'sources': [
1665             '<@(chrome_interactive_ui_test_chromeos_sources)',
1666           ],
1667           'sources!': [
1668             # Note: List duplicated in GN build.
1669             '../ui/views/widget/desktop_aura/desktop_window_tree_host_x11_interactive_uitest.cc',
1670             '../ui/views/widget/desktop_aura/x11_topmost_window_finder_interactive_uitest.cc',
1672             # Use only the _chromeos version on ChromeOS.
1673             'test/base/view_event_test_platform_part_ash.cc',
1674           ],
1675         }, {  # Non-ChromeOS.
1676           # ChromeOS doesn't use panels, everybody else does.
1677           'sources': [ '<@(chrome_interactive_ui_test_panels_sources)' ],
1678           'conditions': [
1679             # TODO(tapted): Include on mac when views panels are ported.
1680             [ 'toolkit_views==1 and OS != "mac"', {
1681               'sources': [
1682                 '<@(chrome_interactive_ui_test_panels_views_sources)',
1683               ],
1684             }],
1685           ],
1686         }],
1687         ['chromeos==1 and branding=="Chrome"', {
1688           'sources!': [
1689             # These tests are failing on official cros bots. crbug.com/431450.
1690             # Note: list duplicated in GN build.
1691             'browser/ui/views/bookmarks/bookmark_bar_view_test.cc',
1692           ],
1693         }],
1694         ['OS=="win"', {
1695           'include_dirs': [
1696             '../third_party/wtl/include',
1697           ],
1698           'dependencies': [
1699             '../third_party/isimpledom/isimpledom.gyp:isimpledom',
1700             '../ui/resources/ui_resources.gyp:ui_resources',
1701             'chrome.gyp:chrome_version_resources',
1702           ],
1703           'sources': [
1704             '<@(chrome_interactive_ui_test_win_sources)',
1706             # TODO:  It would be nice to have these pulled in
1707             # automatically from direct_dependent_settings in
1708             # their various targets (net.gyp:net_resources, etc.),
1709             # but that causes errors in other targets when
1710             # resulting .res files get referenced multiple times.
1711             '<(SHARED_INTERMEDIATE_DIR)/chrome_version/other_version.rc',
1712             '<(SHARED_INTERMEDIATE_DIR)/ui/resources/ui_unscaled_resources.rc',
1713           ],
1714           'conditions': [
1715             ['win_use_allocator_shim==1', {
1716               'dependencies': [
1717                  '../base/allocator/allocator.gyp:allocator',
1718               ],
1719             }],
1720           ],
1721           'msvs_settings': {
1722             'VCLinkerTool': {
1723               'conditions': [
1724                 ['incremental_chrome_dll==1', {
1725                   'UseLibraryDependencyInputs': "true",
1726                 }],
1727               ],
1728             },
1729           },
1730           # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
1731           'msvs_disabled_warnings': [ 4267, ],
1732         }],  # OS != "win"
1733         ['enable_app_list==1', {
1734           'sources': [ '<@(chrome_interactive_ui_test_app_list_sources)' ],
1735         }],
1736       ],  # conditions
1737     },
1738     {
1739       # GN version: //chrome/test/chromedriver:automation_client_lib
1740       'target_name': 'automation_client_lib',
1741       'type': 'static_library',
1742       'hard_dependency': 1,
1743       'dependencies': [
1744         '../base/base.gyp:base',
1745         '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
1746         '../net/net.gyp:net',
1747         '../third_party/zlib/zlib.gyp:minizip',
1748         '../third_party/zlib/zlib.gyp:zlib',
1749         '../ui/accessibility/accessibility.gyp:ax_gen',
1750         '../ui/base/ui_base.gyp:ui_base',
1751         '../ui/gfx/gfx.gyp:gfx',
1752         '../ui/gfx/gfx.gyp:gfx_geometry',
1753         '../url/url.gyp:url_lib',
1754       ],
1755       'include_dirs': [
1756         '..',
1757         '<(SHARED_INTERMEDIATE_DIR)',
1758       ],
1759       'direct_dependent_settings': {
1760         'include_dirs': [
1761           '<(SHARED_INTERMEDIATE_DIR)',
1762         ],
1763       },
1764       'sources': [
1765         '<@(chrome_automation_client_lib_sources)',
1766         '<(SHARED_INTERMEDIATE_DIR)/chrome/test/chromedriver/chrome/embedded_automation_extension.cc',
1767         '<(SHARED_INTERMEDIATE_DIR)/chrome/test/chromedriver/chrome/embedded_automation_extension.h',
1768         '<(SHARED_INTERMEDIATE_DIR)/chrome/test/chromedriver/chrome/js.cc',
1769         '<(SHARED_INTERMEDIATE_DIR)/chrome/test/chromedriver/chrome/js.h',
1770         '<(SHARED_INTERMEDIATE_DIR)/chrome/test/chromedriver/chrome/user_data_dir.cc',
1771         '<(SHARED_INTERMEDIATE_DIR)/chrome/test/chromedriver/chrome/user_data_dir.h',
1772       ],
1773       'actions': [
1774         {
1775           # GN version: //chrome/test/chromedriver:embed_js_in_cpp
1776           'action_name': 'embed_js_in_cpp',
1777           'inputs': [
1778             'test/chromedriver/cpp_source.py',
1779             'test/chromedriver/embed_js_in_cpp.py',
1780             'test/chromedriver/js/add_cookie.js',
1781             'test/chromedriver/js/call_function.js',
1782             'test/chromedriver/js/execute_async_script.js',
1783             'test/chromedriver/js/focus.js',
1784             'test/chromedriver/js/get_element_region.js',
1785             'test/chromedriver/js/is_option_element_toggleable.js',
1786           ],
1787           'outputs': [
1788             '<(SHARED_INTERMEDIATE_DIR)/chrome/test/chromedriver/chrome/js.cc',
1789             '<(SHARED_INTERMEDIATE_DIR)/chrome/test/chromedriver/chrome/js.h',
1790           ],
1791           'action': [ 'python',
1792                       'test/chromedriver/embed_js_in_cpp.py',
1793                       '--directory',
1794                       '<(SHARED_INTERMEDIATE_DIR)/chrome/test/chromedriver/chrome',
1795                       'test/chromedriver/js/add_cookie.js',
1796                       'test/chromedriver/js/call_function.js',
1797                       'test/chromedriver/js/execute_async_script.js',
1798                       'test/chromedriver/js/focus.js',
1799                       'test/chromedriver/js/get_element_region.js',
1800                       'test/chromedriver/js/is_option_element_toggleable.js',
1801           ],
1802           'message': 'Generating sources for embedding js in chromedriver',
1803         },
1804         {
1805           # GN version: //chrome/test/chromedriver:embed_user_data_dir_in_cpp
1806           'action_name': 'embed_user_data_dir_in_cpp',
1807           'inputs': [
1808             'test/chromedriver/cpp_source.py',
1809             'test/chromedriver/embed_user_data_dir_in_cpp.py',
1810             'test/chromedriver/chrome/preferences.txt',
1811             'test/chromedriver/chrome/local_state.txt',
1812           ],
1813           'outputs': [
1814             '<(SHARED_INTERMEDIATE_DIR)/chrome/test/chromedriver/chrome/user_data_dir.cc',
1815             '<(SHARED_INTERMEDIATE_DIR)/chrome/test/chromedriver/chrome/user_data_dir.h',
1816           ],
1817           'action': [ 'python',
1818                       'test/chromedriver/embed_user_data_dir_in_cpp.py',
1819                       '--directory',
1820                       '<(SHARED_INTERMEDIATE_DIR)/chrome/test/chromedriver/chrome',
1821                       'test/chromedriver/chrome/preferences.txt',
1822                       'test/chromedriver/chrome/local_state.txt',
1823           ],
1824           'message': 'Generating sources for embedding user data dir in chromedriver',
1825         },
1826         {
1827           # GN version: //chrome/test/chromedriver:embed_extension_in_cpp
1828           'action_name': 'embed_extension_in_cpp',
1829           'inputs': [
1830             'test/chromedriver/cpp_source.py',
1831             'test/chromedriver/embed_extension_in_cpp.py',
1832             'test/chromedriver/extension/background.js',
1833             'test/chromedriver/extension/manifest.json',
1834           ],
1835           'outputs': [
1836             '<(SHARED_INTERMEDIATE_DIR)/chrome/test/chromedriver/chrome/embedded_automation_extension.cc',
1837             '<(SHARED_INTERMEDIATE_DIR)/chrome/test/chromedriver/chrome/embedded_automation_extension.h',
1838           ],
1839           'action': [ 'python',
1840                       'test/chromedriver/embed_extension_in_cpp.py',
1841                       '--directory',
1842                       '<(SHARED_INTERMEDIATE_DIR)/chrome/test/chromedriver/chrome',
1843                       'test/chromedriver/extension/background.js',
1844                       'test/chromedriver/extension/manifest.json',
1845           ],
1846           'message': 'Generating sources for embedding automation extension',
1847         },
1848       ],
1849       # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
1850       'msvs_disabled_warnings': [ 4267, ],
1851     },
1852     {
1853       # GN version: //chrome/test/chromedriver:lib
1854       'target_name': 'chromedriver_lib',
1855       'type': 'static_library',
1856       'hard_dependency': 1,
1857       'dependencies': [
1858         'automation_client_lib',
1859         '../base/base.gyp:base',
1860         '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
1861         '../crypto/crypto.gyp:crypto',
1862         '../net/net.gyp:http_server',
1863         '../net/net.gyp:net',
1864         '../third_party/zlib/google/zip.gyp:zip',
1865         '../ui/base/ui_base.gyp:ui_base',
1866         '../ui/events/events.gyp:events_base',
1867         '../ui/events/ozone/events_ozone.gyp:events_ozone_layout',
1868         '../ui/gfx/gfx.gyp:gfx',
1869         '../ui/gfx/gfx.gyp:gfx_geometry',
1870       ],
1871       'include_dirs': [
1872         '..',
1873       ],
1874       'sources': [
1875         '<@(chrome_driver_lib_sources)',
1876         '<(SHARED_INTERMEDIATE_DIR)/chrome/test/chromedriver/version.cc',
1877         '<(SHARED_INTERMEDIATE_DIR)/chrome/test/chromedriver/version.h',
1878       ],
1879       'actions': [
1880         {
1881           # GN version: //chrome/test/chromedriver:embed_version_in_cpp
1882           'action_name': 'embed_version_in_cpp',
1883           'inputs': [
1884             'test/chromedriver/cpp_source.py',
1885             'test/chromedriver/embed_version_in_cpp.py',
1886             'test/chromedriver/VERSION',
1887           ],
1888           'outputs': [
1889             '<(SHARED_INTERMEDIATE_DIR)/chrome/test/chromedriver/version.cc',
1890             '<(SHARED_INTERMEDIATE_DIR)/chrome/test/chromedriver/version.h',
1891           ],
1892           'action': [ 'python',
1893                       'test/chromedriver/embed_version_in_cpp.py',
1894                       '--version-file',
1895                       'test/chromedriver/VERSION',
1896                       '--directory',
1897                       '<(SHARED_INTERMEDIATE_DIR)/chrome/test/chromedriver',
1898           ],
1899           'message': 'Generating version info',
1900         },
1901       ],
1902       'direct_dependent_settings': {
1903         'include_dirs': [
1904           '<(SHARED_INTERMEDIATE_DIR)',
1905         ],
1906       },
1907       'conditions': [
1908         ['use_x11==1', {
1909           'dependencies': [
1910             '../build/linux/system.gyp:x11',
1911             '../ui/gfx/x/gfx_x11.gyp:gfx_x11',
1912           ]
1913         }]
1914       ],
1915       # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
1916       'msvs_disabled_warnings': [ 4267, ],
1917     },
1918     {
1919       # GN version: //chrome/test/chromedriver
1920       'target_name': 'chromedriver',
1921       'type': 'executable',
1922       'dependencies': [
1923         'chromedriver_lib',
1924       ],
1925       'include_dirs': [
1926         '..',
1927       ],
1928       'sources': [
1929         'test/chromedriver/server/chromedriver_server.cc',
1930       ],
1931       # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
1932       'msvs_disabled_warnings': [ 4267, ],
1933     },
1934     {
1935       # GN version: //chrome/test/chromedriver:chromedriver_unittests
1936       'target_name': 'chromedriver_unittests',
1937       'type': 'executable',
1938       'dependencies': [
1939         'chromedriver_lib',
1940         '../base/base.gyp:base',
1941         '../base/base.gyp:run_all_unittests',
1942         '../net/net.gyp:http_server',
1943         '../net/net.gyp:net',
1944         '../testing/gtest.gyp:gtest',
1945         '../ui/base/ui_base.gyp:ui_base',
1946         '../ui/gfx/gfx.gyp:gfx',
1947         '../ui/gfx/gfx.gyp:gfx_geometry',
1948       ],
1949       'include_dirs': [
1950         '..,'
1951       ],
1952       'sources': [
1953         '<@(chrome_driver_unittests_sources)',
1954       ],
1955       # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
1956       'msvs_disabled_warnings': [ 4267, ],
1957     },
1958     # ChromeDriver tests that aren't run on the main buildbot. Available
1959     # as an optional test type on trybots.
1960     {
1961       # GN version: //chrome/test/chromedriver:chromedriver_tests
1962       'target_name': 'chromedriver_tests',
1963       'type': 'executable',
1964       'dependencies': [
1965         'chromedriver_lib',
1966         '../base/base.gyp:base',
1967         '../base/base.gyp:run_all_unittests',
1968         '../net/net.gyp:http_server',
1969         '../net/net.gyp:net',
1970         '../net/net.gyp:net_test_support',
1971         '../testing/gtest.gyp:gtest',
1972         '../url/url.gyp:url_lib',
1973       ],
1974       'include_dirs': [
1975         '..,'
1976       ],
1977       'sources': [
1978         '<@(chrome_driver_tests_sources)',
1979       ],
1980       # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
1981       'msvs_disabled_warnings': [ 4267, ],
1982     },
1983     {
1984       # Executable that runs each browser test in a new process.
1985       'target_name': 'browser_tests',
1986       'type': 'executable',
1987       'dependencies': [
1988         'browser',
1989         'chrome_resources.gyp:browser_tests_pak',
1990         'chrome_resources.gyp:chrome_resources',
1991         'chrome_resources.gyp:chrome_strings',
1992         'chrome_resources.gyp:packed_extra_resources',
1993         'chrome_resources.gyp:packed_resources',
1994         'common/extensions/api/api.gyp:chrome_api',
1995         'renderer',
1996         'test_support_common',
1997         'test_support_sync_integration',
1998         '../base/base.gyp:base',
1999         '../base/base.gyp:base_i18n',
2000         '../base/base.gyp:test_support_base',
2001         '../components/components.gyp:autofill_content_risk_proto',
2002         '../components/components.gyp:autofill_content_test_support',
2003         '../components/components.gyp:captive_portal_test_support',
2004         '../components/components.gyp:dom_distiller_content',
2005         '../components/components.gyp:dom_distiller_test_support',
2006         '../components/components.gyp:guest_view_test_support',
2007         '../components/components.gyp:translate_core_common',
2008         '../components/components_resources.gyp:components_resources',
2009         '../components/components_strings.gyp:components_strings',
2010         '../crypto/crypto.gyp:crypto_test_support',
2011         '../device/bluetooth/bluetooth.gyp:device_bluetooth_mocks',
2012         '../device/serial/serial.gyp:device_serial_test_util',
2013         '../extensions/common/api/api.gyp:extensions_api',
2014         '../google_apis/google_apis.gyp:google_apis_test_support',
2015         '../media/cast/cast.gyp:cast_test_utility',
2016         '../media/media.gyp:media',
2017         '../net/net.gyp:net',
2018         '../net/net.gyp:net_test_support',
2019         '../sdch/sdch.gyp:sdch',
2020         '../skia/skia.gyp:skia',
2021         '../sync/sync.gyp:sync',
2022         '../sync/sync.gyp:test_support_sync_api',
2023         '../testing/gmock.gyp:gmock',
2024         '../testing/gtest.gyp:gtest',
2025         '../testing/perf/perf_test.gyp:*',
2026         '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation',
2027         '../third_party/icu/icu.gyp:icui18n',
2028         '../third_party/icu/icu.gyp:icuuc',
2029         '../third_party/leveldatabase/leveldatabase.gyp:leveldatabase',
2030         '../third_party/libaddressinput/libaddressinput.gyp:libaddressinput',
2031         '../third_party/safe_browsing/safe_browsing.gyp:safe_browsing',
2032         '../third_party/webrtc/modules/modules.gyp:desktop_capture',
2033         '../third_party/widevine/cdm/widevine_cdm.gyp:widevine_cdm_version_h',
2034         '../ui/accessibility/accessibility.gyp:accessibility_test_support',
2035         '../ui/compositor/compositor.gyp:compositor_test_support',
2036         '../ui/resources/ui_resources.gyp:ui_resources',
2037         '../ui/web_dialogs/web_dialogs.gyp:web_dialogs_test_support',
2038         '../v8/tools/gyp/v8.gyp:v8',
2039         # Runtime dependencies
2040         '../ppapi/ppapi_internal.gyp:power_saver_test_plugin',
2041         '../ppapi/ppapi_internal.gyp:ppapi_tests',
2042         '../remoting/remoting.gyp:remoting_browser_test_resources',
2043         '../remoting/remoting.gyp:remoting_webapp_unittests',
2044         '../third_party/mesa/mesa.gyp:osmesa',
2045         '../third_party/widevine/cdm/widevine_cdm.gyp:widevine_test_license_server',
2046       ],
2047       'include_dirs': [
2048         '..',
2049         '<(SHARED_INTERMEDIATE_DIR)',
2050       ],
2051       'defines': [
2052         'HAS_OUT_OF_PROC_TEST_RUNNER',
2053       ],
2054       'sources': [
2055         '<@(chrome_browser_tests_sources)',
2056         '<@(chrome_browser_tests_webui_js_sources)',
2057         '<@(chrome_browser_extensions_test_support_sources)',
2058         'test/base/browser_tests_main.cc',
2059       ],
2060       'rules': [
2061         {
2062           'rule_name': 'js2webui',
2063           'extension': 'js',
2064           'msvs_external_rule': 1,
2065           'variables': {
2066             'conditions': [
2067               ['v8_use_external_startup_data==1', {
2068                 'external_v8': 'y',
2069               }, {
2070                 'external_v8': 'n',
2071               }],
2072             ],
2073           },
2074           'inputs': [
2075             '<(gypv8sh)',
2076             '<(PRODUCT_DIR)/d8<(EXECUTABLE_SUFFIX)',
2077             '<(mock_js)',
2078             '<(test_api_js)',
2079             '<(js2gtest)',
2080           ],
2081           'outputs': [
2082             '<(INTERMEDIATE_DIR)/chrome/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_ROOT)-gen.cc',
2083             '<(PRODUCT_DIR)/test_data/chrome/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_ROOT).js',
2084           ],
2085           'process_outputs_as_sources': 1,
2086           'action': [
2087             'python',
2088             '<@(_inputs)',
2089             '--external', '<(external_v8)',
2090             'webui',
2091             '<(RULE_INPUT_PATH)',
2092             'chrome/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_ROOT).js',
2093             '<@(_outputs)',
2094           ],
2095         },
2096       ],
2097       'msvs_settings': {
2098         'VCLinkerTool': {
2099           'conditions': [
2100             ['incremental_chrome_dll==1', {
2101               'UseLibraryDependencyInputs': "true",
2102             }],
2103           ],
2104         },
2105       },
2106       'conditions': [
2107         [ 'cld_version==0 or cld_version==2', {
2108           'dependencies': [
2109             # Because the browser_tests use translate, they need CLD data.
2110             '<(DEPTH)/third_party/cld_2/cld_2.gyp:cld2_platform_impl', ],
2111         }],
2112         ['enable_one_click_signin==0', {
2113           'sources!': [
2114             'browser/ui/sync/one_click_signin_bubble_links_delegate_browsertest.cc',
2115           ]
2116         }],
2117         ['enable_autofill_dialog==0', {
2118           'sources!': [
2119             'browser/ui/autofill/autofill_dialog_controller_browsertest.cc',
2120           ]
2121         }],
2122         ['disable_nacl==0', {
2123           'sources':[
2124             'browser/extensions/extension_nacl_browsertest.cc',
2125             'browser/nacl_host/test/gdb_debug_stub_browsertest.cc',
2126           ],
2127           'conditions': [
2128             ['disable_nacl_untrusted==0', {
2129               'sources': [
2130                 'test/nacl/nacl_browsertest.cc',
2131                 'test/nacl/nacl_browsertest_uma.cc',
2132                 'test/nacl/nacl_browsertest_util.cc',
2133                 'test/nacl/nacl_browsertest_util.h',
2134                 'test/nacl/pnacl_header_test.cc',
2135                 'test/nacl/pnacl_header_test.h',
2136               ],
2137               'dependencies': [
2138                 'test/data/nacl/nacl_test_data.gyp:*',
2139                 '../ppapi/native_client/native_client.gyp:nacl_irt',
2140                 '../ppapi/ppapi_nacl.gyp:ppapi_nacl_tests',
2141                 '../ppapi/tests/extensions/extensions.gyp:ppapi_tests_extensions_background_keepalive',
2142                 '../ppapi/tests/extensions/extensions.gyp:ppapi_tests_extensions_load_unload',
2143                 '../ppapi/tests/extensions/extensions.gyp:ppapi_tests_extensions_media_galleries',
2144                 '../ppapi/tests/extensions/extensions.gyp:ppapi_tests_extensions_packaged_app',
2145                 '../ppapi/tests/extensions/extensions.gyp:ppapi_tests_extensions_socket_permissions',
2146               ],
2147               'conditions': [
2148                 ['chromeos==1', {
2149                   'sources': [
2150                     '../third_party/liblouis/nacl_wrapper/liblouis_wrapper_browsertest.cc',
2151                   ],
2152                   'dependencies': [
2153                     'browser_chromeos',
2154                     '../third_party/liblouis/liblouis_nacl.gyp:liblouis_test_data',
2155                   ],
2156                 }],
2157               ],
2158             }],
2159             ['OS=="win" or OS=="linux"', {
2160               'sources': [
2161                 'browser/nacl_host/test/nacl_gdb_browsertest.cc',
2162               ],
2163               'dependencies': [
2164                 'browser/nacl_host/test/mock_nacl_gdb.gyp:mock_nacl_gdb',
2165               ],
2166             }],
2167             ['OS=="win"', {
2168               # TODO(halyavin) NaCl on Windows can't open debug stub socket
2169               # in browser process as needed by this test.
2170               # See http://crbug.com/157312.
2171               'sources!': [
2172                 'browser/nacl_host/test/gdb_debug_stub_browsertest.cc',
2173               ],
2174               'dependencies': [
2175                 'chrome.gyp:chrome_nacl_win64',
2176               ],
2177             }],
2178             ['OS=="linux"', {
2179               'dependencies': [
2180                 '../native_client/src/trusted/service_runtime/linux/nacl_bootstrap.gyp:nacl_helper_bootstrap',
2181                 '../components/nacl.gyp:nacl_helper',
2182                 '../components/nacl_nonsfi.gyp:nacl_helper_nonsfi',
2183               ],
2184             }],
2185             ['chromeos==0', {
2186               'sources!': [
2187                 'test/data/chromeos/oobe_webui_browsertest.js',
2188               ],
2189             }],
2190           ],
2191         }],
2192         ['debug_devtools==1', {
2193           'defines': [
2194             'DEBUG_DEVTOOLS=1',
2195           ],
2196         }],
2197         ['use_ash==1', {
2198           'dependencies': [
2199             '../ash/ash.gyp:ash_test_support',
2200           ],
2201         }],
2202         ['use_aura==1 or toolkit_views==1', {
2203           'dependencies': [
2204             '../ui/events/events.gyp:events_test_support',
2205           ],
2206         }],
2207         ['chromeos == 1', {
2208           'sources': [ '<@(chrome_browser_tests_chromeos_sources)' ],
2209           'sources!': [
2210             '../apps/load_and_launch_browsertest.cc',
2211             'browser/policy/policy_startup_browsertest.cc',
2212             'browser/printing/cloud_print/test/cloud_print_policy_browsertest.cc',
2213             'browser/printing/cloud_print/test/cloud_print_proxy_process_browsertest.cc',
2214             # chromeos does not support profile list avatar menu
2215             'browser/profiles/profile_list_desktop_browsertest.cc',
2216             'browser/service_process/service_process_control_browsertest.cc',
2217             'browser/signin/signin_browsertest.cc',
2218             # bookmark sign in promo not used on chromeos
2219             'browser/ui/bookmarks/bookmark_bubble_sign_in_delegate_browsertest.cc',
2220             # chromeos does not use cross-platform panels
2221             'browser/ui/panels/panel_extension_browsertest.cc',
2222             # chromeos does not use the desktop user manager
2223             'browser/ui/webui/signin/user_manager_ui_browsertest.cc',
2224           ],
2225           'dependencies': [
2226             '../dbus/dbus.gyp:dbus_test_support',
2227             '../build/linux/system.gyp:dbus',
2228             '../ui/login/login.gyp:login_resources',
2229           ],
2230         }, {  # Non-ChromeOS
2231           'sources!': [
2232             'browser/extensions/api/enterprise_platform_keys/enterprise_platform_keys_apitest_nss.cc',
2233             'browser/extensions/api/platform_keys/platform_keys_apitest_nss.cc',
2234             'browser/extensions/api/terminal/terminal_private_apitest.cc',
2235             'browser/invalidation/profile_invalidation_provider_factory_browsertest.cc',
2236             'browser/net/nss_context_chromeos_browsertest.cc',
2237             'browser/ui/ash/keyboard_controller_browsertest.cc',
2238             'browser/ui/views/select_file_dialog_extension_browsertest.cc',
2239             'test/data/webui/certificate_viewer_dialog_test.js',
2240             'test/data/webui/certificate_viewer_ui_test-inl.h',
2241           ],
2242         }],
2243         ['configuration_policy==1', {
2244           'sources': [ '<@(chrome_browser_tests_policy_sources)' ],
2245         }],
2246         ['enable_web_speech==1', {
2247           'sources': [ '<@(chrome_browser_tests_speech_sources)' ],
2248         }],
2249         # TODO(nparker) enable tests for safe_browsing==2.
2250         ['safe_browsing==1', {
2251           'sources': [ '<@(chrome_browser_tests_full_safe_browsing_sources)' ],
2252         }],
2253         ['enable_captive_portal_detection==1', {
2254           'sources': [ 'browser/captive_portal/captive_portal_browsertest.cc' ],
2255         }],
2256         ['enable_webrtc==0', {
2257           'sources!': [
2258             'browser/extensions/api/webrtc_audio_private/webrtc_audio_private_browsertest.cc',
2259             'browser/extensions/api/webrtc_logging_private/webrtc_logging_private_apitest.cc',
2260             'browser/media/chrome_webrtc_browsertest.cc',
2261             'browser/media/chrome_webrtc_disable_encryption_flag_browsertest.cc',
2262             'browser/media/chrome_webrtc_getmediadevices_browsertest.cc',
2263          ],
2264         }],
2265         ['OS=="win"', {
2266           'sources': [
2267             '<(SHARED_INTERMEDIATE_DIR)/chrome_version/other_version.rc',
2268             '<(SHARED_INTERMEDIATE_DIR)/ui/resources/ui_unscaled_resources.rc',
2269           ],
2270           'include_dirs': [
2271             '<(DEPTH)/third_party/wtl/include',
2272           ],
2273           'dependencies': [
2274             'chrome_version_resources',
2275           ],
2276           'conditions': [
2277             ['win_use_allocator_shim==1', {
2278               'dependencies': [
2279                 '<(allocator_target)',
2280               ],
2281             }],
2282           ],
2283         }, { # else: OS != "win"
2284           'sources!': [
2285             'app/chrome_command_ids.h',
2286             'app/chrome_dll.rc',
2287             'app/chrome_dll_resource.h',
2288             'app/chrome_version.rc.version',
2289           ],
2290         }],
2291         ['chromeos==0 and use_aura==1', {
2292           'sources!': [
2293             # On Windows and Linux, we currently don't support enough of the
2294             # ash environment to run these unit tests.
2295             #
2296             # TODO: enable these on windows and linux.
2297             'browser/ui/ash/accelerator_commands_browsertest.cc',
2298             'browser/ui/ash/accelerator_controller_browsertest.cc',
2299             'browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc',
2300             'browser/ui/ash/launcher/launcher_favicon_loader_browsertest.cc',
2301             'browser/ui/ash/shelf_browsertest.cc',
2302             'browser/ui/views/frame/browser_non_client_frame_view_ash_browsertest.cc',
2303           ],
2304         }],
2305         ['OS=="linux"', {
2306           'dependencies': [
2307             '../build/linux/system.gyp:ssl',
2308           ],
2309         }],
2310         ['OS=="mac"', {
2311           # TODO(mark): We really want this for all non-static library
2312           # targets, but when we tried to pull it up to the common.gypi
2313           # level, it broke other things like the ui and startup tests. *shrug*
2314           'xcode_settings': {
2315             'OTHER_LDFLAGS': [
2316               '-Wl,-ObjC',
2317             ],
2318           },
2319           # Other platforms only need
2320           # chrome_resources.gyp:{packed_extra_resources,packed_resources},
2321           # and can build this target standalone much faster.
2322           'dependencies': [
2323             'app_mode_app_support',
2324             'chrome',
2325             '../components/components.gyp:breakpad_stubs',
2326             '../third_party/ocmock/ocmock.gyp:ocmock',
2327           ],
2328           'sources': [
2329             'browser/media_galleries/fileapi/iphoto_data_provider_browsertest.cc',
2330             'browser/renderer_host/chrome_render_widget_host_view_mac_history_swiper_browsertest.mm',
2331             'browser/spellchecker/spellcheck_message_filter_mac_browsertest.cc',
2332           ],
2333           'sources!': [
2334             # TODO(groby): This test depends on hunspell and we cannot run it on
2335             # Mac, which does not use hunspell by default.
2336             'browser/spellchecker/spellcheck_service_browsertest.cc',
2338             # TODO(rouslan): This test depends on the custom dictionary UI,
2339             # which is disabled on Mac.
2340             'browser/ui/webui/options/edit_dictionary_browsertest.js',
2341             # TODO(rouslan): This test depends on hunspell and we cannot run it
2342             # on Mac, which does use hunspell by default.
2343             'browser/ui/webui/options/language_options_dictionary_download_browsertest.js',
2344             # This test depends on GetCommandLineForRelaunch, which is not
2345             # available on Mac.
2346             'browser/printing/cloud_print/test/cloud_print_policy_browsertest.cc',
2347             # ProcessSingletonMac doesn't do anything.
2348             'browser/process_singleton_browsertest.cc',
2349             # single-process mode hangs on Mac sometimes because of multiple UI
2350             # message loops. See 306348
2351             'renderer/safe_browsing/phishing_classifier_browsertest.cc',
2352             'renderer/safe_browsing/phishing_classifier_delegate_browsertest.cc',
2353             'renderer/safe_browsing/phishing_dom_feature_extractor_browsertest.cc',
2354           ],
2355         }],  # OS=="mac"
2356         ['OS=="mac" or OS=="win"', {
2357           'sources': [
2358             'browser/extensions/api/networking_private/networking_private_apitest.cc',
2359             'browser/extensions/api/networking_private/networking_private_service_client_apitest.cc',
2360             'browser/media_galleries/fileapi/itunes_data_provider_browsertest.cc',
2361             'browser/media_galleries/fileapi/picasa_data_provider_browsertest.cc',
2362           ],
2363           'dependencies': [
2364             '../components/components.gyp:wifi_test_support',
2365           ],
2366         }],
2367         ['os_posix == 0 or chromeos == 1', {
2368           'sources!': [
2369             'common/time_format_browsertest.cc',
2370           ],
2371         }],
2372         ['OS=="android"', {
2373           'sources!': [
2374             'browser/policy/cloud/component_cloud_policy_browsertest.cc',
2375             'browser/prefs/pref_hash_browsertest.cc',
2376             'browser/ui/bookmarks/bookmark_bubble_sign_in_delegate_browsertest.cc',
2377           ],
2378         }],
2379         ['os_posix == 1 and OS != "mac" and OS != "android"', {
2380           'conditions': [
2381             ['use_allocator!="none"', {
2382               'dependencies': [
2383                 '../base/allocator/allocator.gyp:allocator',
2384               ],
2385             }],
2386           ],
2387         }],
2388         ['chromeos == 1', {
2389           'sources': [
2390             'browser/extensions/api/networking_private/networking_private_apitest.cc',
2391             'browser/extensions/api/networking_private/networking_private_chromeos_apitest.cc',
2392           ],
2393         }],
2394         ['toolkit_views==1', {
2395           'sources': [ '<@(chrome_browser_tests_views_sources)' ],
2396           'dependencies': [
2397             '../ui/views/views.gyp:views',
2398           ],
2399         }],
2400         ['toolkit_views==1 and OS!="mac"', {
2401           'sources': [ '<@(chrome_browser_tests_views_non_mac_sources)' ],
2402         }],
2403         ['OS!="android" and OS!="ios"', {
2404           'sources': [
2405             'browser/copresence/chrome_whispernet_client_browsertest.cc',
2406           ],
2407           'dependencies': [
2408             '../components/components.gyp:copresence',
2409             # build time dependency.
2410             '../v8/src/d8.gyp:d8#host',
2411           ],
2412         }],
2413         ['enable_app_list==1', {
2414           'sources': [ '<@(chrome_browser_tests_app_list_sources)' ],
2415         }, {
2416           'sources!': [ 'browser/ui/webui/app_list/start_page_browsertest.js' ],
2417         }],
2418         ['enable_supervised_users==1', {
2419           'sources': [ '<@(chrome_browser_tests_supervised_user_sources)' ],
2420         }, {
2421           'sources!': [
2422             'browser/ui/webui/downloads_ui_supervised_browsertest.js',
2423           ],
2424         }],
2425         ['enable_pepper_cdms==1', {
2426           'dependencies': [
2427             # Runtime dependencies.
2428             '../third_party/widevine/cdm/widevine_cdm.gyp:widevinecdmadapter',
2429             '../media/media.gyp:clearkeycdmadapter',
2430           ],
2431         }],
2432         ['enable_print_preview==0', {
2433           'sources!': [
2434             'browser/extensions/api/cloud_print_private/cloud_print_private_apitest.cc',
2435             'browser/printing/cloud_print/test/cloud_print_policy_browsertest.cc',
2436             'browser/printing/cloud_print/test/cloud_print_proxy_process_browsertest.cc',
2437             'browser/printing/print_preview_dialog_controller_browsertest.cc',
2438             'browser/printing/print_preview_pdf_generated_browsertest.cc',
2439             'browser/service_process/service_process_control_browsertest.cc',
2440             'browser/ui/webui/print_preview/print_preview_ui_browsertest.cc',
2441             'test/data/webui/print_preview.cc',
2442             'test/data/webui/print_preview.h',
2443             'test/data/webui/print_preview.js',
2444           ],
2445         }],
2446         ['enable_media_router==1', {
2447           'sources': [ '<@(chrome_browser_tests_media_router_sources)' ],
2448           'dependencies': [ 'browser/media/router/media_router.gyp:media_router_test_support' ],
2449           'conditions': [
2450             ['toolkit_views==0', {
2451               'sources!': [ 'browser/ui/views/media_router/media_router_ui_browsertest.cc' ],
2452             }],
2453           ],
2454         }],
2455         ['enable_mdns==1', {
2456           'sources' : [
2457             'browser/ui/webui/local_discovery/local_discovery_ui_browsertest.cc',
2458           ]
2459         }],
2460         [ 'use_brlapi==0', {
2461           'sources!': [
2462             'browser/extensions/api/braille_display_private/braille_display_private_apitest.cc'
2463             ]
2464         }],
2465         ['branding=="Chrome"', {
2466           'sources!': [
2467             # crbug.com/230471
2468             'test/data/webui/accessibility_audit_browsertest.js',
2469             # These tests depend on single process mode, which is disabled in
2470             # official builds.
2471             'renderer/safe_browsing/phishing_classifier_browsertest.cc',
2472             'renderer/safe_browsing/phishing_classifier_delegate_browsertest.cc',
2473             'renderer/safe_browsing/phishing_dom_feature_extractor_browsertest.cc',
2474           ]
2475         }],
2476         ['enable_autofill_dialog!=1 or OS=="android" or OS=="ios"', {
2477           'dependencies!': [
2478             '../third_party/libaddressinput/libaddressinput.gyp:libaddressinput',
2479           ],
2480         }],
2481         ['remoting==1', {
2482           'sources': [ '<@(chrome_browser_tests_remoting_sources)' ],
2483           'dependencies': [
2484             '../remoting/remoting.gyp:remoting_webapp',
2485           ]
2486         }],
2487         ['use_x11==1', {
2488           'dependencies': [
2489             '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck',
2490           ],
2491         }],
2492       ],  # conditions
2493     },  # target browser_tests
2494     {
2495       # Executable that runs each perf browser test in a new process.
2496       'target_name': 'performance_browser_tests',
2497       'type': 'executable',
2498       'dependencies': [
2499         'browser',
2500         'chrome_resources.gyp:chrome_resources',
2501         'chrome_resources.gyp:chrome_strings',
2502         'chrome_resources.gyp:packed_extra_resources',
2503         'chrome_resources.gyp:packed_resources',
2504         'renderer',
2505         'test_support_common',
2506         '../base/base.gyp:base',
2507         '../base/base.gyp:base_i18n',
2508         '../base/base.gyp:test_support_base',
2509         '../media/cast/cast.gyp:cast_test_utility',
2510         '../net/net.gyp:net',
2511         '../net/net.gyp:net_test_support',
2512         '../skia/skia.gyp:skia',
2513         '../sync/sync.gyp:sync',
2514         '../testing/gmock.gyp:gmock',
2515         '../testing/gtest.gyp:gtest',
2516         '../testing/perf/perf_test.gyp:*',
2517         '../third_party/icu/icu.gyp:icui18n',
2518         '../third_party/icu/icu.gyp:icuuc',
2519         '../third_party/leveldatabase/leveldatabase.gyp:leveldatabase',
2520         '../v8/tools/gyp/v8.gyp:v8',
2521         # Runtime dependencies
2522         '../third_party/mesa/mesa.gyp:osmesa',
2523       ],
2524       'include_dirs': [
2525         '..',
2526       ],
2527       'defines': [
2528         'HAS_OUT_OF_PROC_TEST_RUNNER',
2529       ],
2530       'sources': [
2531         '<@(performance_browser_tests_sources)',
2532       ],
2533       'rules': [
2534         {
2535           'rule_name': 'js2webui',
2536           'extension': 'js',
2537           'msvs_external_rule': 1,
2538           'variables': {
2539             'conditions': [
2540               ['v8_use_external_startup_data==1', {
2541                 'external_v8': 'y',
2542               }, {
2543                 'external_v8': 'n',
2544               }],
2545             ],
2546           },
2547           'inputs': [
2548             '<(gypv8sh)',
2549             '<(PRODUCT_DIR)/d8<(EXECUTABLE_SUFFIX)',
2550             '<(mock_js)',
2551             '<(test_api_js)',
2552             '<(js2gtest)',
2553           ],
2554           'outputs': [
2555             '<(INTERMEDIATE_DIR)/chrome/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_ROOT)-gen.cc',
2556             '<(PRODUCT_DIR)/test_data/chrome/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_ROOT).js',
2557           ],
2558           'process_outputs_as_sources': 1,
2559           'action': [
2560             'python',
2561             '<@(_inputs)',
2562             'webui',
2563             '--external', '<(external_v8)',
2564             '<(RULE_INPUT_PATH)',
2565             'chrome/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_ROOT).js',
2566             '<@(_outputs)',
2567           ],
2568         },
2569       ],
2570       'conditions': [
2571         [ 'cld_version==0 or cld_version==2', {
2572           'dependencies': [
2573             # Interactive tests should use whatever CLD2 data access mode that
2574             # the application embedder is using.
2575             '<(DEPTH)/third_party/cld_2/cld_2.gyp:cld2_platform_impl', ],
2576         }],
2577         ['OS=="win"', {
2578           'sources': [
2579             '<(SHARED_INTERMEDIATE_DIR)/chrome_version/other_version.rc',
2580             '<(SHARED_INTERMEDIATE_DIR)/ui/resources/ui_unscaled_resources.rc',
2581           ],
2582           'include_dirs': [
2583             '<(DEPTH)/third_party/wtl/include',
2584           ],
2585           'dependencies': [
2586             'chrome_version_resources',
2587           ],
2588           'conditions': [
2589             ['win_use_allocator_shim==1', {
2590               'dependencies': [
2591                 '<(allocator_target)',
2592               ],
2593             }],
2594           ],
2595           'configurations': {
2596             'Debug_Base': {
2597               'msvs_settings': {
2598                 'VCLinkerTool': {
2599                   'LinkIncremental': '<(msvs_debug_link_nonincremental)',
2600                 },
2601               },
2602             },
2603           }
2604         }, { # else: OS != "win"
2605           'sources!': [
2606             'app/chrome_command_ids.h',
2607             'app/chrome_dll.rc',
2608             'app/chrome_dll_resource.h',
2609             'app/chrome_version.rc.version',
2610           ],
2611         }],
2612         ['use_x11==1', {
2613           'dependencies': [
2614             '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck',
2615           ],
2616         }],
2617         ['OS=="linux"', {
2618           'dependencies': [
2619             '../build/linux/system.gyp:ssl',
2620           ],
2621         }],
2622         ['OS=="mac"', {
2623           # TODO(mark): We really want this for all non-static library
2624           # targets, but when we tried to pull it up to the common.gypi
2625           # level, it broke other things like the ui and startup tests. *shrug*
2626           'xcode_settings': {
2627             'OTHER_LDFLAGS': [
2628               '-Wl,-ObjC',
2629             ],
2630           },
2631           # Other platforms only need
2632           # chrome_resources.gyp:{packed_extra_resources,packed_resources},
2633           # and can build this target standalone much faster.
2634           'dependencies': [
2635             'chrome',
2636             '../components/components.gyp:breakpad_stubs',
2637           ],
2638         }, {  # OS!="mac"
2639           'sources!': [
2640             'test/perf/mach_ports_performancetest.cc',
2641           ],
2642         }],
2643         ['os_posix == 1 and OS != "mac" and OS != "android"', {
2644           'conditions': [
2645             ['use_allocator!="none"', {
2646               'dependencies': [
2647                 '../base/allocator/allocator.gyp:allocator',
2648               ],
2649             }],
2650           ],
2651         }],
2652         ['OS=="win" and component!="shared_library" and win_use_allocator_shim==1', {
2653           'dependencies': [
2654             '<(DEPTH)/base/allocator/allocator.gyp:allocator',
2655           ],
2656         }],
2657       ],  # conditions
2658     },  # target performance_browser_tests
2659     {
2660       # GN version: //chrome/test:sync_integration_test_support
2661       'target_name': 'test_support_sync_integration',
2662       'type': 'static_library',
2663       'dependencies': [
2664         'browser',
2665         'chrome',
2666         'test_support_common',
2667         '../base/base.gyp:base',
2668         '../components/components.gyp:invalidation',
2669         '../components/components.gyp:invalidation_test_support',
2670         '../net/net.gyp:net',
2671         '../skia/skia.gyp:skia',
2672         '../sync/sync.gyp:sync',
2673         '../sync/sync.gyp:test_support_sync_testserver',
2674         '../sync/sync.gyp:test_support_sync_fake_server',
2675         '../ui/app_list/app_list.gyp:app_list_test_support',
2676       ],
2677       'include_dirs': [
2678         '..',
2679         '<(INTERMEDIATE_DIR)',
2680         '<(protoc_out_dir)',
2681       ],
2682       'direct_dependent_settings': {
2683         'include_dirs': [
2684           '..',
2685           '<(INTERMEDIATE_DIR)',
2686           '<(protoc_out_dir)',
2687         ],
2688       },
2689       'export_dependent_settings': [
2690         'browser',
2691       ],
2692       'sources': [
2693         '<@(test_support_sync_integration_sources)',
2694       ],
2695       'conditions': [
2696         ['OS=="mac"', {
2697           # Dictionary sync is disabled on Mac.
2698           # Note: this list is duplicated in the GN build.
2699           'sources!': [
2700             'browser/sync/test/integration/dictionary_helper.cc',
2701             'browser/sync/test/integration/dictionary_helper.h',
2702             'browser/sync/test/integration/dictionary_load_observer.cc',
2703             'browser/sync/test/integration/dictionary_load_observer.h',
2704           ],
2705         }],
2706         ['chromeos==0', {
2707           # Note: this list is duplicated in the GN build.
2708           'sources!': [
2709             'browser/sync/test/integration/wifi_credentials_helper.cc',
2710             'browser/sync/test/integration/wifi_credentials_helper.h',
2711             # 'browser/sync/test/integration/wifi_credentials_helper_chromeos.cc',
2712             # 'browser/sync/test/integration/wifi_credentials_helper_chromeos.h',
2713           ],
2714         }],
2715         ['enable_app_list==0', {
2716           # Note: this list is duplicated in the GN build.
2717           'sources!': [
2718             'browser/sync/test/integration/sync_app_list_helper.cc',
2719             'browser/sync/test/integration/sync_app_list_helper.h',
2720           ],
2721         }],
2722       ]
2723     },
2724     {
2725       # GN version: //chrome/test:sync_integration_tests
2726       'target_name': 'sync_integration_tests',
2727       'type': 'executable',
2728       'dependencies': [
2729         'chrome_resources.gyp:chrome_resources',
2730         'chrome_resources.gyp:chrome_strings',
2731         'chrome_resources.gyp:packed_extra_resources',
2732         'chrome_resources.gyp:packed_resources',
2733         'common',
2734         'renderer',
2735         'test_support_common',
2736         'test_support_sync_integration',
2737         '../sync/sync.gyp:sync',
2738         '../testing/gmock.gyp:gmock',
2739         '../testing/gtest.gyp:gtest',
2740         '../third_party/icu/icu.gyp:icui18n',
2741         '../third_party/icu/icu.gyp:icuuc',
2742         '../third_party/leveldatabase/leveldatabase.gyp:leveldatabase',
2743         '../third_party/WebKit/public/blink.gyp:blink',
2744       ],
2745       'include_dirs': [
2746         '..',
2747         '<(INTERMEDIATE_DIR)',
2748         '<(protoc_out_dir)',
2749       ],
2750       # TODO(phajdan.jr): Only temporary, to make transition easier.
2751       'defines': [
2752         'HAS_OUT_OF_PROC_TEST_RUNNER',
2753       ],
2754       'sources': [
2755         '<@(sync_integration_tests_sources)',
2756       ],
2757       'conditions': [
2758         [ 'cld_version==0 or cld_version==2', {
2759           'dependencies': [
2760             # Language detection is irrelevant to sync, so it can depend on
2761             # any implementation for CLD2. Dynamic is smaller, so go with
2762             # dynamic.
2763             '<(DEPTH)/third_party/cld_2/cld_2.gyp:cld2_dynamic', ],
2764         }],
2765         ['OS=="linux"', {
2766           'dependencies': [
2767             '../build/linux/system.gyp:ssl',
2768           ],
2769         }],
2770         ['OS=="mac"', {
2771           # The sync_integration_tests do not run on mac without this flag.
2772           # Search for comments about "xcode_settings" elsewhere in this file.
2773           'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-ObjC']},
2774           # Dictionary sync is disabled on Mac.
2775           # Note: list duplicated in GN build.
2776           'sources!': [
2777             'browser/sync/test/integration/multiple_client_dictionary_sync_test.cc',
2778             'browser/sync/test/integration/single_client_dictionary_sync_test.cc',
2779             'browser/sync/test/integration/two_client_dictionary_sync_test.cc',
2780           ],
2781         }],
2782         ['OS=="win"', {
2783           'sources': [
2784             '<(SHARED_INTERMEDIATE_DIR)/chrome_version/other_version.rc',
2785             '<(SHARED_INTERMEDIATE_DIR)/ui/resources/ui_unscaled_resources.rc',
2786           ],
2787           'include_dirs': [
2788             '<(DEPTH)/third_party/wtl/include',
2789           ],
2790           'dependencies': [
2791             'chrome_version_resources',
2792           ],
2793           'conditions': [
2794             ['win_use_allocator_shim==1', {
2795               'dependencies': [
2796                 '<(allocator_target)',
2797               ],
2798             }],
2799           ],
2800           'configurations': {
2801             'Debug': {
2802               'msvs_settings': {
2803                 'VCLinkerTool': {
2804                   'LinkIncremental': '<(msvs_debug_link_nonincremental)',
2805                 },
2806               },
2807             },
2808           },
2809         }, { # else: OS != "win"
2810           'sources!': [
2811             'app/chrome_dll.rc',
2812             'app/chrome_version.rc.version',
2813             'test/data/resource.rc',
2814           ],
2815         }],
2816         ['toolkit_views==1', {
2817           'dependencies': [
2818             '../ui/views/views.gyp:views',
2819           ],
2820         }],
2821         ['chromeos == 0', {
2822           'sources!': [
2823             # Note: this list is duplicated in the GN build.
2824             'browser/sync/test/integration/single_client_wifi_credentials_sync_test.cc',
2825             'browser/sync/test/integration/two_client_wifi_credentials_sync_test.cc',
2826           ],
2827         }],
2828         ['enable_basic_printing==1 or enable_print_preview==1', {
2829           'dependencies': [
2830             '../printing/printing.gyp:printing',
2831           ],
2832         }],
2833         ['enable_app_list==0', {
2834           'sources!': [
2835             'browser/sync/test/integration/single_client_app_list_sync_test.cc',
2836             'browser/sync/test/integration/two_client_app_list_sync_test.cc',
2837           ],
2838         }],
2839         ['enable_supervised_users==0', {
2840           'sources!': [
2841             'browser/sync/test/integration/single_client_supervised_user_settings_sync_test.cc',
2842           ],
2843         }],
2844       ],
2845     },
2846     {
2847       # GN version: //chrome/test:sync_performance_tests
2848       'target_name': 'sync_performance_tests',
2849       'type': 'executable',
2850       'dependencies': [
2851         'test_support_sync_integration',
2852         '../sync/sync.gyp:sync',
2853         '../testing/gmock.gyp:gmock',
2854         '../testing/gtest.gyp:gtest',
2855       ],
2856       'include_dirs': [
2857         '..',
2858         '<(INTERMEDIATE_DIR)',
2859         '<(protoc_out_dir)',
2860       ],
2861       'defines': [
2862         'HAS_OUT_OF_PROC_TEST_RUNNER',
2863       ],
2864       'sources': [
2865         '<@(sync_performance_tests_sources)',
2866       ],
2867       'conditions': [
2868         [ 'cld_version==0 or cld_version==2', {
2869           'dependencies': [
2870             # Language detection is irrelevant to sync, so it can depend on
2871             # any implementation for CLD2. Dynamic is smaller, so go with
2872             # dynamic.
2873             '<(DEPTH)/third_party/cld_2/cld_2.gyp:cld2_dynamic', ],
2874         }],
2875         ['OS=="linux"', {
2876           'dependencies': [
2877             '../build/linux/system.gyp:ssl',
2878           ],
2879         }],
2880         ['OS=="mac"', {
2881           # The sync_performance_tests do not run on mac without this flag.
2882           # Search for comments about "xcode_settings" elsewhere in this file.
2883           'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-ObjC']},
2884           # Dictionary sync is disabled on Mac.
2885           'sources!': [
2886             'browser/sync/test/integration/performance/dictionary_sync_perf_test.cc',
2887           ],
2888         }],
2889         ['OS=="win"', {
2890           'sources': [
2891             '<(SHARED_INTERMEDIATE_DIR)/chrome_version/other_version.rc',
2892           ],
2893           'include_dirs': [
2894             '<(DEPTH)/third_party/wtl/include',
2895           ],
2896           'dependencies': [
2897             'chrome_version_resources',
2898           ],
2899           'conditions': [
2900             ['win_use_allocator_shim==1', {
2901               'dependencies': [
2902                 '<(allocator_target)',
2903               ],
2904             }],
2905           ],
2906           'configurations': {
2907             'Debug': {
2908               'msvs_settings': {
2909                 'VCLinkerTool': {
2910                   'LinkIncremental': '<(msvs_debug_link_nonincremental)',
2911                 },
2912               },
2913             },
2914           },
2915         }, { # else: OS != "win"
2916           'sources!': [
2917             'app/chrome_dll.rc',
2918             'app/chrome_version.rc.version',
2919             'test/data/resource.rc',
2920           ],
2921         }],
2922         ['toolkit_views==1', {
2923           'dependencies': [
2924             '../ui/views/views.gyp:views',
2925           ],
2926         }],
2927       ],
2928     },
2929     {
2930       # Executable to measure time to load libraries.
2931       # GN version: //chrome/test:load_library_perf_tests
2932       'target_name': 'load_library_perf_tests',
2933       'type': '<(gtest_target_type)',
2934       'dependencies': [
2935         '../base/base.gyp:test_support_perf',
2936         '../testing/gtest.gyp:gtest',
2937         '../testing/perf/perf_test.gyp:*',
2938         '../third_party/widevine/cdm/widevine_cdm.gyp:widevine_cdm_version_h',
2939       ],
2940       'sources': [
2941         'browser/load_library_perf_test.cc',
2942       ],
2943       'include_dirs': [
2944         '..',
2945         '<(SHARED_INTERMEDIATE_DIR)',
2946       ],
2947       'conditions': [
2948         ['enable_pepper_cdms==1', {
2949           'dependencies': [
2950             # Runtime dependencies.
2951             '../media/media.gyp:clearkeycdmadapter',
2952             '../third_party/widevine/cdm/widevine_cdm.gyp:widevinecdmadapter',
2953           ],
2954         }],
2955       ],
2956     },  # target 'load_library_perf_tests'
2957   ],
2958   'conditions': [
2959     ['OS == "android"', {
2960       'targets': [
2961         {
2962           # GN: //chrome/android:chrome_shell_test_apk
2963           'target_name': 'chrome_shell_test_apk',
2964           'type': 'none',
2965           'dependencies': [
2966             'chrome_java',
2967             'chrome_shell_apk_java',
2968             'chrome_java_test_support',
2969             '../base/base.gyp:base',
2970             '../base/base.gyp:base_java_test_support',
2971             '../components/components.gyp:invalidation_javatests',
2972             '../components/components.gyp:precache_javatests',
2973             '../content/content_shell_and_tests.gyp:content_java_test_support',
2974             '../sync/sync.gyp:sync_javatests',
2975             '../testing/android/on_device_instrumentation.gyp:broker_java',
2976             '../testing/android/on_device_instrumentation.gyp:require_driver_apk',
2977             '../ui/android/ui_android.gyp:ui_javatests',
2978           ],
2979           'variables': {
2980             'apk_name': 'ChromeShellTest',
2981             'java_in_dir': 'android/shell/javatests',
2982             'additional_src_dirs': ['android/javatests_shell/src'],
2983             'is_test_apk': 1,
2984             'test_type': 'instrumentation',
2985             'isolate_file': 'chrome_shell_test_apk.isolate',
2986           },
2987           'includes': [
2988             '../build/java_apk.gypi',
2989             '../build/android/test_runner.gypi',
2990           ],
2991         },
2992         {
2993           # GN: //chrome/android:chrome_junit_tests
2994           'target_name': 'chrome_junit_tests',
2995           'type': 'none',
2996           'dependencies': [
2997             'chrome_java',
2998             '../base/base.gyp:base',
2999             '../base/base.gyp:base_java_test_support',
3000             '../sync/sync.gyp:sync_java_test_support',
3001             '../testing/android/junit/junit_test.gyp:junit_test_support',
3002           ],
3003           'variables': {
3004             'main_class': 'org.chromium.testing.local.JunitTestMain',
3005             'src_paths': [
3006               'android/junit/',
3007             ],
3008           },
3009           'includes': [
3010             '../build/host_jar.gypi',
3011           ],
3012         },
3013         {
3014           # GN: //chrome/test/chromedriver/test/webview_shell:chromedriver_webview_shell_apk
3015           'target_name': 'chromedriver_webview_shell_apk',
3016           'type': 'none',
3017           'variables': {
3018             'apk_name': 'ChromeDriverWebViewShell',
3019             'java_in_dir': 'test/chromedriver/test/webview_shell/java',
3020             'resource_dir': 'test/chromedriver/test/webview_shell/java/res',
3021           },
3022           'includes': [ '../build/java_apk.gypi' ],
3023         },
3024         {
3025           # GN: //chrome/android:uiautomator_tests_java
3026           'target_name': 'chrome_shell_uiautomator_tests_java',
3027           'type': 'none',
3028           'variables': {
3029             'java_in_dir': 'android/uiautomator_tests',
3030           },
3031           'dependencies': [
3032             '../base/base.gyp:base_java_test_support',
3033             '../third_party/android_tools/android_tools.gyp:uiautomator_jar',
3034           ],
3035           'includes': [ '../build/java.gypi' ],
3036         },
3037         {
3038           # GN: //chrome/android:uiautomator_tests
3039           'target_name': 'chrome_shell_uiautomator_tests',
3040           'type': 'none',
3041           'dependencies': [
3042             'chrome_shell_uiautomator_tests_java',
3043           ],
3044           'includes': [ '../build/uiautomator_test.gypi' ],
3045         },
3046         {
3047           # GN: //chrome/android:chrome_sync_shell_test_apk
3048           'target_name': 'chrome_sync_shell_test_apk',
3049           'type': 'none',
3050           'dependencies': [
3051             'chrome_java',
3052             'chrome_sync_shell_apk_java',
3053             'chrome_java_test_support',
3054             '../base/base.gyp:base',
3055             '../base/base.gyp:base_java_test_support',
3056             '../content/content_shell_and_tests.gyp:content_java_test_support',
3057             '../sync/sync.gyp:test_support_sync_proto_java',
3058           ],
3059           'variables': {
3060             'apk_name': 'ChromeSyncShellTest',
3061             'java_in_dir': 'android/sync_shell/javatests',
3062             'additional_src_dirs': [ 'android/shell/javatests', ],
3063             'is_test_apk': 1,
3064             'test_type': 'instrumentation',
3065           },
3066           'includes': [
3067             '../build/java_apk.gypi',
3068             '../build/android/test_runner.gypi',
3069           ],
3070         },
3071         {
3072           # GN: //chrome/test/android:chrome_java_test_support
3073           'target_name': 'chrome_java_test_support',
3074           'type': 'none',
3075           'variables': {
3076             'java_in_dir': '../chrome/test/android/javatests',
3077           },
3078           'dependencies': [
3079             'chrome_java',
3080             '../content/content_shell_and_tests.gyp:content_java_test_support',
3081             '../net/net.gyp:net_java_test_support',
3082             '../sync/sync.gyp:sync_java',
3083             '../sync/sync.gyp:sync_java_test_support',
3084           ],
3085           'includes': [ '../build/java.gypi' ],
3086         },
3087       ],
3088     }],
3089     ['test_isolation_mode != "noop"', {
3090       'targets': [
3091         {
3092           'target_name': 'browser_tests_run',
3093           'type': 'none',
3094           'dependencies': [
3095             '../content/content_shell_and_tests.gyp:copy_test_netscape_plugin',
3096             'browser_tests',
3097             'chrome',
3098           ],
3099           'includes': [
3100             '../build/isolate.gypi',
3101           ],
3102           'sources': [
3103             'browser_tests.isolate',
3104           ],
3105           'conditions': [
3106             ['use_x11==1', {
3107               'dependencies': [
3108                 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck',
3109               ],
3110             }],
3111           ],
3112         },
3113         {
3114           'target_name': 'interactive_ui_tests_run',
3115           'type': 'none',
3116           'dependencies': [
3117             'interactive_ui_tests',
3118           ],
3119           'conditions': [
3120             ['use_x11 == 1', {
3121               'dependencies': [
3122                 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck',
3123               ],
3124             }],
3125           ],
3126           'includes': [
3127             '../build/isolate.gypi',
3128           ],
3129           'sources': [
3130             'interactive_ui_tests.isolate',
3131           ],
3132         },
3133         {
3134           'target_name': 'sync_integration_tests_run',
3135           'type': 'none',
3136           'dependencies': [
3137             'sync_integration_tests',
3138           ],
3139           'conditions': [
3140             ['use_x11 == 1', {
3141               'dependencies': [
3142                 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck',
3143               ],
3144             }],
3145           ],
3146           'includes': [
3147             '../build/isolate.gypi',
3148           ],
3149           'sources': [
3150             'sync_integration_tests.isolate',
3151           ],
3152         },
3153       ],
3154       'conditions': [
3155         ['archive_gpu_tests==1', {
3156           'targets': [
3157             {
3158               'target_name': 'gpu_tests_base',
3159               'type': 'none',
3160               'dependencies': [
3161                 # depend on icu to fix races. http://crbug.com/417583
3162                 '../third_party/icu/icu.gyp:icudata',
3163               ],
3164               # Set this so we aren't included as a target in files that
3165               # include this file via a wildcard (such as chrome_tests.gypi).
3166               # If we didn't do this the All target ends up with a rule that
3167               # makes it unnecessarily compile in certain situations.
3168               'suppress_wildcard': 1,
3169               'direct_dependent_settings': {
3170                 'includes': [
3171                   '../build/isolate.gypi',
3172                 ],
3173               },
3174             },
3175             {
3176               'target_name': 'telemetry_isolate_base',
3177               'type': 'none',
3178               'dependencies': [
3179                 '../tools/telemetry/telemetry.gyp:bitmaptools#host',
3180               ],
3181               'conditions': [
3182                 ['OS=="linux" or OS=="mac"', {
3183                   'dependencies': [
3184                     '../breakpad/breakpad.gyp:dump_syms',
3185                   ],
3186                 }],
3187                 ['OS=="mac"', {
3188                   'dependencies': [
3189                     '../third_party/crashpad/crashpad/tools/tools.gyp:crashpad_database_util',
3190                   ],
3191                 }],
3192               ],
3193             },
3194             {
3195               'target_name': 'angle_unittests_run',
3196               'type': 'none',
3197               'dependencies': [
3198                 '../gpu/gpu.gyp:angle_unittests',
3199                 'gpu_tests_base',
3200               ],
3201               'sources': [
3202                 'angle_unittests.isolate',
3203               ],
3204             },
3205             {
3206               'target_name': 'gl_tests_run',
3207               'type': 'none',
3208               'dependencies': [
3209                 '../gpu/gpu.gyp:gl_tests',
3210                 'gpu_tests_base',
3211               ],
3212               'sources': [
3213                 'gl_tests.isolate',
3214               ],
3215             },
3216             {
3217               'target_name': 'tab_capture_end2end_tests_run',
3218               'type': 'none',
3219               'dependencies': [
3220                 'browser_tests_run',
3221                 'gpu_tests_base',
3222               ],
3223               'sources': [
3224                 'tab_capture_end2end_tests.isolate',
3225               ],
3226             },
3227             {
3228               'target_name': 'telemetry_gpu_test_run',
3229               'type': 'none',
3230               'dependencies': [
3231                 'chrome_run',
3232                 'gpu_tests_base',
3233                 'telemetry_isolate_base',
3234               ],
3235               'sources': [
3236                 'telemetry_gpu_test.isolate',
3237               ],
3238             },
3239           ],
3240           'conditions': [
3241             ['internal_gles2_conform_tests==1', {
3242               'targets': [
3243                 {
3244                   'target_name': 'gles2_conform_test_run',
3245                   'type': 'none',
3246                   'dependencies': [
3247                     '../gpu/gles2_conform_support/gles2_conform_test.gyp:gles2_conform_test',
3248                     'gpu_tests_base',
3249                   ],
3250                   'sources': [
3251                     'gles2_conform_test.isolate',
3252                   ],
3253                 },
3254               ],
3255             }],
3256             ['OS=="win"', {
3257               'targets': [
3258                 {
3259                   'target_name': 'angle_end2end_tests_run',
3260                   'type': 'none',
3261                   'dependencies': [
3262                     '../gpu/gpu.gyp:angle_end2end_tests',
3263                     'gpu_tests_base',
3264                   ],
3265                   'sources': [
3266                     'angle_end2end_tests.isolate',
3267                   ],
3268                 },
3269               ],
3270             }],
3271           ],
3272         }],
3273       ],
3274     }],
3275     [ 'enable_mdns == 1', {
3276       'targets': [{
3277           # GN version: //chrome/tools/service_discovery_sniffer
3278           'target_name': 'service_discovery_sniffer',
3279           'type': 'executable',
3280           'dependencies': [
3281             '../net/net.gyp:net',
3282             '../base/base.gyp:base',
3283             '../base/base.gyp:test_support_base',
3284             'utility',
3285           ],
3286           'sources': [
3287             'tools/service_discovery_sniffer/service_discovery_sniffer.cc',
3288             'tools/service_discovery_sniffer/service_discovery_sniffer.h',
3289           ],
3290         }]
3291     }],
3292   ],  # 'conditions'