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