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