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