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