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