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