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