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