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