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