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