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