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