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