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