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