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