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