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