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