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