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