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