Upgrade the windows specific version of LaunchProcess to avoid raw handles.
[chromium-blink-merge.git] / chrome / chrome_tests.gypi
blobc3b7611b545e419eb5c0d17051af66d6eeee352f
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/customization_document_browsertest.cc',
106       'browser/chromeos/customization/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/tab_capture/tab_capture_apitest.cc',
341       'browser/extensions/api/tabs/tabs_test.cc',
342       'browser/extensions/api/terminal/terminal_private_apitest.cc',
343       'browser/extensions/api/test/apitest_apitest.cc',
344       'browser/extensions/api/top_sites/top_sites_apitest.cc',
345       'browser/extensions/api/web_navigation/web_navigation_apitest.cc',
346       'browser/extensions/api/web_request/web_request_apitest.cc',
347       'browser/extensions/api/webrtc_audio_private/webrtc_audio_private_browsertest.cc',
348       'browser/extensions/api/webrtc_logging_private/webrtc_logging_private_apitest.cc',
349       'browser/extensions/api/webstore_private/webstore_private_apitest.cc',
350       'browser/extensions/app_background_page_apitest.cc',
351       'browser/extensions/app_process_apitest.cc',
352       'browser/extensions/background_app_browsertest.cc',
353       'browser/extensions/background_page_apitest.cc',
354       'browser/extensions/background_scripts_apitest.cc',
355       'browser/extensions/browsertest_util_browsertest.cc',
356       'browser/extensions/chrome_app_api_browsertest.cc',
357       'browser/extensions/chrome_ui_overrides_browsertest.cc',
358       'browser/extensions/content_verifier_browsertest.cc',
359       'browser/extensions/content_script_apitest.cc',
360       'browser/extensions/content_security_policy_apitest.cc',
361       'browser/extensions/convert_web_app_browsertest.cc',
362       'browser/extensions/crazy_extension_browsertest.cc',
363       'browser/extensions/cross_origin_xhr_apitest.cc',
364       'browser/extensions/crx_installer_browsertest.cc',
365       'browser/extensions/docs/examples/apps/calculator_browsertest.cc',
366       'browser/extensions/error_console/error_console_browsertest.cc',
367       'browser/extensions/events_apitest.cc',
368       'browser/extensions/execute_script_apitest.cc',
369       'browser/extensions/extension_bindings_apitest.cc',
370       'browser/extensions/extension_context_menu_browsertest.cc',
371       'browser/extensions/extension_disabled_ui_browsertest.cc',
372       'browser/extensions/extension_dom_clipboard_apitest.cc',
373       'browser/extensions/extension_fileapi_apitest.cc',
374       'browser/extensions/extension_functional_browsertest.cc',
375       'browser/extensions/extension_geolocation_apitest.cc',
376       'browser/extensions/extension_get_views_apitest.cc',
377       'browser/extensions/extension_icon_source_apitest.cc',
378       'browser/extensions/extension_incognito_apitest.cc',
379       'browser/extensions/extension_install_prompt_browsertest.cc',
380       'browser/extensions/extension_install_ui_browsertest.cc',
381       'browser/extensions/extension_javascript_url_apitest.cc',
382       'browser/extensions/extension_loading_browsertest.cc',
383       'browser/extensions/extension_management_test_util.cc',
384       'browser/extensions/extension_management_test_util.h',
385       'browser/extensions/extension_messages_apitest.cc',
386       'browser/extensions/extension_override_apitest.cc',
387       'browser/extensions/extension_resource_request_policy_apitest.cc',
388       'browser/extensions/extension_startup_browsertest.cc',
389       'browser/extensions/extension_storage_apitest.cc',
390       'browser/extensions/extension_storage_monitor_browsertest.cc',
391       'browser/extensions/extension_tabs_apitest.cc',
392       'browser/extensions/extension_url_rewrite_browsertest.cc',
393       'browser/extensions/extension_view_host_factory_browsertest.cc',
394       'browser/extensions/extension_websocket_apitest.cc',
395       'browser/extensions/extension_webui_apitest.cc',
396       'browser/extensions/gpu_browsertest.cc',
397       'browser/extensions/hotword_browsertest.cc',
398       'browser/extensions/isolated_app_browsertest.cc',
399       'browser/extensions/lazy_background_page_apitest.cc',
400       'browser/extensions/lazy_background_page_test_util.h',
401       'browser/extensions/mutation_observers_apitest.cc',
402       'browser/extensions/options_page_apitest.cc',
403       'browser/extensions/page_action_browsertest.cc',
404       'browser/extensions/plugin_apitest.cc',
405       'browser/extensions/process_management_browsertest.cc',
406       'browser/extensions/process_manager_browsertest.cc',
407       'browser/extensions/requirements_checker_browsertest.cc',
408       'browser/extensions/sandboxed_pages_apitest.cc',
409       'browser/extensions/shared_module_apitest.cc',
410       'browser/extensions/startup_helper_browsertest.cc',
411       'browser/extensions/stubs_apitest.cc',
412       'browser/extensions/subscribe_page_action_browsertest.cc',
413       'browser/extensions/web_contents_browsertest.cc',
414       'browser/extensions/webstore_inline_installer_browsertest.cc',
415       'browser/extensions/webstore_installer_test.cc',
416       'browser/extensions/webstore_installer_test.h',
417       'browser/extensions/webstore_reinstaller_browsertest.cc',
418       'browser/extensions/webstore_startup_installer_browsertest.cc',
419       'browser/extensions/window_open_apitest.cc',
420       'browser/external_extension_browsertest.cc',
421       'browser/fast_shutdown_browsertest.cc',
422       'browser/first_run/first_run_browsertest.cc',
423       'browser/first_run/try_chrome_dialog_view_browsertest.cc',
424       'browser/geolocation/access_token_store_browsertest.cc',
425       'browser/geolocation/geolocation_browsertest.cc',
426       'browser/history/history_browsertest.cc',
427       'browser/history/redirect_browsertest.cc',
428       'browser/iframe_browsertest.cc',
429       'browser/importer/firefox_importer_browsertest.cc',
430       'browser/importer/ie_importer_browsertest_win.cc',
431       'browser/importer/importer_unittest_utils.cc',
432       'browser/importer/importer_unittest_utils.h',
433       'browser/infobars/infobar_extension_apitest.cc',
434       'browser/infobars/infobars_browsertest.cc',
435       'browser/invalidation/profile_invalidation_provider_factory_browsertest.cc',
436       'browser/lifetime/browser_close_manager_browsertest.cc',
437       'browser/loadtimes_extension_bindings_browsertest.cc',
438       'browser/locale_tests_browsertest.cc',
439       'browser/supervised_user/supervised_user_browsertest.cc',
440       'browser/supervised_user/supervised_user_resource_throttle_browsertest.cc',
441       'browser/supervised_user/supervised_user_service_browsertest.cc',
442       'browser/media/encrypted_media_browsertest.cc',
443       'browser/media/media_browsertest.cc',
444       'browser/media/media_browsertest.h',
445       'browser/media/chrome_media_stream_infobar_browsertest.cc',
446       'browser/media/chrome_webrtc_apprtc_browsertest.cc',
447       'browser/media/chrome_webrtc_audio_quality_browsertest.cc',
448       'browser/media/chrome_webrtc_browsertest.cc',
449       'browser/media/chrome_webrtc_disable_encryption_flag_browsertest.cc',
450       'browser/media/chrome_webrtc_getmediadevices_browsertest.cc',
451       'browser/media/chrome_webrtc_perf_browsertest.cc',
452       'browser/media/chrome_webrtc_typing_detection_browsertest.cc',
453       'browser/media/chrome_webrtc_video_quality_browsertest.cc',
454       'browser/media/chrome_webrtc_webcam_browsertest.cc',
455       'browser/media/encrypted_media_istypesupported_browsertest.cc',
456       'browser/media/media_stream_devices_controller_browsertest.cc',
457       'browser/media/test_license_server.cc',
458       'browser/media/test_license_server.h',
459       'browser/media/test_license_server_config.h',
460       'browser/media/webrtc_browsertest_base.cc',
461       'browser/media/webrtc_browsertest_base.h',
462       'browser/media/webrtc_browsertest_common.cc',
463       'browser/media/webrtc_browsertest_common.h',
464       'browser/media/webrtc_browsertest_perf.cc',
465       'browser/media/webrtc_browsertest_perf.h',
466       'browser/media/wv_test_license_server_config.cc',
467       'browser/media/wv_test_license_server_config.h',
468       'browser/media_galleries/fileapi/iapps_finder_impl_win_browsertest.cc',
469       'browser/media_galleries/fileapi/media_file_validator_browsertest.cc',
470       'browser/media_galleries/media_galleries_dialog_controller_mock.cc',
471       'browser/media_galleries/media_galleries_dialog_controller_mock.h',
472       'browser/metrics/metrics_service_browsertest.cc',
473       'browser/net/cookie_policy_browsertest.cc',
474       'browser/net/dns_probe_browsertest.cc',
475       'browser/net/ftp_browsertest.cc',
476       'browser/net/load_timing_browsertest.cc',
477       'browser/net/nss_context_chromeos_browsertest.cc',
478       'browser/net/predictor_browsertest.cc',
479       'browser/net/proxy_browsertest.cc',
480       'browser/net/sdch_browsertest.cc',
481       'browser/net/websocket_browsertest.cc',
482       'browser/notifications/login_state_notification_blocker_chromeos_browsertest.cc',
483       'browser/notifications/message_center_notifications_browsertest.cc',
484       'browser/password_manager/password_manager_browsertest.cc',
485       'browser/plugins/npapi_infobar_browsertest.cc',
486       'browser/policy/cloud/cloud_policy_browsertest.cc',
487       'browser/policy/cloud/cloud_policy_manager_browsertest.cc',
488       'browser/policy/cloud/component_cloud_policy_browsertest.cc',
489       'browser/policy/cloud/device_management_service_browsertest.cc',
490       'browser/policy/cloud/test_request_interceptor.cc',
491       'browser/policy/cloud/test_request_interceptor.h',
492       'browser/policy/policy_browsertest.cc',
493       'browser/policy/policy_prefs_browsertest.cc',
494       'browser/plugins/npapi_infobar_browsertest.cc',
495       'browser/prefetch/prefetch_browsertest.cc',
496       'browser/prefs/pref_functional_browsertest.cc',
497       'browser/prefs/pref_service_browsertest.cc',
498       'browser/prefs/synced_pref_change_registrar_browsertest.cc',
499       'browser/prefs/tracked/pref_hash_browsertest.cc',
500       'browser/prerender/prerender_browsertest.cc',
501       'browser/printing/cloud_print/test/cloud_print_policy_browsertest.cc',
502       'browser/printing/cloud_print/test/cloud_print_proxy_process_browsertest.cc',
503       'browser/printing/print_preview_dialog_controller_browsertest.cc',
504       'browser/printing/print_preview_pdf_generated_browsertest.cc',
505       'browser/process_singleton_browsertest.cc',
506       'browser/profiles/host_zoom_map_browsertest.cc',
507       'browser/profiles/profile_browsertest.cc',
508       'browser/profiles/profile_list_desktop_browsertest.cc',
509       'browser/profiles/profile_manager_browsertest.cc',
510       'browser/profile_resetter/profile_resetter_browsertest.cc',
511       'browser/referrer_policy_browsertest.cc',
512       'browser/renderer_context_menu/render_view_context_menu_browsertest.cc',
513       'browser/renderer_context_menu/render_view_context_menu_browsertest_util.cc',
514       'browser/renderer_context_menu/render_view_context_menu_browsertest_util.h',
515       'browser/renderer_context_menu/render_view_context_menu_test_util.cc',
516       'browser/renderer_context_menu/render_view_context_menu_test_util.h',
517       'browser/renderer_context_menu/spellchecker_submenu_observer_browsertest.cc',
518       'browser/renderer_context_menu/spelling_menu_observer_browsertest.cc',
519       'browser/renderer_host/chrome_resource_dispatcher_host_delegate_browsertest.cc',
520       'browser/renderer_host/render_process_host_chrome_browsertest.cc',
521       'browser/repost_form_warning_browsertest.cc',
522       'browser/resources/pdf/pdf_extension_test.cc',
523       'browser/safe_browsing/local_safebrowsing_test_server.cc',
524       'browser/safe_browsing/safe_browsing_blocking_page_test.cc',
525       'browser/safe_browsing/safe_browsing_service_browsertest.cc',
526       'browser/safe_browsing/safe_browsing_test.cc',
527       'browser/search/suggestions/image_fetcher_impl_browsertest.cc',
528       'browser/service_process/service_process_control_browsertest.cc',
529       'browser/services/gcm/fake_gcm_profile_service.cc',
530       'browser/services/gcm/fake_gcm_profile_service.h',
531       'browser/services/gcm/push_messaging_browsertest.cc',
532       'browser/sessions/better_session_restore_browsertest.cc',
533       'browser/sessions/persistent_tab_restore_service_browsertest.cc',
534       'browser/sessions/session_restore_browsertest.cc',
535       'browser/sessions/session_restore_browsertest_chromeos.cc',
536       'browser/sessions/tab_restore_browsertest.cc',
537       'browser/signin/easy_unlock_service_browsertest_chromeos.cc',
538       'browser/signin/signin_browsertest.cc',
539       'browser/speech/extension_api/tts_extension_apitest.cc',
540       'browser/spellchecker/spellcheck_service_browsertest.cc',
541       'browser/ssl/chrome_ssl_host_state_delegate_test.cc',
542       'browser/ssl/ssl_browser_tests.cc',
543       'browser/ssl/ssl_client_certificate_selector_test.cc',
544       'browser/ssl/ssl_client_certificate_selector_test.h',
545       'browser/sync_file_system/mock_local_change_processor.cc',
546       'browser/sync_file_system/mock_local_change_processor.h',
547       'browser/sync_file_system/mock_remote_file_sync_service.cc',
548       'browser/sync_file_system/mock_remote_file_sync_service.h',
549       'browser/tab_contents/view_source_browsertest.cc',
550       'browser/task_manager/task_manager_browsertest.cc',
551       'browser/task_manager/task_manager_browsertest_util.cc',
552       'browser/task_manager/task_manager_browsertest_util.h',
553       'browser/themes/theme_service_browsertest.cc',
554       'browser/translate/cld_data_harness.cc',
555       'browser/translate/cld_data_harness.h',
556       'browser/translate/cld_data_harness_factory.cc',
557       'browser/translate/cld_data_harness_factory.h',
558       'browser/translate/component_cld_data_harness.cc',
559       'browser/translate/component_cld_data_harness.h',
560       'browser/translate/standalone_cld_data_harness.cc',
561       'browser/translate/standalone_cld_data_harness.h',
562       'browser/translate/translate_browsertest.cc',
563       'browser/translate/translate_manager_browsertest.cc',
564       'browser/ui/app_list/app_list_controller_browsertest.cc',
565       'browser/ui/app_list/app_list_service_impl_browsertest.cc',
566       'browser/ui/app_list/app_list_service_views_browsertest.cc',
567       'browser/ui/app_list/search/people/people_provider_browsertest.cc',
568       'browser/ui/app_list/search/webstore/webstore_provider_browsertest.cc',
569       'browser/ui/app_list/speech_recognizer_browsertest.cc',
570       'browser/ui/ash/accelerator_commands_browsertest.cc',
571       'browser/ui/ash/accelerator_controller_browsertest.cc',
572       'browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc',
573       'browser/ui/ash/launcher/launcher_favicon_loader_browsertest.cc',
574       'browser/ui/ash/keyboard_controller_browsertest.cc',
575       'browser/ui/ash/shelf_browsertest.cc',
576       'browser/ui/ash/volume_controller_browsertest_chromeos.cc',
577       'browser/ui/autofill/autofill_dialog_controller_browsertest.cc',
578       'browser/ui/autofill/autofill_dialog_view_tester.h',
579       'browser/ui/autofill/mock_address_validator.cc',
580       'browser/ui/autofill/mock_address_validator.h',
581       'browser/ui/autofill/password_generation_popup_view_browsertest.cc',
582       'browser/ui/autofill/password_generation_popup_view_tester.h',
583       'browser/ui/autofill/test_generated_credit_card_bubble_view.cc',
584       'browser/ui/autofill/test_generated_credit_card_bubble_view.h',
585       'browser/ui/autofill/test_generated_credit_card_bubble_controller.cc',
586       'browser/ui/autofill/test_generated_credit_card_bubble_controller.h',
587       'browser/ui/blocked_content/popup_blocker_browsertest.cc',
588       'browser/ui/bookmarks/bookmark_browsertest.cc',
589       'browser/ui/browser_browsertest.cc',
590       'browser/ui/browser_close_browsertest.cc',
591       'browser/ui/browser_command_controller_browsertest.cc',
592       'browser/ui/browser_navigator_browsertest.cc',
593       'browser/ui/browser_navigator_browsertest.h',
594       'browser/ui/browser_navigator_browsertest_chromeos.cc',
595       'browser/ui/browser_tabrestore_browsertest.cc',
596       'browser/ui/cocoa/accelerators_cocoa_browsertest.mm',
597       'browser/ui/cocoa/applescript/browsercrapplication+applescript_test.mm',
598       'browser/ui/cocoa/applescript/window_applescript_test.mm',
599       'browser/ui/cocoa/apps/app_shim_menu_controller_mac_browsertest.mm',
600       'browser/ui/cocoa/apps/native_app_window_cocoa_browsertest.mm',
601       'browser/ui/cocoa/autofill/autofill_dialog_cocoa_browsertest.mm',
602       'browser/ui/cocoa/autofill/autofill_dialog_view_tester_cocoa.mm',
603       'browser/ui/cocoa/autofill/autofill_dialog_view_tester_cocoa.h',
604       'browser/ui/cocoa/browser_window_controller_browsertest.mm',
605       'browser/ui/cocoa/certificate_viewer_mac_browsertest.mm',
606       'browser/ui/cocoa/constrained_window/constrained_window_mac_browsertest.mm',
607       'browser/ui/cocoa/content_settings/collected_cookies_mac_browsertest.mm',
608       'browser/ui/cocoa/content_settings/content_setting_bubble_cocoa_unittest.mm',
609       'browser/ui/cocoa/dev_tools_controller_browsertest.mm',
610       'browser/ui/cocoa/extensions/extension_action_context_menu_controller_browsertest.mm',
611       'browser/ui/cocoa/extensions/extension_install_dialog_controller_browsertest.mm',
612       'browser/ui/cocoa/extensions/extension_install_prompt_test_utils.h',
613       'browser/ui/cocoa/extensions/extension_install_prompt_test_utils.mm',
614       'browser/ui/cocoa/extensions/media_galleries_dialog_cocoa_browsertest.mm',
615       'browser/ui/cocoa/extensions/windowed_install_dialog_controller_browsertest.mm',
616       'browser/ui/cocoa/find_bar/find_bar_browsertest.mm',
617       'browser/ui/cocoa/location_bar/zoom_decoration_browsertest.mm',
618       'browser/ui/cocoa/omnibox/omnibox_view_mac_browsertest.mm',
619       'browser/ui/cocoa/one_click_signin_bubble_controller_browsertest.mm',
620       'browser/ui/cocoa/one_click_signin_dialog_controller_browsertest.mm',
621       'browser/ui/cocoa/passwords/manage_passwords_bubble_browsertest.mm',
622       'browser/ui/cocoa/profiles/profile_signin_confirmation_view_controller_browsertest.mm',
623       'browser/ui/cocoa/ssl_client_certificate_selector_cocoa_browsertest.mm',
624       'browser/ui/cocoa/view_id_util_browsertest.mm',
625       'browser/ui/content_settings/content_setting_bubble_model_browsertest.cc',
626       'browser/ui/find_bar/find_bar_host_browsertest.cc',
627       'browser/ui/fullscreen/fullscreen_controller_browsertest.cc',
628       'browser/ui/global_error/global_error_service_browsertest.cc',
629       'browser/ui/login/login_prompt_browsertest.cc',
630       'browser/ui/location_bar/location_bar_browsertest.cc',
631       'browser/ui/native_window_tracker_browsertest.cc',
632       'browser/ui/panels/panel_extension_browsertest.cc',
633       'browser/ui/passwords/manage_passwords_test.cc',
634       'browser/ui/pdf/pdf_browsertest.cc',
635       'browser/ui/prefs/prefs_tab_helper_browsertest.cc',
636       'browser/ui/settings_window_manager_browsertest.cc',
637       'browser/ui/startup/startup_browser_creator_browsertest.cc',
638       'browser/ui/sync/one_click_signin_bubble_links_delegate_browsertest.cc',
639       'browser/ui/sync/profile_signin_confirmation_helper_browsertest.cc',
640       'browser/ui/tab_modal_confirm_dialog_browsertest.cc',
641       'browser/ui/tab_modal_confirm_dialog_browsertest.h',
642       'browser/ui/toolbar/browser_actions_bar_browsertest.cc',
643       'browser/ui/toolbar/browser_actions_bar_browsertest.h',
644       'browser/ui/toolbar/test_toolbar_model.cc',
645       'browser/ui/toolbar/test_toolbar_model.h',
646       'browser/ui/views/autofill/autofill_dialog_view_tester_views.cc',
647       'browser/ui/views/autofill/autofill_dialog_view_tester_views.h',
648       'browser/ui/views/autofill/autofill_popup_base_view_browsertest.cc',
649       'browser/ui/views/autofill/password_generation_popup_view_tester_views.cc',
650       'browser/ui/views/autofill/password_generation_popup_view_tester_views.h',
651       'browser/ui/views/extensions/extension_install_dialog_view_browsertest.cc',
652       'browser/ui/views/extensions/extension_uninstall_dialog_view_browsertest.cc',
653       'browser/ui/views/frame/browser_non_client_frame_view_ash_browsertest.cc',
654       'browser/ui/views/frame/browser_view_browsertest.cc',
655       'browser/ui/views/frame/browser_window_property_manager_browsertest_win.cc',
656       'browser/ui/views/location_bar/zoom_bubble_view_browsertest.cc',
657       'browser/ui/views/profiles/avatar_menu_button_browsertest.cc',
658       'browser/ui/views/profiles/new_avatar_menu_button_browsertest.cc',
659       'browser/ui/views/profiles/profile_chooser_view_browsertest.cc',
660       'browser/ui/views/select_file_dialog_extension_browsertest.cc',
661       'browser/ui/views/toolbar/browser_actions_container_browsertest.cc',
662       'browser/ui/views/toolbar/component_toolbar_actions_browsertest.cc',
663       'browser/ui/views/toolbar/toolbar_view_browsertest.cc',
664       'browser/ui/views/translate/translate_bubble_view_browsertest.cc',
665       'browser/ui/views/web_dialog_view_browsertest.cc',
666       'browser/ui/webui/app_list/start_page_browsertest.js',
667       'browser/ui/webui/bidi_checker_web_ui_test.cc',
668       'browser/ui/webui/bidi_checker_web_ui_test.h',
669       'browser/ui/webui/bookmarks_ui_browsertest.cc',
670       'browser/ui/webui/chrome_url_data_manager_browsertest.cc',
671       'browser/ui/webui/chromeos/set_time_ui_browsertest.js',
672       'browser/ui/webui/constrained_web_dialog_ui_browsertest.cc',
673       'browser/ui/webui/downloads_dom_handler_browsertest.cc',
674       'browser/ui/webui/downloads_ui_browsertest.cc',
675       'browser/ui/webui/downloads_ui_browsertest.h',
676       'browser/ui/webui/downloads_ui_browsertest.js',
677       'browser/ui/webui/downloads_ui_browsertest_base.js',
678       'browser/ui/webui/downloads_ui_supervised_browsertest.cc',
679       'browser/ui/webui/downloads_ui_supervised_browsertest.h',
680       'browser/ui/webui/downloads_ui_supervised_browsertest.js',
681       'browser/ui/webui/extensions/chromeos/kiosk_apps_browsertest.js',
682       'browser/ui/webui/extensions/extension_settings_browsertest.cc',
683       'browser/ui/webui/extensions/extension_settings_browsertest.h',
684       'browser/ui/webui/extensions/extension_settings_browsertest.js',
685       'browser/ui/webui/help/help_browsertest.js',
686       'browser/ui/webui/identity_internals_ui_browsertest.cc',
687       'browser/ui/webui/identity_internals_ui_browsertest.h',
688       'browser/ui/webui/identity_internals_ui_browsertest.js',
689       'browser/ui/webui/inspect_ui_browsertest.cc',
690       'browser/ui/webui/interstitials/interstitial_ui_browsertest.cc',
691       'browser/ui/webui/net_internals/net_internals_ui_browsertest.cc',
692       'browser/ui/webui/net_internals/net_internals_ui_browsertest.h',
693       'browser/ui/webui/ntp/most_visited_browsertest.cc',
694       'browser/ui/webui/ntp/new_tab_page_sync_handler_browsertest.cc',
695       'browser/ui/webui/ntp/new_tab_ui_browsertest.cc',
696       'browser/ui/webui/options/autofill_options_browsertest.js',
697       'browser/ui/webui/options/browser_options_browsertest.js',
698       'browser/ui/webui/options/certificate_manager_browsertest.cc',
699       'browser/ui/webui/options/certificate_manager_browsertest.js',
700       'browser/ui/webui/options/clear_browser_data_browsertest.cc',
701       'browser/ui/webui/options/chromeos/accounts_options_browsertest.cc',
702       'browser/ui/webui/options/chromeos/accounts_options_browsertest.js',
703       'browser/ui/webui/options/chromeos/bluetooth_options_browsertest.js',
704       'browser/ui/webui/options/chromeos/date_time_options_browsertest.js',
705       'browser/ui/webui/options/chromeos/guest_mode_options_ui_browsertest.cc',
706       'browser/ui/webui/options/chromeos/shared_options_browsertest.cc',
707       'browser/ui/webui/options/content_options_browsertest.js',
708       'browser/ui/webui/options/content_settings_exception_area_browsertest.js',
709       'browser/ui/webui/options/cookies_view_browsertest.js',
710       'browser/ui/webui/options/edit_dictionary_browsertest.js',
711       'browser/ui/webui/options/font_settings_browsertest.js',
712       'browser/ui/webui/options/language_options_browsertest.js',
713       'browser/ui/webui/options/language_options_dictionary_download_browsertest.js',
714       'browser/ui/webui/options/manage_profile_browsertest.js',
715       'browser/ui/webui/options/options_browsertest.cc',
716       'browser/ui/webui/options/options_browsertest.js',
717       'browser/ui/webui/options/options_ui_browsertest.cc',
718       'browser/ui/webui/options/options_ui_browsertest.h',
719       'browser/ui/webui/options/password_manager_browsertest.js',
720       'browser/ui/webui/options/profile_settings_reset_browsertest.js',
721       'browser/ui/webui/options/preferences_browsertest.cc',
722       'browser/ui/webui/options/preferences_browsertest.h',
723       'browser/ui/webui/options/search_engine_manager_browsertest.js',
724       'browser/ui/webui/options/settings_app_browsertest.js',
725       'browser/ui/webui/options/settings_format_browsertest.js',
726       'browser/ui/webui/options/startup_page_list_browsertest.js',
727       'browser/ui/webui/options/website_settings_browsertest.js',
728       'browser/ui/webui/password_manager_internals/password_manager_internals_ui_browsertest.cc',
729       'browser/ui/webui/policy_ui_browsertest.cc',
730       'browser/ui/webui/print_preview/print_preview_ui_browsertest.cc',
731       'browser/ui/webui/signin/user_manager_ui_browsertest.cc',
732       'browser/ui/webui/signin/inline_login_ui_browsertest.cc',
733       'browser/ui/webui/sync_internals_browsertest.js',
734       'browser/ui/webui/sync_setup_browsertest.js',
735       'browser/ui/webui/web_ui_test_handler.cc',
736       'browser/ui/webui/web_ui_test_handler.h',
737       'browser/ui/zoom/zoom_controller_browsertest.cc',
738       'browser/unload_browsertest.cc',
739       'common/mac/app_mode_chrome_locator_browsertest.mm',
740       'common/mac/mock_launchd.cc',
741       'common/mac/mock_launchd.h',
742       'common/time_format_browsertest.cc',
743       'renderer/chrome_content_renderer_client_browsertest.cc',
744       'renderer/autofill/autofill_renderer_browsertest.cc',
745       'renderer/autofill/form_autocomplete_browsertest.cc',
746       'renderer/autofill/form_autofill_browsertest.cc',
747       'renderer/autofill/page_click_tracker_browsertest.cc',
748       'renderer/autofill/password_autofill_agent_browsertest.cc',
749       'renderer/autofill/password_generation_agent_browsertest.cc',
750       'renderer/content_settings_observer_browsertest.cc',
751       'renderer/media/cast_session_browsertest.cc',
752       'renderer/printing/print_web_view_helper_browsertest.cc',
753       'renderer/safe_browsing/malware_dom_details_browsertest.cc',
754       'renderer/safe_browsing/phishing_classifier_browsertest.cc',
755       'renderer/safe_browsing/phishing_classifier_delegate_browsertest.cc',
756       'renderer/safe_browsing/phishing_dom_feature_extractor_browsertest.cc',
757       'renderer/translate/translate_helper_browsertest.cc',
758       'renderer/translate/translate_script_browsertest.cc',
759       'test/base/chrome_render_view_test.cc',
760       'test/base/chrome_render_view_test.h',
761       'test/base/web_ui_browser_test.cc',
762       'test/base/web_ui_browser_test.h',
763       'test/base/web_ui_browser_test_browsertest.cc',
764       'test/base/in_process_browser_test_browsertest.cc',
765       'test/base/javascript_browser_test.cc',
766       'test/base/javascript_browser_test.h',
767       'test/base/tracing_browsertest.cc',
768       'test/base/test_chrome_web_ui_controller_factory.cc',
769       'test/base/test_chrome_web_ui_controller_factory.h',
770       'test/base/test_chrome_web_ui_controller_factory_browsertest.cc',
771       'test/data/chromeos/oobe_webui_browsertest.js',
772       'test/data/webui/about_invalidations_browsertest.js',
773       'test/data/webui/accessibility_audit_browsertest.js',
774       'test/data/webui/assertions.js',
775       'test/data/webui/async_gen.cc',
776       'test/data/webui/async_gen.h',
777       'test/data/webui/async_gen.js',
778       'test/data/webui/certificate_viewer_dialog_test.js',
779       'test/data/webui/certificate_viewer_ui_test-inl.h',
780       'test/data/webui/chrome_send_browsertest.cc',
781       'test/data/webui/chrome_send_browsertest.h',
782       'test/data/webui/chrome_send_browsertest.js',
783       'test/data/webui/history_browsertest.js',
784       'test/data/webui/history_ui_browsertest.cc',
785       'test/data/webui/history_ui_browsertest.h',
786       'test/data/webui/mock4js_browsertest.js',
787       'test/data/webui/net_internals/bandwidth_view.js',
788       'test/data/webui/net_internals/chromeos_view.js',
789       'test/data/webui/net_internals/dns_view.js',
790       'test/data/webui/net_internals/events_view.js',
791       'test/data/webui/net_internals/hsts_view.js',
792       'test/data/webui/net_internals/log_util.js',
793       'test/data/webui/net_internals/log_view_painter.js',
794       'test/data/webui/net_internals/main.js',
795       'test/data/webui/net_internals/net_internals_test.js',
796       'test/data/webui/net_internals/prerender_view.js',
797       'test/data/webui/net_internals/test_view.js',
798       'test/data/webui/net_internals/timeline_view.js',
799       'test/data/webui/net_internals/waterfall_view.js',
800       'test/data/webui/net_internals/sdch_view.js',
801       'test/data/webui/ntp4.js',
802       'test/data/webui/ntp4_browsertest.cc',
803       'test/data/webui/ntp4_browsertest.h',
804       'test/data/webui/print_preview.cc',
805       'test/data/webui/print_preview.h',
806       'test/data/webui/print_preview.js',
807       'test/data/webui/sandboxstatus_browsertest.js',
808       'test/data/webui/webui_resource_browsertest.cc',
809       'test/gpu/webgl_infobar_browsertest.cc',
810       'test/ppapi/ppapi_browsertest.cc',
811       'test/remoting/auth_browsertest.cc',
812       'test/remoting/fullscreen_browsertest.cc',
813       'test/remoting/key_code_conv.cc',
814       'test/remoting/key_code_conv.h',
815       'test/remoting/key_code_map.h',
816       'test/remoting/launch_browsertest.cc',
817       'test/remoting/me2me_browsertest.cc',
818       'test/remoting/page_load_notification_observer.cc',
819       'test/remoting/page_load_notification_observer.h',
820       'test/remoting/pin_browsertest.cc',
821       'test/remoting/qunit_browser_test_runner.cc',
822       'test/remoting/remote_desktop_browsertest.cc',
823       'test/remoting/remote_desktop_browsertest.h',
824       'test/remoting/scrollbar_browsertest.cc',
825       'test/remoting/waiter.cc',
826       'test/remoting/waiter.h',
827       'test/remoting/webapp_javascript_unittest.cc',
828       # TODO(craig): Rename this and run from base_unittests when the test
829       # is safe to run there. See http://crbug.com/78722 for details.
830       '../base/files/file_path_watcher_browsertest.cc',
831     ],
832     'chrome_interactive_ui_test_sources': [
833       '../chrome/browser/ui/webui/options/language_options_interactive_uitest.cc',
834       '../extensions/browser/app_window/app_window_interactive_uitest.cc',
835       '../ui/base/clipboard/clipboard_android_unittest.cc',
836       '../ui/base/clipboard/clipboard_unittest.cc',
837       'browser/apps/app_browsertest_util.cc',
838       'browser/apps/app_browsertest_util.h',
839       'browser/apps/app_pointer_lock_interactive_uitest.cc',
840       'browser/apps/app_shim/app_shim_interactive_uitest_mac.mm',
841       'browser/apps/app_shim/app_shim_quit_interactive_uitest_mac.mm',
842       'browser/apps/app_window_interactive_uitest.cc',
843       'browser/apps/app_window_intercept_all_keys_uitest.cc',
844       'browser/apps/web_view_interactive_browsertest.cc',
845       'browser/autofill/autofill_interactive_uitest.cc',
846       'browser/browser_keyevents_browsertest.cc',
847       'browser/chrome_plugin_interactive_test.cc',
848       'browser/extensions/api/extension_action/browser_action_interactive_test.cc',
849       'browser/extensions/api/omnibox/omnibox_api_interactive_test.cc',
850       'browser/extensions/api/tabs/tabs_interactive_test.cc',
851       'browser/extensions/browsertest_util.cc',
852       'browser/extensions/extension_apitest.cc',
853       'browser/extensions/extension_browsertest.cc',
854       'browser/extensions/extension_test_notification_observer.cc',
855       'browser/extensions/extension_crash_recovery_browsertest.cc',
856       'browser/extensions/extension_fullscreen_apitest.cc',
857       'browser/extensions/extension_function_test_utils.cc',
858       'browser/extensions/extension_commands_global_registry_apitest.cc',
859       'browser/extensions/extension_keybinding_apitest.cc',
860       'browser/extensions/updater/extension_cache_fake.h',
861       'browser/extensions/updater/extension_cache_fake.cc',
862       'browser/extensions/window_open_interactive_apitest.cc',
863       'browser/mouseleave_browsertest.cc',
864       'browser/password_manager/password_generation_interactive_uitest.cc',
865       'browser/renderer_context_menu/render_view_context_menu_browsertest_util.cc',
866       'browser/renderer_context_menu/render_view_context_menu_browsertest_util.h',
867       'browser/task_manager/task_manager_browsertest_util.cc',
868       'browser/ui/autofill/autofill_popup_controller_interactive_uitest.cc',
869       'browser/ui/browser_focus_uitest.cc',
870       'browser/ui/cocoa/apps/quit_with_apps_controller_mac_interactive_uitest.cc',
871       'browser/ui/cocoa/panels/panel_cocoa_browsertest.mm',
872       'browser/ui/find_bar/find_bar_host_interactive_uitest.cc',
873       'browser/ui/fullscreen/flash_fullscreen_interactive_browsertest.cc',
874       'browser/ui/fullscreen/fullscreen_controller_interactive_browsertest.cc',
875       'browser/ui/fullscreen/fullscreen_controller_state_interactive_browsertest.cc',
876       'browser/ui/omnibox/omnibox_view_browsertest.cc',
877       'browser/ui/panels/base_panel_browser_test.cc',
878       'browser/ui/panels/base_panel_browser_test.h',
879       'browser/ui/panels/detached_panel_browsertest.cc',
880       'browser/ui/panels/docked_panel_browsertest.cc',
881       'browser/ui/panels/panel_browsertest.cc',
882       'browser/ui/panels/panel_drag_browsertest.cc',
883       'browser/ui/panels/panel_resize_browsertest.cc',
884       'browser/ui/panels/stacked_panel_browsertest.cc',
885       'browser/ui/panels/test_panel_active_state_observer.cc',
886       'browser/ui/panels/test_panel_active_state_observer.h',
887       'browser/ui/panels/test_panel_mouse_watcher.cc',
888       'browser/ui/panels/test_panel_mouse_watcher.h',
889       'browser/ui/panels/test_panel_notification_observer.cc',
890       'browser/ui/panels/test_panel_notification_observer.h',
891       'browser/ui/panels/test_panel_collection_squeeze_observer.cc',
892       'browser/ui/panels/test_panel_collection_squeeze_observer.h',
893       'browser/ui/passwords/manage_passwords_test.cc',
894       'browser/ui/passwords/manage_passwords_test.h',
895       'browser/ui/search/instant_extended_interactive_uitest.cc',
896       'browser/ui/pdf/pdf_interactive_browsertest.cc',
897       'browser/ui/search/instant_extended_manual_interactive_uitest.cc',
898       'browser/ui/search/instant_test_utils.h',
899       'browser/ui/search/instant_test_utils.cc',
900       'browser/ui/search/local_ntp_browsertest.cc',
901       'browser/ui/startup/startup_browser_creator_interactive_uitest.cc',
902       'browser/ui/toolbar/test_toolbar_model.cc',
903       'browser/ui/toolbar/test_toolbar_model.h',
904       'test/base/interactive_test_utils.cc',
905       'test/base/interactive_test_utils.h',
906       'test/base/interactive_test_utils_aura.cc',
907       'test/base/interactive_test_utils_aura.h',
908       'test/base/interactive_test_utils_mac.mm',
909       'test/base/interactive_test_utils_views.cc',
910       'test/base/interactive_test_utils_win.cc',
911       'test/base/interactive_ui_tests_main.cc',
912       'test/base/view_event_test_platform_part.h',
913       'test/base/view_event_test_platform_part_ash.cc',
914       'test/base/view_event_test_platform_part_chromeos.cc',
915       'test/base/view_event_test_platform_part_mac.mm',
916       'test/ppapi/ppapi_interactive_browsertest.cc',
917     ],
918     'chrome_interactive_ui_test_views_sources': [
919       '../ui/views/controls/webview/webview_interactive_uitest.cc',
920       '../ui/views/corewm/desktop_capture_controller_unittest.cc',
921       '../ui/views/widget/desktop_aura/desktop_window_tree_host_x11_interactive_uitest.cc',
922       '../ui/views/widget/desktop_aura/x11_topmost_window_finder_interactive_uitest.cc',
923       '../ui/views/widget/widget_interactive_uitest.cc',
924       'browser/ui/views/ash/tab_scrubber_browsertest.cc',
925       'browser/ui/views/find_bar_controller_interactive_uitest.cc',
926       'browser/ui/views/frame/browser_view_focus_uitest.cc',
927       'browser/ui/views/frame/browser_view_interactive_uitest.cc',
928       'browser/ui/views/keyboard_access_browsertest.cc',
929       'browser/ui/views/menu_controller_interactive_uitest.cc',
930       'browser/ui/views/menu_item_view_interactive_uitest.cc',
931       'browser/ui/views/menu_test_base.cc',
932       'browser/ui/views/menu_test_base.h',
933       'browser/ui/views/menu_model_adapter_test.cc',
934       'browser/ui/views/menu_view_drag_and_drop_test.cc',
935       'browser/ui/views/message_center/web_notification_tray_browsertest.cc',
936       'browser/ui/views/panels/panel_view_browsertest.cc',
937       'browser/ui/views/passwords/manage_passwords_icon_view_browsertest.cc',
938       'browser/ui/views/status_icons/status_tray_state_changer_interactive_uitest_win.cc',
939       'browser/ui/views/toolbar/toolbar_button_test.cc',
940       'test/base/view_event_test_base.cc',
941       'test/base/view_event_test_base.h',
942     ],
943     'chrome_interactive_ui_test_app_list_sources': [
944       'browser/ui/app_list/app_list_service_interactive_uitest.cc',
945       'browser/ui/app_list/app_list_service_mac_interactive_uitest.mm',
946     ],
947     'chrome_interactive_ui_test_win_sources': [
948       '../ui/resources/cursors/aliasb.cur',
949       '../ui/resources/cursors/cell.cur',
950       '../ui/resources/cursors/col_resize.cur',
951       '../ui/resources/cursors/copy.cur',
952       '../ui/resources/cursors/none.cur',
953       '../ui/resources/cursors/row_resize.cur',
954       '../ui/resources/cursors/vertical_text.cur',
955       '../ui/resources/cursors/zoom_in.cur',
956       '../ui/resources/cursors/zoom_out.cur',
957       'app/chrome_dll.rc',
958       'test/data/resource.rc',
959     ],
960     'chrome_interactive_ui_test_non_mac_sources': [
961       'browser/ui/views/bookmarks/bookmark_bar_view_test.cc',
962       'browser/ui/views/bookmarks/bookmark_bar_view_test_helper.h',
963       'browser/ui/views/constrained_window_views_browsertest.cc',
964       'browser/ui/views/find_bar_host_interactive_uitest.cc',
965       'browser/ui/views/location_bar/location_icon_view_interactive_uitest.cc',
966       'browser/ui/views/location_bar/star_view_browsertest.cc',
967       'browser/ui/views/omnibox/omnibox_view_views_browsertest.cc',
968       'browser/ui/views/passwords/manage_passwords_bubble_view_browsertest.cc',
969       'browser/ui/views/ssl_client_certificate_selector_browsertest.cc',
970       'browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc',
971       'browser/ui/views/tabs/tab_drag_controller_interactive_uitest.h',
972       'browser/ui/views/toolbar/toolbar_view_interactive_uitest.cc',
973     ],
974     'chrome_interactive_ui_test_notifications_sources': [
975       'browser/notifications/login_state_notification_blocker_chromeos_browsertest.cc',
976       'browser/notifications/message_center_notifications_browsertest.cc',
977     ],
978     'chrome_interactive_ui_test_chromeos_sources': [
979       'browser/chromeos/accessibility/speech_monitor.cc',
980       'browser/chromeos/accessibility/speech_monitor.h',
981       'browser/chromeos/accessibility/spoken_feedback_browsertest.cc',
982       'browser/chromeos/accessibility/sticky_keys_browsertest.cc',
983       'browser/chromeos/input_method/textinput_browsertest.cc',
984       'browser/chromeos/input_method/textinput_surroundingtext_browsertest.cc',
985       'browser/chromeos/input_method/textinput_test_helper.cc',
986       'browser/chromeos/input_method/textinput_test_helper.h',
987       'browser/chromeos/login/eula_browsertest.cc',
988       'browser/chromeos/login/lock/screen_locker_browsertest.cc',
989       'browser/chromeos/login/lock/screen_locker_tester.cc',
990       'browser/chromeos/login/lock/screen_locker_tester.h',
991       'browser/chromeos/login/login_browsertest.cc',
992       'browser/chromeos/login/login_manager_test.cc',
993       'browser/chromeos/login/login_manager_test.h',
994       'browser/chromeos/login/login_ui_browsertest.cc',
995       'browser/chromeos/login/mixin_based_browser_test.cc',
996       'browser/chromeos/login/mixin_based_browser_test.h',
997       'browser/chromeos/login/oobe_browsertest.cc',
998       'browser/chromeos/login/screenshot_testing/screenshot_tester.cc',
999       'browser/chromeos/login/screenshot_testing/screenshot_tester.h',
1000       'browser/chromeos/login/screenshot_testing/screenshot_tester.h',
1001       'browser/chromeos/login/screenshot_testing/screenshot_testing_mixin.cc',
1002       'browser/chromeos/login/screenshot_testing/screenshot_testing_mixin.h',
1003       'browser/chromeos/login/screenshot_testing/SkDiffPixelsMetric.h',
1004       'browser/chromeos/login/screenshot_testing/SkDiffPixelsMetric_cpu.cpp',
1005       'browser/chromeos/login/screenshot_testing/SkImageDiffer.cpp',
1006       'browser/chromeos/login/screenshot_testing/SkImageDiffer.h',
1007       'browser/chromeos/login/screenshot_testing/SkPMetric.cpp',
1008       'browser/chromeos/login/screenshot_testing/SkPMetric.h',
1009       'browser/chromeos/login/users/wallpaper/wallpaper_manager_browsertest.cc',
1010       'browser/chromeos/login/users/wallpaper/wallpaper_manager_test_utils.cc',
1011       'browser/chromeos/login/users/wallpaper/wallpaper_manager_test_utils.h',
1012       'test/data/chromeos/service_login.html',
1013     ],
1014     'chrome_automation_client_lib_sources': [
1015       '<(SHARED_INTERMEDIATE_DIR)/chrome/test/chromedriver/chrome/js.cc',
1016       '<(SHARED_INTERMEDIATE_DIR)/chrome/test/chromedriver/chrome/js.h',
1017       '<(SHARED_INTERMEDIATE_DIR)/chrome/test/chromedriver/chrome/user_data_dir.cc',
1018       '<(SHARED_INTERMEDIATE_DIR)/chrome/test/chromedriver/chrome/user_data_dir.h',
1019       '<(SHARED_INTERMEDIATE_DIR)/chrome/test/chromedriver/chrome/embedded_automation_extension.cc',
1020       '<(SHARED_INTERMEDIATE_DIR)/chrome/test/chromedriver/chrome/embedded_automation_extension.h',
1021       'test/chromedriver/chrome/adb.h',
1022       'test/chromedriver/chrome/adb_impl.cc',
1023       'test/chromedriver/chrome/adb_impl.h',
1024       'test/chromedriver/chrome/automation_extension.cc',
1025       'test/chromedriver/chrome/automation_extension.h',
1026       'test/chromedriver/chrome/chrome.h',
1027       'test/chromedriver/chrome/chrome_android_impl.cc',
1028       'test/chromedriver/chrome/chrome_android_impl.h',
1029       'test/chromedriver/chrome/chrome_desktop_impl.cc',
1030       'test/chromedriver/chrome/chrome_desktop_impl.h',
1031       'test/chromedriver/chrome/chrome_finder.cc',
1032       'test/chromedriver/chrome/chrome_finder.h',
1033       'test/chromedriver/chrome/chrome_finder_mac.mm',
1034       'test/chromedriver/chrome/chrome_impl.cc',
1035       'test/chromedriver/chrome/chrome_impl.h',
1036       'test/chromedriver/chrome/chrome_remote_impl.cc',
1037       'test/chromedriver/chrome/chrome_remote_impl.h',
1038       'test/chromedriver/chrome/console_logger.cc',
1039       'test/chromedriver/chrome/console_logger.h',
1040       'test/chromedriver/chrome/debugger_tracker.cc',
1041       'test/chromedriver/chrome/debugger_tracker.h',
1042       'test/chromedriver/chrome/device_manager.cc',
1043       'test/chromedriver/chrome/device_manager.h',
1044       'test/chromedriver/chrome/device_metrics.cc',
1045       'test/chromedriver/chrome/device_metrics.h',
1046       'test/chromedriver/chrome/devtools_client.h',
1047       'test/chromedriver/chrome/devtools_client_impl.cc',
1048       'test/chromedriver/chrome/devtools_client_impl.h',
1049       'test/chromedriver/chrome/devtools_event_listener.cc',
1050       'test/chromedriver/chrome/devtools_event_listener.h',
1051       'test/chromedriver/chrome/devtools_http_client.cc',
1052       'test/chromedriver/chrome/devtools_http_client.h',
1053       'test/chromedriver/chrome/dom_tracker.cc',
1054       'test/chromedriver/chrome/dom_tracker.h',
1055       'test/chromedriver/chrome/frame_tracker.cc',
1056       'test/chromedriver/chrome/frame_tracker.h',
1057       'test/chromedriver/chrome/geolocation_override_manager.cc',
1058       'test/chromedriver/chrome/geolocation_override_manager.h',
1059       'test/chromedriver/chrome/geoposition.h',
1060       'test/chromedriver/chrome/heap_snapshot_taker.cc',
1061       'test/chromedriver/chrome/heap_snapshot_taker.h',
1062       'test/chromedriver/chrome/javascript_dialog_manager.cc',
1063       'test/chromedriver/chrome/javascript_dialog_manager.h',
1064       'test/chromedriver/chrome/log.h',
1065       'test/chromedriver/chrome/log.cc',
1066       'test/chromedriver/chrome/mobile_device.cc',
1067       'test/chromedriver/chrome/mobile_device.h',
1068       'test/chromedriver/chrome/mobile_device_list.cc',
1069       'test/chromedriver/chrome/mobile_device_list.h',
1070       'test/chromedriver/chrome/mobile_emulation_override_manager.cc',
1071       'test/chromedriver/chrome/mobile_emulation_override_manager.h',
1072       'test/chromedriver/chrome/navigation_tracker.cc',
1073       'test/chromedriver/chrome/navigation_tracker.h',
1074       'test/chromedriver/chrome/status.cc',
1075       'test/chromedriver/chrome/status.h',
1076       'test/chromedriver/chrome/ui_events.cc',
1077       'test/chromedriver/chrome/ui_events.h',
1078       'test/chromedriver/chrome/util.cc',
1079       'test/chromedriver/chrome/util.h',
1080       'test/chromedriver/chrome/version.cc',
1081       'test/chromedriver/chrome/version.h',
1082       'test/chromedriver/chrome/web_view.h',
1083       'test/chromedriver/chrome/web_view_impl.cc',
1084       'test/chromedriver/chrome/web_view_impl.h',
1085       'test/chromedriver/net/adb_client_socket.cc',
1086       'test/chromedriver/net/adb_client_socket.h',
1087       'test/chromedriver/net/net_util.cc',
1088       'test/chromedriver/net/net_util.h',
1089       'test/chromedriver/net/port_server.cc',
1090       'test/chromedriver/net/port_server.h',
1091       'test/chromedriver/net/sync_websocket.h',
1092       'test/chromedriver/net/sync_websocket_factory.cc',
1093       'test/chromedriver/net/sync_websocket_factory.h',
1094       'test/chromedriver/net/sync_websocket_impl.cc',
1095       'test/chromedriver/net/sync_websocket_impl.h',
1096       'test/chromedriver/net/url_request_context_getter.cc',
1097       'test/chromedriver/net/url_request_context_getter.h',
1098       'test/chromedriver/net/websocket.cc',
1099       'test/chromedriver/net/websocket.h',
1100     ],
1101     'performance_browser_tests_sources': [
1102       '../components/autofill/content/renderer/test_password_autofill_agent.cc',
1103       '../components/autofill/content/renderer/test_password_autofill_agent.h',
1104       '../components/autofill/content/renderer/test_password_generation_agent.cc',
1105       '../components/autofill/content/renderer/test_password_generation_agent.h',
1106       'app/chrome_command_ids.h',
1107       'app/chrome_dll.rc',
1108       'app/chrome_dll_resource.h',
1109       'app/chrome_version.rc.version',
1110       'browser/extensions/api/tab_capture/tab_capture_performancetest.cc',
1111       'browser/extensions/api/cast_streaming/performance_test.cc',
1112       'browser/extensions/browsertest_util.cc',
1113       'browser/extensions/extension_apitest.cc',
1114       'browser/extensions/extension_browsertest.cc',
1115       'browser/extensions/extension_test_notification_observer.cc',
1116       'browser/extensions/updater/extension_cache_fake.h',
1117       'browser/extensions/updater/extension_cache_fake.cc',
1118       'test/base/browser_perf_tests_main.cc',
1119       'test/base/chrome_render_view_test.cc',
1120       'test/base/chrome_render_view_test.h',
1121       'test/perf/browser_perf_test.cc',
1122       'test/perf/browser_perf_test.h',
1123       'test/perf/mach_ports_performancetest.cc',
1124     ],
1125     'chrome_driver_lib_sources': [
1126       '<(SHARED_INTERMEDIATE_DIR)/chrome/test/chromedriver/version.cc',
1127       '<(SHARED_INTERMEDIATE_DIR)/chrome/test/chromedriver/version.h',
1128       '../third_party/webdriver/atoms.cc',
1129       '../third_party/webdriver/atoms.h',
1130       'common/chrome_constants.cc',
1131       'common/chrome_constants.h',
1132       'test/chromedriver/alert_commands.cc',
1133       'test/chromedriver/alert_commands.h',
1134       'test/chromedriver/basic_types.cc',
1135       'test/chromedriver/basic_types.h',
1136       'test/chromedriver/capabilities.cc',
1137       'test/chromedriver/capabilities.h',
1138       'test/chromedriver/chrome/browser_info.cc',
1139       'test/chromedriver/chrome/browser_info.h',
1140       'test/chromedriver/chrome_launcher.cc',
1141       'test/chromedriver/chrome_launcher.h',
1142       'test/chromedriver/command_listener.h',
1143       'test/chromedriver/command_listener_proxy.cc',
1144       'test/chromedriver/command_listener_proxy.h',
1145       'test/chromedriver/command.h',
1146       'test/chromedriver/commands.cc',
1147       'test/chromedriver/commands.h',
1148       'test/chromedriver/element_commands.cc',
1149       'test/chromedriver/element_commands.h',
1150       'test/chromedriver/element_util.cc',
1151       'test/chromedriver/element_util.h',
1152       'test/chromedriver/key_converter.cc',
1153       'test/chromedriver/key_converter.h',
1154       'test/chromedriver/keycode_text_conversion.h',
1155       'test/chromedriver/keycode_text_conversion_mac.mm',
1156       'test/chromedriver/keycode_text_conversion_ozone.cc',
1157       'test/chromedriver/keycode_text_conversion_win.cc',
1158       'test/chromedriver/keycode_text_conversion_x.cc',
1159       'test/chromedriver/logging.cc',
1160       'test/chromedriver/logging.h',
1161       'test/chromedriver/performance_logger.cc',
1162       'test/chromedriver/performance_logger.h',
1163       'test/chromedriver/server/http_handler.cc',
1164       'test/chromedriver/server/http_handler.h',
1165       'test/chromedriver/session.cc',
1166       'test/chromedriver/session.h',
1167       'test/chromedriver/session_commands.cc',
1168       'test/chromedriver/session_commands.h',
1169       'test/chromedriver/session_thread_map.h',
1170       'test/chromedriver/util.cc',
1171       'test/chromedriver/util.h',
1172       'test/chromedriver/window_commands.cc',
1173       'test/chromedriver/window_commands.h',
1174     ],
1175     'chrome_driver_unittests_sources': [
1176       'test/chromedriver/capabilities_unittest.cc',
1177       'test/chromedriver/chrome/browser_info_unittest.cc',
1178       'test/chromedriver/chrome/chrome_finder_unittest.cc',
1179       'test/chromedriver/chrome/console_logger_unittest.cc',
1180       'test/chromedriver/chrome/device_manager_unittest.cc',
1181       'test/chromedriver/chrome/devtools_client_impl_unittest.cc',
1182       'test/chromedriver/chrome/devtools_http_client_unittest.cc',
1183       'test/chromedriver/chrome/dom_tracker_unittest.cc',
1184       'test/chromedriver/chrome/frame_tracker_unittest.cc',
1185       'test/chromedriver/chrome/geolocation_override_manager_unittest.cc',
1186       'test/chromedriver/chrome/heap_snapshot_taker_unittest.cc',
1187       'test/chromedriver/chrome/javascript_dialog_manager_unittest.cc',
1188       'test/chromedriver/chrome/mobile_emulation_override_manager_unittest.cc',
1189       'test/chromedriver/chrome/navigation_tracker_unittest.cc',
1190       'test/chromedriver/chrome/status_unittest.cc',
1191       'test/chromedriver/chrome/stub_chrome.cc',
1192       'test/chromedriver/chrome/stub_chrome.h',
1193       'test/chromedriver/chrome/stub_devtools_client.cc',
1194       'test/chromedriver/chrome/stub_devtools_client.h',
1195       'test/chromedriver/chrome/stub_web_view.cc',
1196       'test/chromedriver/chrome/stub_web_view.h',
1197       'test/chromedriver/chrome/web_view_impl_unittest.cc',
1198       'test/chromedriver/chrome_launcher_unittest.cc',
1199       'test/chromedriver/command_listener_proxy_unittest.cc',
1200       'test/chromedriver/commands_unittest.cc',
1201       'test/chromedriver/logging_unittest.cc',
1202       'test/chromedriver/performance_logger_unittest.cc',
1203       'test/chromedriver/server/http_handler_unittest.cc',
1204       'test/chromedriver/session_commands_unittest.cc',
1205       'test/chromedriver/session_unittest.cc',
1206       'test/chromedriver/util_unittest.cc',
1207     ],
1208     'chrome_driver_tests_sources': [
1209       'test/chromedriver/key_converter_unittest.cc',
1210       'test/chromedriver/keycode_text_conversion_unittest.cc',
1211       'test/chromedriver/net/net_util_unittest.cc',
1212       'test/chromedriver/net/port_server_unittest.cc',
1213       'test/chromedriver/net/sync_websocket_impl_unittest.cc',
1214       'test/chromedriver/net/test_http_server.cc',
1215       'test/chromedriver/net/test_http_server.h',
1216       'test/chromedriver/net/websocket_unittest.cc',
1217       'test/chromedriver/test_util.cc',
1218       'test/chromedriver/test_util.h',
1219     ],
1220     'sync_integration_tests_sources': [
1221       'app/chrome_command_ids.h',
1222       'app/chrome_dll.rc',
1223       'app/chrome_dll_resource.h',
1224       'app/chrome_version.rc.version',
1225       'test/base/browser_tests_main.cc',
1226       'test/data/resource.rc',
1227       'browser/sync/test/integration/cross_platform_sync_test.cc',
1228       'browser/sync/test/integration/enable_disable_test.cc',
1229       'browser/sync/test/integration/migration_test.cc',
1230       'browser/sync/test/integration/multiple_client_bookmarks_sync_test.cc',
1231       'browser/sync/test/integration/multiple_client_dictionary_sync_test.cc',
1232       'browser/sync/test/integration/multiple_client_passwords_sync_test.cc',
1233       'browser/sync/test/integration/multiple_client_preferences_sync_test.cc',
1234       'browser/sync/test/integration/multiple_client_sessions_sync_test.cc',
1235       'browser/sync/test/integration/multiple_client_typed_urls_sync_test.cc',
1236       'browser/sync/test/integration/single_client_app_list_sync_test.cc',
1237       'browser/sync/test/integration/single_client_apps_sync_test.cc',
1238       'browser/sync/test/integration/single_client_backup_rollback_test.cc',
1239       'browser/sync/test/integration/single_client_bookmarks_sync_test.cc',
1240       'browser/sync/test/integration/single_client_dictionary_sync_test.cc',
1241       'browser/sync/test/integration/single_client_directory_sync_test.cc',
1242       'browser/sync/test/integration/single_client_e2e_test.cc',
1243       'browser/sync/test/integration/single_client_extensions_sync_test.cc',
1244       'browser/sync/test/integration/single_client_passwords_sync_test.cc',
1245       'browser/sync/test/integration/single_client_preferences_sync_test.cc',
1246       'browser/sync/test/integration/single_client_search_engines_sync_test.cc',
1247       'browser/sync/test/integration/single_client_sessions_sync_test.cc',
1248       'browser/sync/test/integration/single_client_supervised_user_settings_sync_test.cc',
1249       'browser/sync/test/integration/single_client_themes_sync_test.cc',
1250       'browser/sync/test/integration/single_client_typed_urls_sync_test.cc',
1251       'browser/sync/test/integration/sync_auth_test.cc',
1252       'browser/sync/test/integration/sync_errors_test.cc',
1253       'browser/sync/test/integration/sync_exponential_backoff_test.cc',
1254       'browser/sync/test/integration/two_client_app_list_sync_test.cc',
1255       'browser/sync/test/integration/two_client_apps_sync_test.cc',
1256       'browser/sync/test/integration/two_client_autofill_sync_test.cc',
1257       'browser/sync/test/integration/two_client_bookmarks_sync_test.cc',
1258       'browser/sync/test/integration/two_client_dictionary_sync_test.cc',
1259       'browser/sync/test/integration/two_client_extension_settings_and_app_settings_sync_test.cc',
1260       'browser/sync/test/integration/two_client_extensions_sync_test.cc',
1261       'browser/sync/test/integration/two_client_passwords_sync_test.cc',
1262       'browser/sync/test/integration/two_client_preferences_sync_test.cc',
1263       'browser/sync/test/integration/two_client_search_engines_sync_test.cc',
1264       'browser/sync/test/integration/two_client_sessions_sync_test.cc',
1265       'browser/sync/test/integration/two_client_themes_sync_test.cc',
1266       'browser/sync/test/integration/two_client_typed_urls_sync_test.cc',
1267     ],
1268     'test_support_sync_integration_sources': [
1269       'browser/sync/test/integration/apps_helper.cc',
1270       'browser/sync/test/integration/apps_helper.h',
1271       'browser/sync/test/integration/autofill_helper.cc',
1272       'browser/sync/test/integration/autofill_helper.h',
1273       'browser/sync/test/integration/bookmarks_helper.cc',
1274       'browser/sync/test/integration/bookmarks_helper.h',
1275       'browser/sync/test/integration/dictionary_helper.cc',
1276       'browser/sync/test/integration/dictionary_helper.h',
1277       'browser/sync/test/integration/dictionary_load_observer.cc',
1278       'browser/sync/test/integration/dictionary_load_observer.h',
1279       'browser/sync/test/integration/extension_settings_helper.cc',
1280       'browser/sync/test/integration/extension_settings_helper.h',
1281       'browser/sync/test/integration/extensions_helper.cc',
1282       'browser/sync/test/integration/extensions_helper.h',
1283       'browser/sync/test/integration/fake_server_invalidation_service.cc',
1284       'browser/sync/test/integration/fake_server_invalidation_service.h',
1285       'browser/sync/test/integration/migration_waiter.cc',
1286       'browser/sync/test/integration/migration_waiter.h',
1287       'browser/sync/test/integration/migration_watcher.cc',
1288       'browser/sync/test/integration/migration_watcher.h',
1289       'browser/sync/test/integration/multi_client_status_change_checker.cc',
1290       'browser/sync/test/integration/multi_client_status_change_checker.h',
1291       'browser/sync/test/integration/passwords_helper.cc',
1292       'browser/sync/test/integration/passwords_helper.h',
1293       'browser/sync/test/integration/p2p_invalidation_forwarder.cc',
1294       'browser/sync/test/integration/p2p_invalidation_forwarder.h',
1295       'browser/sync/test/integration/preferences_helper.cc',
1296       'browser/sync/test/integration/preferences_helper.h',
1297       'browser/sync/test/integration/profile_sync_service_harness.cc',
1298       'browser/sync/test/integration/profile_sync_service_harness.h',
1299       'browser/sync/test/integration/quiesce_status_change_checker.cc',
1300       'browser/sync/test/integration/quiesce_status_change_checker.h',
1301       'browser/sync/test/integration/retry_verifier.cc',
1302       'browser/sync/test/integration/retry_verifier.h',
1303       'browser/sync/test/integration/search_engines_helper.cc',
1304       'browser/sync/test/integration/search_engines_helper.h',
1305       'browser/sync/test/integration/sessions_helper.cc',
1306       'browser/sync/test/integration/sessions_helper.h',
1307       'browser/sync/test/integration/single_client_status_change_checker.cc',
1308       'browser/sync/test/integration/single_client_status_change_checker.h',
1309       'browser/sync/test/integration/status_change_checker.cc',
1310       'browser/sync/test/integration/status_change_checker.h',
1311       'browser/sync/test/integration/sync_app_helper.cc',
1312       'browser/sync/test/integration/sync_app_helper.h',
1313       'browser/sync/test/integration/sync_app_list_helper.cc',
1314       'browser/sync/test/integration/sync_app_list_helper.h',
1315       'browser/sync/test/integration/sync_datatype_helper.cc',
1316       'browser/sync/test/integration/sync_datatype_helper.h',
1317       'browser/sync/test/integration/sync_extension_helper.cc',
1318       'browser/sync/test/integration/sync_extension_helper.h',
1319       'browser/sync/test/integration/sync_extension_installer.cc',
1320       'browser/sync/test/integration/sync_extension_installer.h',
1321       'browser/sync/test/integration/sync_integration_test_util.cc',
1322       'browser/sync/test/integration/sync_integration_test_util.h',
1323       'browser/sync/test/integration/sync_test.cc',
1324       'browser/sync/test/integration/sync_test.h',
1325       'browser/sync/test/integration/themes_helper.cc',
1326       'browser/sync/test/integration/themes_helper.h',
1327       'browser/sync/test/integration/typed_urls_helper.cc',
1328       'browser/sync/test/integration/typed_urls_helper.h',
1329       'browser/sync/test/integration/updated_progress_marker_checker.cc',
1330       'browser/sync/test/integration/updated_progress_marker_checker.h',
1331     ],
1332     'sync_performance_tests_sources': [
1333       'app/chrome_command_ids.h',
1334       'app/chrome_dll.rc',
1335       'app/chrome_dll_resource.h',
1336       'app/chrome_version.rc.version',
1337       'browser/sync/test/integration/performance/autofill_sync_perf_test.cc',
1338       'browser/sync/test/integration/performance/bookmarks_sync_perf_test.cc',
1339       'browser/sync/test/integration/performance/dictionary_sync_perf_test.cc',
1340       'browser/sync/test/integration/performance/extensions_sync_perf_test.cc',
1341       'browser/sync/test/integration/performance/sync_timing_helper.cc',
1342       'browser/sync/test/integration/performance/sync_timing_helper.h',
1343       'browser/sync/test/integration/performance/passwords_sync_perf_test.cc',
1344       'browser/sync/test/integration/performance/sessions_sync_perf_test.cc',
1345       'browser/sync/test/integration/performance/typed_urls_sync_perf_test.cc',
1346       'test/base/browser_perf_tests_main.cc',
1347       'test/data/resource.rc',
1348     ],
1349   },
1350   'includes': [
1351     'js_unittest_vars.gypi',
1352   ],
1353   'targets': [
1354     {
1355       'target_name': 'interactive_ui_tests',
1356       'type': 'executable',
1357       'dependencies': [
1358         'browser',
1359         'chrome_resources.gyp:chrome_resources',
1360         'chrome_resources.gyp:chrome_strings',
1361         'chrome_resources.gyp:packed_extra_resources',
1362         'chrome_resources.gyp:packed_resources',
1363         'debugger',
1364         'renderer',
1365         'test_support_common',
1366         '../content/app/resources/content_resources.gyp:content_resources',
1367         '../google_apis/google_apis.gyp:google_apis_test_support',
1368         '../net/net.gyp:net',
1369         '../net/net.gyp:net_resources',
1370         '../net/net.gyp:net_test_support',
1371         '../pdf/pdf.gyp:pdf',
1372         '../ppapi/ppapi_internal.gyp:ppapi_tests',
1373         '../skia/skia.gyp:skia',
1374         '../sync/sync.gyp:sync',
1375         '../testing/gmock.gyp:gmock',
1376         '../testing/gtest.gyp:gtest',
1377         '../third_party/hunspell/hunspell.gyp:hunspell',
1378         '../third_party/icu/icu.gyp:icui18n',
1379         '../third_party/icu/icu.gyp:icuuc',
1380         '../third_party/libpng/libpng.gyp:libpng',
1381         '../third_party/npapi/npapi.gyp:npapi',
1382         '../third_party/zlib/zlib.gyp:zlib',
1383         '../ui/base/ui_base.gyp:ui_base_test_support',
1384         '../ui/web_dialogs/web_dialogs.gyp:web_dialogs_test_support',
1385         # Runtime dependencies
1386         '../third_party/mesa/mesa.gyp:osmesa',
1387       ],
1388       'include_dirs': [
1389         '..',
1390       ],
1391       'defines': [
1392         'HAS_OUT_OF_PROC_TEST_RUNNER',
1393       ],
1394       'sources': [
1395         '<@(chrome_interactive_ui_test_sources)',
1396       ],
1397       'conditions': [
1398         [ 'cld_version==0 or cld_version==2', {
1399           'dependencies': [
1400             # Interactive tests should use whatever CLD2 data access mode that
1401             # the application embedder is using.
1402             '<(DEPTH)/third_party/cld_2/cld_2.gyp:cld2_platform_impl', ],
1403         }],
1404         ['use_x11==1', {
1405           'dependencies': [
1406             '../build/linux/system.gyp:xtst',
1407             '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck',
1408           ],
1409         }],
1410         ['OS=="linux" and use_aura==1', {
1411           # TODO(gbillock): aura linux does not support the automation for
1412           # SendMouseMoveNotifyWhenDone
1413           'sources!': [
1414             'browser/ui/views/toolbar/toolbar_button_test.cc',
1415           ],
1416         }],
1417         ['OS=="linux"', {
1418           'dependencies': [
1419             '../build/linux/system.gyp:ssl',
1420           ],
1421         }],
1422         ['OS=="linux" and chromeos==0', {
1423           'sources!': [
1424             # TODO(port): Disable all the interactive panel tests on all linux
1425             # platforms. These are badly busted on linux_aura, also time out
1426             # when run under openbox.
1427             #
1428             # Merge this back into the next block post switch to linux_aura.
1429             'browser/ui/panels/panel_drag_browsertest.cc',
1430             'browser/ui/panels/stacked_panel_browsertest.cc',
1431           ],
1432         }],
1433         ['OS=="linux" and use_aura==1 and chromeos==0', {
1434           'sources!': [
1435             # TODO(port): Everything here times out. Attempts have been made to
1436             # fix the individual failures, but each time I disable a test from
1437             # these suites, it seems like one or another starts timing out too.
1438             'browser/extensions/api/tabs/tabs_interactive_test.cc',
1439             'browser/ui/views/keyboard_access_browsertest.cc',
1440           ],
1441         }],
1442         ['use_ash==1', {
1443           'sources': [
1444             '../ash/drag_drop/drag_drop_interactive_uitest.cc',
1445             '../ash/wm/ash_native_cursor_manager_interactive_uitest.cc',
1446             'browser/ui/window_sizer/window_sizer_ash_uitest.cc',
1447           ],
1448         }],
1449         ['OS != "mac"', {
1450           'sources': [ '<@(chrome_interactive_ui_test_non_mac_sources)' ],
1451         }],
1452         ['OS=="mac"', {
1453           'sources!': [
1454             # TODO(tapted): Enable toolkit-views tests on Mac when their
1455             # respective implementations are ported.
1456             'browser/ui/views/keyboard_access_browsertest.cc',
1457             'browser/ui/views/message_center/web_notification_tray_browsertest.cc',
1458             'browser/ui/views/panels/panel_view_browsertest.cc',
1459             'browser/ui/views/toolbar/toolbar_button_test.cc',
1460           ],
1461           'dependencies': [
1462             'chrome'
1463           ],
1464           # See comment about the same line in chrome/chrome_tests.gypi.
1465           'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-ObjC']},
1466         }],  # OS=="mac"
1467         ['notifications == 1', {
1468           # Common notifications tests.
1469           'sources': [
1470             'browser/extensions/notifications_apitest.cc',
1471           ],
1472           'conditions': [
1473             ['chromeos == 0', {
1474               # Non-ChromeOS notifications tests (ChromeOS does not use
1475               # cross-platform panels).
1476               'sources': [
1477                 'browser/notifications/notification_browsertest.cc',
1478               ],
1479             }],
1480           ],
1481         }],
1482         ['OS=="android"', {
1483           'sources!': [
1484             # Android does not use the message center-based Notification system.
1485             'browser/notifications/message_center_notifications_browsertest.cc',
1487             # TODO(peter): Enable the Notification browser tests.
1488             'browser/notifications/notification_browsertest.cc',
1489           ]
1490         }],
1491         ['toolkit_views==1', {
1492           'sources': [ '<@(chrome_interactive_ui_test_views_sources)' ],
1493           'dependencies': [
1494             '../ui/views/controls/webview/webview_tests.gyp:webview_test_support',
1495             '../ui/views/views.gyp:views',
1496             '../ui/views/views.gyp:views_test_support',
1497           ],
1498         }],
1499         ['use_ash==1', {
1500           'dependencies': [
1501             '../ash/ash.gyp:ash_test_support',
1502           ],
1503         }],
1504         ['use_aura==0 or chromeos==1', {
1505           'sources!': [
1506             '../ui/views/corewm/desktop_capture_controller_unittest.cc',
1507           ],
1508         }],
1509         ['chromeos==1', {
1510           'dependencies': [
1511             '../ash/ash_resources.gyp:ash_resources',
1512             '../chromeos/chromeos.gyp:chromeos',
1513           ],
1514           'conditions': [
1515             ['disable_nacl==0 and disable_nacl_untrusted==0', {
1516               'dependencies': [
1517                 '../native_client/src/trusted/service_runtime/linux/nacl_bootstrap.gyp:nacl_helper_bootstrap',
1518                 '../components/nacl.gyp:nacl_helper',
1519                 '../components/nacl_nonsfi.gyp:nacl_helper_nonsfi',
1520               ],
1521             }],
1522           ],
1523           'sources': [
1524             '<@(chrome_interactive_ui_test_chromeos_sources)',
1525           ],
1526           'sources!': [
1527             '../ui/views/widget/desktop_aura/desktop_window_tree_host_x11_interactive_uitest.cc',
1528             '../ui/views/widget/desktop_aura/x11_topmost_window_finder_interactive_uitest.cc',
1530             # chromeos does not use cross-platform panels
1531             'browser/ui/panels/detached_panel_browsertest.cc',
1532             'browser/ui/panels/docked_panel_browsertest.cc',
1533             'browser/ui/panels/panel_browsertest.cc',
1534             'browser/ui/panels/panel_drag_browsertest.cc',
1535             'browser/ui/panels/panel_resize_browsertest.cc',
1536             'browser/ui/panels/stacked_panel_browsertest.cc',
1537             'browser/ui/views/message_center/web_notification_tray_browsertest.cc',
1538             'browser/ui/views/panels/panel_view_browsertest.cc',
1540             # Use only the _chromeos version on ChromeOS.
1541             'test/base/view_event_test_platform_part_ash.cc',
1542           ],
1543         }],
1544         ['chromeos==1 and branding=="Chrome"', {
1545           'sources!': [
1546             # These tests are failing on official cros bots. crbug.com/431450.
1547             'browser/ui/views/bookmarks/bookmark_bar_view_test.cc',
1548           ],
1549         }],
1550         ['OS=="win"', {
1551           'include_dirs': [
1552             '../third_party/wtl/include',
1553           ],
1554           'dependencies': [
1555             '../third_party/isimpledom/isimpledom.gyp:isimpledom',
1556             '../ui/resources/ui_resources.gyp:ui_resources',
1557             'chrome.gyp:chrome_version_resources',
1558           ],
1559           'sources': [
1560             '<@(chrome_interactive_ui_test_win_sources)',
1562             # TODO:  It would be nice to have these pulled in
1563             # automatically from direct_dependent_settings in
1564             # their various targets (net.gyp:net_resources, etc.),
1565             # but that causes errors in other targets when
1566             # resulting .res files get referenced multiple times.
1567             '<(SHARED_INTERMEDIATE_DIR)/chrome_version/other_version.rc',
1568             '<(SHARED_INTERMEDIATE_DIR)/ui/resources/ui_unscaled_resources.rc',
1569           ],
1570           'conditions': [
1571             ['win_use_allocator_shim==1', {
1572               'dependencies': [
1573                  '../base/allocator/allocator.gyp:allocator',
1574               ],
1575             }],
1576           ],
1577           'msvs_settings': {
1578             'VCLinkerTool': {
1579               'conditions': [
1580                 ['incremental_chrome_dll==1', {
1581                   'UseLibraryDependencyInputs': "true",
1582                 }],
1583               ],
1584             },
1585           },
1586           # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
1587           'msvs_disabled_warnings': [ 4267, ],
1588         }],  # OS != "win"
1589         ['enable_app_list==1', {
1590           'sources': [ '<@(chrome_interactive_ui_test_app_list_sources)' ],
1591         }],
1592       ],  # conditions
1593     },
1594     {
1595       'target_name': 'automation_client_lib',
1596       'type': 'static_library',
1597       'hard_dependency': 1,
1598       'dependencies': [
1599         '../base/base.gyp:base',
1600         '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
1601         '../net/net.gyp:net',
1602         '../third_party/zlib/zlib.gyp:minizip',
1603         '../third_party/zlib/zlib.gyp:zlib',
1604         '../ui/accessibility/accessibility.gyp:ax_gen',
1605         '../ui/base/ui_base.gyp:ui_base',
1606         '../ui/gfx/gfx.gyp:gfx',
1607         '../ui/gfx/gfx.gyp:gfx_geometry',
1608         '../url/url.gyp:url_lib',
1609       ],
1610       'include_dirs': [
1611         '..',
1612         '<(SHARED_INTERMEDIATE_DIR)',
1613       ],
1614       'direct_dependent_settings': {
1615         'include_dirs': [
1616           '<(SHARED_INTERMEDIATE_DIR)',
1617         ],
1618       },
1619       'sources': [
1620         '<@(chrome_automation_client_lib_sources)',
1621       ],
1622       'actions': [
1623         {
1624           'action_name': 'embed_js_in_cpp',
1625           'inputs': [
1626             'test/chromedriver/cpp_source.py',
1627             'test/chromedriver/embed_js_in_cpp.py',
1628             'test/chromedriver/js/add_cookie.js',
1629             'test/chromedriver/js/call_function.js',
1630             'test/chromedriver/js/dispatch_context_menu_event.js',
1631             'test/chromedriver/js/execute_async_script.js',
1632             'test/chromedriver/js/focus.js',
1633             'test/chromedriver/js/get_element_region.js',
1634             'test/chromedriver/js/is_option_element_toggleable.js',
1635           ],
1636           'outputs': [
1637             '<(SHARED_INTERMEDIATE_DIR)/chrome/test/chromedriver/chrome/js.cc',
1638             '<(SHARED_INTERMEDIATE_DIR)/chrome/test/chromedriver/chrome/js.h',
1639           ],
1640           'action': [ 'python',
1641                       'test/chromedriver/embed_js_in_cpp.py',
1642                       '--directory',
1643                       '<(SHARED_INTERMEDIATE_DIR)/chrome/test/chromedriver/chrome',
1644                       'test/chromedriver/js/add_cookie.js',
1645                       'test/chromedriver/js/call_function.js',
1646                       'test/chromedriver/js/dispatch_context_menu_event.js',
1647                       'test/chromedriver/js/execute_async_script.js',
1648                       'test/chromedriver/js/focus.js',
1649                       'test/chromedriver/js/get_element_region.js',
1650                       'test/chromedriver/js/is_option_element_toggleable.js',
1651           ],
1652           'message': 'Generating sources for embedding js in chromedriver',
1653         },
1654         {
1655           'action_name': 'embed_user_data_dir_in_cpp',
1656           'inputs': [
1657             'test/chromedriver/cpp_source.py',
1658             'test/chromedriver/embed_user_data_dir_in_cpp.py',
1659             'test/chromedriver/chrome/preferences.txt',
1660             'test/chromedriver/chrome/local_state.txt',
1661           ],
1662           'outputs': [
1663             '<(SHARED_INTERMEDIATE_DIR)/chrome/test/chromedriver/chrome/user_data_dir.cc',
1664             '<(SHARED_INTERMEDIATE_DIR)/chrome/test/chromedriver/chrome/user_data_dir.h',
1665           ],
1666           'action': [ 'python',
1667                       'test/chromedriver/embed_user_data_dir_in_cpp.py',
1668                       '--directory',
1669                       '<(SHARED_INTERMEDIATE_DIR)/chrome/test/chromedriver/chrome',
1670                       'test/chromedriver/chrome/preferences.txt',
1671                       'test/chromedriver/chrome/local_state.txt',
1672           ],
1673           'message': 'Generating sources for embedding user data dir in chromedriver',
1674         },
1675         {
1676           'action_name': 'embed_extension_in_cpp',
1677           'inputs': [
1678             'test/chromedriver/cpp_source.py',
1679             'test/chromedriver/embed_extension_in_cpp.py',
1680             'test/chromedriver/extension/background.js',
1681             'test/chromedriver/extension/manifest.json',
1682           ],
1683           'outputs': [
1684             '<(SHARED_INTERMEDIATE_DIR)/chrome/test/chromedriver/chrome/embedded_automation_extension.cc',
1685             '<(SHARED_INTERMEDIATE_DIR)/chrome/test/chromedriver/chrome/embedded_automation_extension.h',
1686           ],
1687           'action': [ 'python',
1688                       'test/chromedriver/embed_extension_in_cpp.py',
1689                       '--directory',
1690                       '<(SHARED_INTERMEDIATE_DIR)/chrome/test/chromedriver/chrome',
1691                       'test/chromedriver/extension/background.js',
1692                       'test/chromedriver/extension/manifest.json',
1693           ],
1694           'message': 'Generating sources for embedding automation extension',
1695         },
1696       ],
1697       # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
1698       'msvs_disabled_warnings': [ 4267, ],
1699     },
1700     {
1701       'target_name': 'chromedriver_lib',
1702       'type': 'static_library',
1703       'hard_dependency': 1,
1704       'dependencies': [
1705         'automation_client_lib',
1706         '../base/base.gyp:base',
1707         '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
1708         '../crypto/crypto.gyp:crypto',
1709         '../net/net.gyp:http_server',
1710         '../net/net.gyp:net',
1711         '../third_party/zlib/google/zip.gyp:zip',
1712         '../ui/base/ui_base.gyp:ui_base',
1713         '../ui/events/events.gyp:events_base',
1714         '../ui/gfx/gfx.gyp:gfx',
1715         '../ui/gfx/gfx.gyp:gfx_geometry',
1716       ],
1717       'include_dirs': [
1718         '..',
1719       ],
1720       'sources': [
1721         '<@(chrome_driver_lib_sources)',
1722       ],
1723       'actions': [
1724         {
1725           'action_name': 'embed_version_in_cpp',
1726           'inputs': [
1727             'test/chromedriver/cpp_source.py',
1728             'test/chromedriver/embed_version_in_cpp.py',
1729             'test/chromedriver/VERSION',
1730           ],
1731           'outputs': [
1732             '<(SHARED_INTERMEDIATE_DIR)/chrome/test/chromedriver/version.cc',
1733             '<(SHARED_INTERMEDIATE_DIR)/chrome/test/chromedriver/version.h',
1734           ],
1735           'action': [ 'python',
1736                       'test/chromedriver/embed_version_in_cpp.py',
1737                       '--version-file',
1738                       'test/chromedriver/VERSION',
1739                       '--directory',
1740                       '<(SHARED_INTERMEDIATE_DIR)/chrome/test/chromedriver',
1741           ],
1742           'message': 'Generating version info',
1743         },
1744       ],
1745       'direct_dependent_settings': {
1746         'include_dirs': [
1747           '<(SHARED_INTERMEDIATE_DIR)',
1748         ],
1749       },
1750       'conditions': [
1751         ['use_x11==1', {
1752           'dependencies': [
1753             '../build/linux/system.gyp:x11',
1754             '../ui/gfx/x/gfx_x11.gyp:gfx_x11',
1755           ]
1756         }]
1757       ],
1758       # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
1759       'msvs_disabled_warnings': [ 4267, ],
1760     },
1761     {
1762       'target_name': 'chromedriver',
1763       'type': 'executable',
1764       'dependencies': [
1765         'chromedriver_lib',
1766       ],
1767       'include_dirs': [
1768         '..',
1769       ],
1770       'sources': [
1771         'test/chromedriver/server/chromedriver_server.cc',
1772       ],
1773       # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
1774       'msvs_disabled_warnings': [ 4267, ],
1775     },
1776     {
1777       'target_name': 'chromedriver_unittests',
1778       'type': 'executable',
1779       'dependencies': [
1780         'chromedriver_lib',
1781         '../base/base.gyp:base',
1782         '../base/base.gyp:run_all_unittests',
1783         '../net/net.gyp:http_server',
1784         '../net/net.gyp:net',
1785         '../testing/gtest.gyp:gtest',
1786         '../ui/base/ui_base.gyp:ui_base',
1787         '../ui/gfx/gfx.gyp:gfx',
1788         '../ui/gfx/gfx.gyp:gfx_geometry',
1789       ],
1790       'include_dirs': [
1791         '..,'
1792       ],
1793       'sources': [
1794         '<@(chrome_driver_unittests_sources)',
1795       ],
1796       # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
1797       'msvs_disabled_warnings': [ 4267, ],
1798     },
1799     # ChromeDriver tests that aren't run on the main buildbot. Available
1800     # as an optional test type on trybots.
1801     {
1802       'target_name': 'chromedriver_tests',
1803       'type': 'executable',
1804       'dependencies': [
1805         'chromedriver_lib',
1806         '../base/base.gyp:base',
1807         '../base/base.gyp:run_all_unittests',
1808         '../net/net.gyp:http_server',
1809         '../net/net.gyp:net',
1810         '../net/net.gyp:net_test_support',
1811         '../testing/gtest.gyp:gtest',
1812         '../url/url.gyp:url_lib',
1813       ],
1814       'include_dirs': [
1815         '..,'
1816       ],
1817       'sources': [
1818         '<@(chrome_driver_tests_sources)',
1819       ],
1820       # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
1821       'msvs_disabled_warnings': [ 4267, ],
1822     },
1823     {
1824       # Executable that runs each browser test in a new process.
1825       'target_name': 'browser_tests',
1826       'type': 'executable',
1827       'dependencies': [
1828         'browser',
1829         'chrome_resources.gyp:browser_tests_pak',
1830         'chrome_resources.gyp:chrome_resources',
1831         'chrome_resources.gyp:chrome_strings',
1832         'chrome_resources.gyp:packed_extra_resources',
1833         'chrome_resources.gyp:packed_resources',
1834         'common/extensions/api/api.gyp:chrome_api',
1835         'renderer',
1836         'test/perf/perf_test.gyp:*',
1837         'test_support_common',
1838         'test_support_sync_integration',
1839         '../base/base.gyp:base',
1840         '../base/base.gyp:base_i18n',
1841         '../base/base.gyp:test_support_base',
1842         '../components/components.gyp:autofill_content_risk_proto',
1843         '../components/components.gyp:autofill_content_test_support',
1844         '../components/components.gyp:captive_portal_test_support',
1845         '../components/components.gyp:dom_distiller_content',
1846         '../components/components.gyp:dom_distiller_test_support',
1847         '../components/components.gyp:translate_core_common',
1848         '../components/components_resources.gyp:components_resources',
1849         '../components/components_strings.gyp:components_strings',
1850         '../crypto/crypto.gyp:crypto_test_support',
1851         '../device/bluetooth/bluetooth.gyp:device_bluetooth_mocks',
1852         '../device/serial/serial.gyp:device_serial_test_util',
1853         '../extensions/common/api/api.gyp:extensions_api',
1854         '../google_apis/google_apis.gyp:google_apis_test_support',
1855         '../media/cast/cast.gyp:cast_test_utility',
1856         '../media/media.gyp:media',
1857         '../net/net.gyp:net',
1858         '../net/net.gyp:net_test_support',
1859         '../sdch/sdch.gyp:sdch',
1860         '../skia/skia.gyp:skia',
1861         '../sync/sync.gyp:sync',
1862         '../sync/sync.gyp:test_support_sync_api',
1863         '../testing/gmock.gyp:gmock',
1864         '../testing/gtest.gyp:gtest',
1865         '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation',
1866         '../third_party/icu/icu.gyp:icui18n',
1867         '../third_party/icu/icu.gyp:icuuc',
1868         '../third_party/leveldatabase/leveldatabase.gyp:leveldatabase',
1869         '../third_party/libaddressinput/libaddressinput.gyp:libaddressinput',
1870         '../third_party/libjingle/libjingle.gyp:peerconnection_server',
1871         '../third_party/safe_browsing/safe_browsing.gyp:safe_browsing',
1872         '../third_party/widevine/cdm/widevine_cdm.gyp:widevine_cdm_version_h',
1873         '../ui/accessibility/accessibility.gyp:accessibility_test_support',
1874         '../ui/compositor/compositor.gyp:compositor_test_support',
1875         '../ui/resources/ui_resources.gyp:ui_resources',
1876         '../ui/web_dialogs/web_dialogs.gyp:web_dialogs_test_support',
1877         '../v8/tools/gyp/v8.gyp:v8',
1878         # Runtime dependencies
1879         '../ppapi/ppapi_internal.gyp:ppapi_tests',
1880         '../remoting/remoting.gyp:remoting_browser_test_resources',
1881         '../remoting/remoting.gyp:remoting_webapp_unittest',
1882         '../third_party/mesa/mesa.gyp:osmesa',
1883         '../third_party/widevine/cdm/widevine_cdm.gyp:widevine_test_license_server',
1884       ],
1885       'include_dirs': [
1886         '..',
1887         '<(SHARED_INTERMEDIATE_DIR)',
1888       ],
1889       'defines': [
1890         'HAS_OUT_OF_PROC_TEST_RUNNER',
1891       ],
1892       'sources': [
1893         '<@(chrome_browser_tests_sources)',
1894         '<@(chrome_browser_extensions_test_support_sources)',
1895         'test/base/browser_tests_main.cc',
1896       ],
1897       'rules': [
1898         {
1899           'rule_name': 'js2webui',
1900           'extension': 'js',
1901           'msvs_external_rule': 1,
1902           'variables': {
1903             'conditions': [
1904               ['v8_use_external_startup_data==1', {
1905                 'external_v8': 'y',
1906               }, {
1907                 'external_v8': 'n',
1908               }],
1909             ],
1910           },
1911           'inputs': [
1912             '<(gypv8sh)',
1913             '<(PRODUCT_DIR)/d8<(EXECUTABLE_SUFFIX)',
1914             '<(mock_js)',
1915             '<(test_api_js)',
1916             '<(js2gtest)',
1917           ],
1918           'outputs': [
1919             '<(INTERMEDIATE_DIR)/chrome/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_ROOT)-gen.cc',
1920             '<(PRODUCT_DIR)/test_data/chrome/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_ROOT).js',
1921           ],
1922           'process_outputs_as_sources': 1,
1923           'action': [
1924             'python',
1925             '<@(_inputs)',
1926             '--external', '<(external_v8)',
1927             'webui',
1928             '<(RULE_INPUT_PATH)',
1929             'chrome/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_ROOT).js',
1930             '<@(_outputs)',
1931           ],
1932         },
1933       ],
1934       'msvs_settings': {
1935         'VCLinkerTool': {
1936           'conditions': [
1937             ['incremental_chrome_dll==1', {
1938               'UseLibraryDependencyInputs': "true",
1939             }],
1940           ],
1941         },
1942       },
1943       'conditions': [
1944         [ 'cld_version==0 or cld_version==2', {
1945           'dependencies': [
1946             # Because the browser_tests use translate, they need CLD data.
1947             '<(DEPTH)/third_party/cld_2/cld_2.gyp:cld2_platform_impl', ],
1948         }],
1949         ['enable_one_click_signin==0', {
1950           'sources!': [
1951             'browser/ui/sync/one_click_signin_bubble_links_delegate_browsertest.cc',
1952           ]
1953         }],
1954         ['enable_autofill_dialog==0', {
1955           'sources!': [
1956             'browser/ui/autofill/autofill_dialog_controller_browsertest.cc',
1957           ]
1958         }],
1959         ['disable_nacl==0 and use_athena==0', {
1960           'sources':[
1961             'browser/extensions/extension_nacl_browsertest.cc',
1962             'browser/nacl_host/test/gdb_debug_stub_browsertest.cc',
1963           ],
1964           'dependencies': [
1965             # Runtime dependency.
1966             '../ppapi/native_client/src/trusted/plugin/plugin.gyp:nacl_trusted_plugin',
1967           ],
1968           'conditions': [
1969             ['disable_nacl_untrusted==0', {
1970               'sources': [
1971                 'test/nacl/nacl_browsertest.cc',
1972                 'test/nacl/nacl_browsertest_uma.cc',
1973                 'test/nacl/nacl_browsertest_util.cc',
1974                 'test/nacl/nacl_browsertest_util.h',
1975                 'test/nacl/pnacl_header_test.cc',
1976                 'test/nacl/pnacl_header_test.h',
1977               ],
1978               'dependencies': [
1979                 'test/data/nacl/nacl_test_data.gyp:*',
1980                 '../ppapi/native_client/native_client.gyp:nacl_irt',
1981                 '../ppapi/ppapi_nacl.gyp:ppapi_nacl_tests',
1982                 '../ppapi/tests/extensions/extensions.gyp:ppapi_tests_extensions_background_keepalive',
1983                 '../ppapi/tests/extensions/extensions.gyp:ppapi_tests_extensions_media_galleries',
1984                 '../ppapi/tests/extensions/extensions.gyp:ppapi_tests_extensions_packaged_app',
1985               ],
1986               'conditions': [
1987                 ['chromeos==1', {
1988                   'sources': [
1989                     '../third_party/liblouis/nacl_wrapper/liblouis_wrapper_browsertest.cc',
1990                   ],
1991                   'dependencies': [
1992                     'browser_chromeos',
1993                     '../third_party/liblouis/liblouis_nacl.gyp:liblouis_test_data',
1994                   ],
1995                 }],
1996               ],
1997             }],
1998             ['OS=="win" or OS=="linux"', {
1999               'sources': [
2000                 'browser/nacl_host/test/nacl_gdb_browsertest.cc',
2001               ],
2002               'dependencies': [
2003                 'browser/nacl_host/test/mock_nacl_gdb.gyp:mock_nacl_gdb',
2004               ],
2005             }],
2006             ['OS=="win"', {
2007               # TODO(halyavin) NaCl on Windows can't open debug stub socket
2008               # in browser process as needed by this test.
2009               # See http://crbug.com/157312.
2010               'sources!': [
2011                 'browser/nacl_host/test/gdb_debug_stub_browsertest.cc',
2012               ],
2013               'dependencies': [
2014                 'chrome.gyp:chrome_nacl_win64',
2015               ],
2016             }],
2017             ['OS=="linux"', {
2018               'dependencies': [
2019                 '../native_client/src/trusted/service_runtime/linux/nacl_bootstrap.gyp:nacl_helper_bootstrap',
2020                 '../components/nacl.gyp:nacl_helper',
2021                 '../components/nacl_nonsfi.gyp:nacl_helper_nonsfi',
2022               ],
2023             }],
2024             ['chromeos==0', {
2025               'sources!': [
2026                 'test/data/chromeos/oobe_webui_browsertest.js',
2027               ],
2028             }],
2029           ],
2030         }],
2031         ['debug_devtools==1', {
2032           'defines': [
2033             'DEBUG_DEVTOOLS=1',
2034           ],
2035         }],
2036         ['use_ash==1', {
2037           'dependencies': [
2038             '../ash/ash.gyp:ash_test_support',
2039           ],
2040         }],
2041         ['use_aura==1 or toolkit_views==1', {
2042           'dependencies': [
2043             '../ui/events/events.gyp:events_test_support',
2044           ],
2045         }],
2046         ['use_athena==1', {
2047           'dependencies': [
2048             '../dbus/dbus.gyp:dbus_test_support',
2049             '../build/linux/system.gyp:dbus',
2050             '../ui/login/login.gyp:login_resources',
2051             '../athena/resources/athena_resources.gyp:athena_pak',
2052             '../athena/athena.gyp:athena_browsertest_support',
2053           ],
2054           'sources!': [
2055              '<@(chrome_browser_tests_sources)',
2056           ],
2057           'sources': [
2058             '../athena/content/app_activity_browsertest.cc',
2059             '../athena/content/chrome/web_activity_browsertest.cc',
2060             '../athena/content/chrome/web_activity_helpers_browsertest.cc',
2061             '../athena/content/content_proxy_browsertest.cc',
2062             '../athena/main/placeholder_for_browsertest.cc',
2063             '../athena/test/chrome/athena_app_browser_test.cc',
2064             '../athena/test/chrome/athena_app_browser_test.h',
2065             '../athena/test/chrome/athena_chrome_browser_test.cc',
2066             '../athena/test/chrome/athena_chrome_browser_test.h',
2067           ],
2068         }],
2069         ['chromeos==0', {
2070           'sources/': [
2071             ['exclude', '^browser/chromeos'],
2072             ['exclude', '^browser/ui/webui/options/chromeos/'],
2073           ],
2074           'sources!': [
2075             'browser/extensions/api/enterprise_platform_keys/enterprise_platform_keys_apitest_nss.cc',
2076             'browser/extensions/api/terminal/terminal_private_apitest.cc',
2077             'browser/invalidation/profile_invalidation_provider_factory_browsertest.cc',
2078             'browser/net/nss_context_chromeos_browsertest.cc',
2079             'browser/notifications/login_state_notification_blocker_chromeos_browsertest.cc',
2080             'browser/ui/ash/keyboard_controller_browsertest.cc',
2081             'browser/ui/views/select_file_dialog_extension_browsertest.cc',
2082             'test/data/webui/certificate_viewer_dialog_test.js',
2083             'test/data/webui/certificate_viewer_ui_test-inl.h',
2084           ],
2085         }, { # chromeos==1
2086           'sources!': [
2087             '../apps/load_and_launch_browsertest.cc',
2088             'browser/printing/cloud_print/test/cloud_print_policy_browsertest.cc',
2089             'browser/printing/cloud_print/test/cloud_print_proxy_process_browsertest.cc',
2090             # chromeos does not support profile list avatar menu
2091             'browser/profiles/profile_list_desktop_browsertest.cc',
2092             'browser/service_process/service_process_control_browsertest.cc',
2093             'browser/signin/signin_browsertest.cc',
2094             # chromeos does not use cross-platform panels
2095             'browser/ui/panels/panel_extension_browsertest.cc',
2096             # chromeos does not use the desktop user manager
2097             'browser/ui/webui/signin/user_manager_ui_browsertest.cc',
2098           ],
2099           'dependencies': [
2100             '../dbus/dbus.gyp:dbus_test_support',
2101             '../build/linux/system.gyp:dbus',
2102             '../ui/login/login.gyp:login_resources',
2103           ],
2104         }],
2105         ['configuration_policy==0', {
2106           'sources/': [
2107             ['exclude', '^browser/policy/'],
2108           ],
2109           'sources!': [
2110             'browser/ui/webui/options/certificate_manager_browsertest.cc',
2111             'browser/ui/webui/options/preferences_browsertest.cc',
2112             'browser/ui/webui/policy_ui_browsertest.cc',
2113           ],
2114         }],
2115         ['enable_web_speech==0', {
2116           'sources/': [
2117             ['exclude', '^browser/speech/'],
2118             ['exclude', '^../content/browser/speech/'],
2119           ],
2120         }],
2121         ['safe_browsing==1', {
2122           'defines': [
2123             'FULL_SAFE_BROWSING',
2124           ],
2125         }],
2126         # TODO(sgurun) enable tests.
2127         ['safe_browsing==2', {
2128           'sources/': [
2129             ['exclude', '^browser/safe_browsing/'],
2130             ['exclude', '^renderer/safe_browsing/'],
2131           ],
2132         }],
2133         ['safe_browsing==0', {
2134           'sources/': [
2135             ['exclude', '^browser/safe_browsing/'],
2136             ['exclude', '^renderer/safe_browsing/'],
2137           ],
2138         }],
2139         ['enable_captive_portal_detection!=1', {
2140           'sources/': [
2141             ['exclude', '^browser/captive_portal/'],
2142           ],
2143         }],
2144         ['enable_webrtc==0', {
2145           'sources!': [
2146             'browser/extensions/api/webrtc_audio_private/webrtc_audio_private_browsertest.cc',
2147             'browser/extensions/api/webrtc_logging_private/webrtc_logging_private_apitest.cc',
2148             'browser/media/chrome_webrtc_browsertest.cc',
2149             'browser/media/chrome_webrtc_disable_encryption_flag_browsertest.cc',
2150             'browser/media/chrome_webrtc_getmediadevices_browsertest.cc',
2151          ],
2152         }],
2153         ['OS=="win"', {
2154           'sources': [
2155             '<(SHARED_INTERMEDIATE_DIR)/chrome_version/other_version.rc',
2156             '<(SHARED_INTERMEDIATE_DIR)/ui/resources/ui_unscaled_resources.rc',
2157           ],
2158           'include_dirs': [
2159             '<(DEPTH)/third_party/wtl/include',
2160           ],
2161           'dependencies': [
2162             'chrome_version_resources',
2163           ],
2164           'conditions': [
2165             ['win_use_allocator_shim==1', {
2166               'dependencies': [
2167                 '<(allocator_target)',
2168               ],
2169             }],
2170           ],
2171         }, { # else: OS != "win"
2172           'sources!': [
2173             'app/chrome_command_ids.h',
2174             'app/chrome_dll.rc',
2175             'app/chrome_dll_resource.h',
2176             'app/chrome_version.rc.version',
2177           ],
2178         }],
2179         ['chromeos==0 and use_aura==1', {
2180           'sources!': [
2181             # On Windows and Linux, we currently don't support enough of the
2182             # ash environment to run these unit tests.
2183             #
2184             # TODO: enable these on windows and linux.
2185             'browser/chromeos/system/tray_accessibility_browsertest.cc',
2186             'browser/ui/ash/accelerator_commands_browsertest.cc',
2187             'browser/ui/ash/accelerator_controller_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_supervised_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         'chrome',
2596         'test_support_common',
2597         '../base/base.gyp:base',
2598         '../components/components.gyp:invalidation',
2599         '../components/components.gyp:invalidation_test_support',
2600         '../net/net.gyp:net',
2601         '../skia/skia.gyp:skia',
2602         '../sync/sync.gyp:sync',
2603         '../sync/sync.gyp:test_support_sync_testserver',
2604         '../sync/sync.gyp:test_support_sync_fake_server',
2605         '../ui/app_list/app_list.gyp:app_list_test_support',
2606       ],
2607       'include_dirs': [
2608         '..',
2609         '<(INTERMEDIATE_DIR)',
2610         '<(protoc_out_dir)',
2611       ],
2612       'direct_dependent_settings': {
2613         'include_dirs': [
2614           '..',
2615           '<(INTERMEDIATE_DIR)',
2616           '<(protoc_out_dir)',
2617         ],
2618       },
2619       'export_dependent_settings': [
2620         'browser',
2621       ],
2622       'sources': [
2623         '<@(test_support_sync_integration_sources)',
2624       ],
2625       'conditions': [
2626         ['OS=="mac"', {
2627           # Dictionary sync is disabled on Mac.
2628           # Note: this list is duplicated in the GN build.
2629           'sources!': [
2630             'browser/sync/test/integration/dictionary_helper.cc',
2631             'browser/sync/test/integration/dictionary_helper.h',
2632             'browser/sync/test/integration/dictionary_load_observer.cc',
2633             'browser/sync/test/integration/dictionary_load_observer.h',
2634           ],
2635         }],
2636         ['enable_app_list==0', {
2637           # Note: this list is duplicated in the GN build.
2638           'sources!': [
2639             'browser/sync/test/integration/sync_app_list_helper.cc',
2640             'browser/sync/test/integration/sync_app_list_helper.h',
2641           ],
2642         }],
2643       ]
2644     },
2645     {
2646       # GN version: //chrome/test:sync_integration_tests
2647       'target_name': 'sync_integration_tests',
2648       'type': 'executable',
2649       'dependencies': [
2650         'chrome_resources.gyp:chrome_resources',
2651         'chrome_resources.gyp:chrome_strings',
2652         'chrome_resources.gyp:packed_extra_resources',
2653         'chrome_resources.gyp:packed_resources',
2654         'common',
2655         'renderer',
2656         'test_support_common',
2657         'test_support_sync_integration',
2658         '../sync/sync.gyp:sync',
2659         '../testing/gmock.gyp:gmock',
2660         '../testing/gtest.gyp:gtest',
2661         '../third_party/icu/icu.gyp:icui18n',
2662         '../third_party/icu/icu.gyp:icuuc',
2663         '../third_party/leveldatabase/leveldatabase.gyp:leveldatabase',
2664         '../third_party/npapi/npapi.gyp:npapi',
2665         '../third_party/WebKit/public/blink.gyp:blink',
2666       ],
2667       'include_dirs': [
2668         '..',
2669         '<(INTERMEDIATE_DIR)',
2670         '<(protoc_out_dir)',
2671       ],
2672       # TODO(phajdan.jr): Only temporary, to make transition easier.
2673       'defines': [
2674         'HAS_OUT_OF_PROC_TEST_RUNNER',
2675       ],
2676       'sources': [
2677         '<@(sync_integration_tests_sources)',
2678       ],
2679       'conditions': [
2680         [ 'cld_version==0 or cld_version==2', {
2681           'dependencies': [
2682             # Language detection is irrelevant to sync, so it can depend on
2683             # any implementation for CLD2. Dynamic is smaller, so go with
2684             # dynamic.
2685             '<(DEPTH)/third_party/cld_2/cld_2.gyp:cld2_dynamic', ],
2686         }],
2687         ['OS=="linux"', {
2688           'dependencies': [
2689             '../build/linux/system.gyp:ssl',
2690           ],
2691         }],
2692         ['OS=="mac"', {
2693           # The sync_integration_tests do not run on mac without this flag.
2694           # Search for comments about "xcode_settings" elsewhere in this file.
2695           'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-ObjC']},
2696           # Dictionary sync is disabled on Mac.
2697           # Note: list duplicated in GN build.
2698           'sources!': [
2699             'browser/sync/test/integration/multiple_client_dictionary_sync_test.cc',
2700             'browser/sync/test/integration/single_client_dictionary_sync_test.cc',
2701             'browser/sync/test/integration/two_client_dictionary_sync_test.cc',
2702           ],
2703         }],
2704         ['OS=="win"', {
2705           'sources': [
2706             '<(SHARED_INTERMEDIATE_DIR)/chrome_version/other_version.rc',
2707             '<(SHARED_INTERMEDIATE_DIR)/ui/resources/ui_unscaled_resources.rc',
2708           ],
2709           'include_dirs': [
2710             '<(DEPTH)/third_party/wtl/include',
2711           ],
2712           'dependencies': [
2713             'chrome_version_resources',
2714           ],
2715           'conditions': [
2716             ['win_use_allocator_shim==1', {
2717               'dependencies': [
2718                 '<(allocator_target)',
2719               ],
2720             }],
2721           ],
2722           'configurations': {
2723             'Debug': {
2724               'msvs_settings': {
2725                 'VCLinkerTool': {
2726                   'LinkIncremental': '<(msvs_debug_link_nonincremental)',
2727                 },
2728               },
2729             },
2730           },
2731         }, { # else: OS != "win"
2732           'sources!': [
2733             'app/chrome_dll.rc',
2734             'app/chrome_version.rc.version',
2735             'test/data/resource.rc',
2736           ],
2737         }],
2738         ['toolkit_views==1', {
2739           'dependencies': [
2740             '../ui/views/views.gyp:views',
2741           ],
2742         }],
2743         ['enable_basic_printing==1 or enable_print_preview==1', {
2744           'dependencies': [
2745             '../printing/printing.gyp:printing',
2746           ],
2747         }],
2748         ['enable_app_list==0', {
2749           'sources!': [
2750             'browser/sync/test/integration/single_client_app_list_sync_test.cc',
2751             'browser/sync/test/integration/two_client_app_list_sync_test.cc',
2752           ],
2753         }],
2754         ['enable_supervised_users==0', {
2755           'sources!': [
2756             'browser/sync/test/integration/single_client_supervised_user_settings_sync_test.cc',
2757           ],
2758         }],
2759       ],
2760     },
2761     {
2762       # GN version: //chrome/test:sync_performance_tests
2763       'target_name': 'sync_performance_tests',
2764       'type': 'executable',
2765       'dependencies': [
2766         'test/perf/perf_test.gyp:*',
2767         'test_support_sync_integration',
2768         '../sync/sync.gyp:sync',
2769         '../testing/gmock.gyp:gmock',
2770         '../testing/gtest.gyp:gtest',
2771       ],
2772       'include_dirs': [
2773         '..',
2774         '<(INTERMEDIATE_DIR)',
2775         '<(protoc_out_dir)',
2776       ],
2777       'defines': [
2778         'HAS_OUT_OF_PROC_TEST_RUNNER',
2779       ],
2780       'sources': [
2781         '<@(sync_performance_tests_sources)',
2782       ],
2783       'conditions': [
2784         [ 'cld_version==0 or cld_version==2', {
2785           'dependencies': [
2786             # Language detection is irrelevant to sync, so it can depend on
2787             # any implementation for CLD2. Dynamic is smaller, so go with
2788             # dynamic.
2789             '<(DEPTH)/third_party/cld_2/cld_2.gyp:cld2_dynamic', ],
2790         }],
2791         ['OS=="linux"', {
2792           'dependencies': [
2793             '../build/linux/system.gyp:ssl',
2794           ],
2795         }],
2796         ['OS=="mac"', {
2797           # The sync_performance_tests do not run on mac without this flag.
2798           # Search for comments about "xcode_settings" elsewhere in this file.
2799           'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-ObjC']},
2800           # Dictionary sync is disabled on Mac.
2801           'sources!': [
2802             'browser/sync/test/integration/performance/dictionary_sync_perf_test.cc',
2803           ],
2804         }],
2805         ['OS=="win"', {
2806           'sources': [
2807             '<(SHARED_INTERMEDIATE_DIR)/chrome_version/other_version.rc',
2808           ],
2809           'include_dirs': [
2810             '<(DEPTH)/third_party/wtl/include',
2811           ],
2812           'dependencies': [
2813             'chrome_version_resources',
2814           ],
2815           'conditions': [
2816             ['win_use_allocator_shim==1', {
2817               'dependencies': [
2818                 '<(allocator_target)',
2819               ],
2820             }],
2821           ],
2822           'configurations': {
2823             'Debug': {
2824               'msvs_settings': {
2825                 'VCLinkerTool': {
2826                   'LinkIncremental': '<(msvs_debug_link_nonincremental)',
2827                 },
2828               },
2829             },
2830           },
2831         }, { # else: OS != "win"
2832           'sources!': [
2833             'app/chrome_dll.rc',
2834             'app/chrome_version.rc.version',
2835             'test/data/resource.rc',
2836           ],
2837         }],
2838         ['toolkit_views==1', {
2839           'dependencies': [
2840             '../ui/views/views.gyp:views',
2841           ],
2842         }],
2843       ],
2844     },
2845     {
2846       # Executable to measure time to load libraries.
2847       # GN version: //chrome/test:load_library_perf_tests
2848       'target_name': 'load_library_perf_tests',
2849       'type': '<(gtest_target_type)',
2850       'dependencies': [
2851         '../base/base.gyp:test_support_perf',
2852         '../testing/gtest.gyp:gtest',
2853         '../testing/perf/perf_test.gyp:*',
2854         '../third_party/widevine/cdm/widevine_cdm.gyp:widevine_cdm_version_h',
2855       ],
2856       'sources': [
2857         'browser/load_library_perf_test.cc',
2858       ],
2859       'include_dirs': [
2860         '..',
2861         '<(SHARED_INTERMEDIATE_DIR)',
2862       ],
2863       'conditions': [
2864         ['enable_pepper_cdms==1', {
2865           'dependencies': [
2866             # Runtime dependencies.
2867             '../media/media.gyp:clearkeycdmadapter',
2868             '../third_party/widevine/cdm/widevine_cdm.gyp:widevinecdmadapter',
2869           ],
2870         }],
2871       ],
2872     },  # target 'load_library_perf_tests'
2873   ],
2874   'conditions': [
2875     ['OS!="mac"', {
2876       'targets': [
2877         {
2878           # This test appears to be a legacy target consisting of files not yet
2879           # moved elsewhere.
2880           #
2881           # GN version: //chrome/test/perf
2882           'target_name': 'perf_tests',
2883           'type': 'executable',
2884           'dependencies': [
2885             'browser',
2886             'chrome_resources.gyp:chrome_resources',
2887             'chrome_resources.gyp:chrome_strings',
2888             'common',
2889             'renderer',
2890             '../content/content.gyp:content_gpu',
2891             '../content/content_shell_and_tests.gyp:test_support_content',
2892             '../base/base.gyp:base',
2893             '../base/base.gyp:test_support_base',
2894             '../base/base.gyp:test_support_perf',
2895             '../skia/skia.gyp:skia',
2896             '../testing/gtest.gyp:gtest',
2897           ],
2898           'sources': [
2899             # Note: Sources list duplicated in GN build.
2900             'test/perf/perftests.cc',
2901             'test/perf/url_parse_perftest.cc',
2902             '../content/browser/net/sqlite_persistent_cookie_store_perftest.cc',
2903           ],
2904           'conditions': [
2905             ['use_x11==1', {
2906               'dependencies': [
2907                 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck',
2908               ],
2909             }],
2910             ['OS=="win"', {
2911               'configurations': {
2912                 'Debug_Base': {
2913                   'msvs_settings': {
2914                     'VCLinkerTool': {
2915                       'LinkIncremental': '<(msvs_large_module_debug_link_mode)',
2916                     },
2917                   },
2918                 },
2919               },
2920               'conditions': [
2921                 ['win_use_allocator_shim==1', {
2922                   'dependencies': [
2923                     '<(allocator_target)',
2924                   ],
2925                 }],
2926               ],
2927             }],
2928             ['toolkit_views==1', {
2929               'dependencies': [
2930                 '../ui/views/views.gyp:views',
2931               ],
2932             }],
2933             ['os_posix == 1 and OS != "mac" and OS != "android"', {
2934               'conditions': [
2935                 ['use_allocator!="none"', {
2936                   'dependencies': [
2937                     '../base/allocator/allocator.gyp:allocator',
2938                   ],
2939                 }],
2940               ],
2941             }],
2942             ['OS=="linux" and enable_webrtc==1', {
2943               'dependencies': [
2944                 '../third_party/libjingle/libjingle.gyp:libpeerconnection',
2945               ],
2946             }],
2947           ],
2948         },
2949       ],
2950     },],  # OS!="mac"
2951     ['OS == "android"', {
2952       'targets': [
2953         {
2954           # GN: //chrome/android:chrome_shell_test_apk
2955           'target_name': 'chrome_shell_test_apk',
2956           'type': 'none',
2957           'dependencies': [
2958             'chrome_java',
2959             'chrome_shell_apk_java',
2960             'chrome_java_test_support',
2961             '../base/base.gyp:base',
2962             '../base/base.gyp:base_java_test_support',
2963             '../components/components.gyp:invalidation_javatests',
2964             '../content/content_shell_and_tests.gyp:content_java_test_support',
2965             '../sync/sync.gyp:sync_javatests',
2966             '../ui/android/ui_android.gyp:ui_javatests',
2967           ],
2968           'variables': {
2969             'apk_name': 'ChromeShellTest',
2970             'java_in_dir': 'android/shell/javatests',
2971             'additional_src_dirs': ['android/javatests/src'],
2972             'is_test_apk': 1,
2973           },
2974           'includes': [ '../build/java_apk.gypi' ],
2975         },
2976         {
2977           # GN: //chrome/test/chromedriver/test/webview_shell:chromedriver_webview_shell_apk
2978           'target_name': 'chromedriver_webview_shell_apk',
2979           'type': 'none',
2980           'variables': {
2981             'apk_name': 'ChromeDriverWebViewShell',
2982             'java_in_dir': 'test/chromedriver/test/webview_shell/java',
2983             'resource_dir': 'test/chromedriver/test/webview_shell/java/res',
2984           },
2985           'includes': [ '../build/java_apk.gypi' ],
2986         },
2987         {
2988           # GN: //chrome/android:uiautomator_tests_java
2989           'target_name': 'chrome_shell_uiautomator_tests_java',
2990           'type': 'none',
2991           'variables': {
2992             'java_in_dir': 'android/uiautomator_tests',
2993           },
2994           'dependencies': [
2995             '../base/base.gyp:base_java_test_support',
2996             '../third_party/android_tools/android_tools.gyp:uiautomator_jar',
2997           ],
2998           'includes': [ '../build/java.gypi' ],
2999         },
3000         {
3001           # GN: //chrome/android:uiautomator_tests
3002           'target_name': 'chrome_shell_uiautomator_tests',
3003           'type': 'none',
3004           'dependencies': [
3005             'chrome_shell_uiautomator_tests_java',
3006           ],
3007           'includes': [ '../build/uiautomator_test.gypi' ],
3008         },
3009         {
3010           # GN: //chrome/android:chrome_sync_shell_test_apk
3011           'target_name': 'chrome_sync_shell_test_apk',
3012           'type': 'none',
3013           'dependencies': [
3014             'chrome_java',
3015             'chrome_sync_shell_apk_java',
3016             'chrome_java_test_support',
3017             '../base/base.gyp:base',
3018             '../base/base.gyp:base_java_test_support',
3019             '../content/content_shell_and_tests.gyp:content_java_test_support',
3020           ],
3021           'variables': {
3022             'apk_name': 'ChromeSyncShellTest',
3023             'java_in_dir': 'android/sync_shell/javatests',
3024             'additional_src_dirs': [ 'android/shell/javatests', ],
3025             'is_test_apk': 1,
3026           },
3027           'includes': [ '../build/java_apk.gypi' ],
3028         },
3029         {
3030           # GN: //chrome/test/android:chrome_java_test_support
3031           'target_name': 'chrome_java_test_support',
3032           'type': 'none',
3033           'variables': {
3034             'java_in_dir': '../chrome/test/android/javatests',
3035           },
3036           'dependencies': [
3037             'chrome_java',
3038             '../content/content_shell_and_tests.gyp:content_java_test_support',
3039             '../sync/sync.gyp:sync_java',
3040             '../sync/sync.gyp:sync_java_test_support',
3041           ],
3042           'includes': [ '../build/java.gypi' ],
3043         },
3044       ],
3045     }],
3046     ['test_isolation_mode != "noop"', {
3047       'targets': [
3048         {
3049           'target_name': 'browser_tests_run',
3050           'type': 'none',
3051           'dependencies': [
3052             '../content/content_shell_and_tests.gyp:copy_test_netscape_plugin',
3053             'browser_tests',
3054             'chrome',
3055           ],
3056           'includes': [
3057             '../build/isolate.gypi',
3058           ],
3059           'sources': [
3060             'browser_tests.isolate',
3061           ],
3062           'conditions': [
3063             ['use_x11==1', {
3064               'dependencies': [
3065                 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck',
3066               ],
3067             }],
3068           ],
3069         },
3070         {
3071           'target_name': 'interactive_ui_tests_run',
3072           'type': 'none',
3073           'dependencies': [
3074             'interactive_ui_tests',
3075           ],
3076           'conditions': [
3077             ['use_x11 == 1', {
3078               'dependencies': [
3079                 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck',
3080               ],
3081             }],
3082           ],
3083           'includes': [
3084             '../build/isolate.gypi',
3085           ],
3086           'sources': [
3087             'interactive_ui_tests.isolate',
3088           ],
3089         },
3090         {
3091           'target_name': 'sync_integration_tests_run',
3092           'type': 'none',
3093           'dependencies': [
3094             'sync_integration_tests',
3095           ],
3096           'conditions': [
3097             ['use_x11 == 1', {
3098               'dependencies': [
3099                 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck',
3100               ],
3101             }],
3102           ],
3103           'includes': [
3104             '../build/isolate.gypi',
3105           ],
3106           'sources': [
3107             'sync_integration_tests.isolate',
3108           ],
3109         },
3110       ],
3111       'conditions': [
3112         ['archive_gpu_tests==1', {
3113           'targets': [
3114             {
3115               'target_name': 'gpu_tests_base',
3116               'type': 'none',
3117               'dependencies': [
3118                 # depend on icu to fix races. http://crbug.com/417583
3119                 '../third_party/icu/icu.gyp:icudata',
3120               ],
3121               'direct_dependent_settings': {
3122                 'includes': [
3123                   '../build/isolate.gypi',
3124                 ],
3125               },
3126             },
3127             {
3128               'target_name': 'angle_unittests_run',
3129               'type': 'none',
3130               'dependencies': [
3131                 '../gpu/gpu.gyp:angle_unittests',
3132                 'gpu_tests_base',
3133               ],
3134               'sources': [
3135                 'angle_unittests.isolate',
3136               ],
3137             },
3138             {
3139               'target_name': 'gl_tests_run',
3140               'type': 'none',
3141               'dependencies': [
3142                 '../gpu/gpu.gyp:gl_tests',
3143                 'gpu_tests_base',
3144               ],
3145               'sources': [
3146                 'gl_tests.isolate',
3147               ],
3148             },
3149             {
3150               'target_name': 'tab_capture_end2end_tests_run',
3151               'type': 'none',
3152               'dependencies': [
3153                 'browser_tests_run',
3154                 'gpu_tests_base',
3155               ],
3156               'sources': [
3157                 'tab_capture_end2end_tests.isolate',
3158               ],
3159             },
3160             {
3161               'target_name': 'telemetry_gpu_test_run',
3162               'type': 'none',
3163               'dependencies': [
3164                 'chrome_run',
3165                 '../tools/telemetry/telemetry.gyp:bitmaptools#host',
3166                 'gpu_tests_base',
3167               ],
3168               'sources': [
3169                 'telemetry_gpu_test.isolate',
3170               ],
3171             },
3172             {
3173               'target_name': 'gpu_unittests_run',
3174               'type': 'none',
3175               'dependencies': [
3176                 '../gpu/gpu.gyp:gpu_unittests',
3177                 'gpu_tests_base',
3178               ],
3179               'sources': [
3180                 'gpu_unittests.isolate',
3181               ],
3182             },
3183           ],
3184           'conditions': [
3185             ['internal_gles2_conform_tests==1', {
3186               'targets': [
3187                 {
3188                   'target_name': 'gles2_conform_test_run',
3189                   'type': 'none',
3190                   'dependencies': [
3191                     '../gpu/gles2_conform_support/gles2_conform_test.gyp:gles2_conform_test',
3192                     'gpu_tests_base',
3193                   ],
3194                   'sources': [
3195                     'gles2_conform_test.isolate',
3196                   ],
3197                 },
3198               ],
3199             }],
3200           ],
3201         }],
3202       ],
3203     }],
3204     [ 'enable_mdns == 1', {
3205       'targets': [{
3206           # GN version: //chrome/tools/service_discovery_sniffer
3207           'target_name': 'service_discovery_sniffer',
3208           'type': 'executable',
3209           'dependencies': [
3210             '../net/net.gyp:net',
3211             '../base/base.gyp:base',
3212             '../base/base.gyp:test_support_base',
3213             'utility',
3214           ],
3215           'sources': [
3216             'tools/service_discovery_sniffer/service_discovery_sniffer.h',
3217             'tools/service_discovery_sniffer/service_discovery_sniffer.cc',
3218           ],
3219           'conditions': [
3220             ['enable_webrtc==1', {
3221               'dependencies': [
3222                 '../third_party/libjingle/libjingle.gyp:libjingle_webrtc'
3223               ]
3224             }],
3225           ],
3226         }]
3227     }],
3228   ],  # 'conditions'