android_webview : Class member variable WeakPtrFactory in proper order.
[chromium-blink-merge.git] / chrome / chrome_tests.gypi
blob27db0cd1025dbb0a8e892d942233ca9692b68bd1
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         # TODO(blundell): Bring up a components_browsertests target and move
867         # this test to be in that target. crbug.com/283846
868         '../components/autofill/content/renderer/password_form_conversion_utils_browsertest.cc',
869         '../components/autofill/content/renderer/test_password_autofill_agent.h',
870         '../components/autofill/content/renderer/test_password_autofill_agent.cc',
871         '../components/autofill/content/renderer/test_password_generation_agent.h',
872         '../components/autofill/content/renderer/test_password_generation_agent.cc',
873         # TODO(rockot): Remove this once extensions_browsertests exists.
874         '../extensions/browser/api/app_window/app_window_apitest.cc',
875         '../extensions/browser/api/bluetooth/bluetooth_apitest.cc',
876         '../extensions/browser/api/bluetooth/bluetooth_private_apitest.cc',
877         '../extensions/browser/api/bluetooth_low_energy/bluetooth_low_energy_apitest.cc',
878         '../extensions/browser/api/bluetooth_socket/bluetooth_socket_apitest.cc',
879         '../extensions/browser/api/cast_channel/cast_channel_apitest.cc',
880         '../extensions/browser/api/runtime/runtime_apitest.cc',
881         '../extensions/browser/api/serial/serial_apitest.cc',
882         '../extensions/browser/api/usb/usb_apitest.cc',
883         '../extensions/browser/api/usb/usb_manual_apitest.cc',
884         '../extensions/browser/app_window/app_window_browsertest.cc',
885         '../extensions/browser/guest_view/extension_options/extension_options_apitest.cc',
886         '../extensions/browser/test_extension_registry_observer.h',
887         '../extensions/browser/test_extension_registry_observer.cc',
888         '../extensions/renderer/script_context_browsertest.cc',
889         'app/chrome_command_ids.h',
890         'app/chrome_dll.rc',
891         'app/chrome_dll_resource.h',
892         'app/chrome_version.rc.version',
893         'browser/accessibility/accessibility_extension_apitest.cc',
894         'browser/accessibility/browser_accessibility_state_browsertest.cc',
895         'browser/app_controller_mac_browsertest.mm',
896         'browser/apps/app_browsertest.cc',
897         'browser/apps/app_browsertest_util.cc',
898         'browser/apps/app_browsertest_util.h',
899         'browser/apps/app_crash_browsertest.cc',
900         'browser/apps/app_view_browsertest.cc',
901         'browser/apps/app_window_browsertest.cc',
902         'browser/apps/app_url_redirector_browsertest.cc',
903         'browser/apps/custom_launcher_page_browsertest_views.cc',
904         'browser/apps/drive/drive_app_converter_browsertest.cc',
905         'browser/apps/drive/drive_app_provider_browsertest.cc',
906         'browser/apps/ephemeral_app_browsertest.cc',
907         'browser/apps/ephemeral_app_browsertest.h',
908         'browser/apps/ephemeral_app_launcher_browsertest.cc',
909         'browser/apps/ephemeral_app_service_browsertest.cc',
910         'browser/apps/event_page_browsertest.cc',
911         'browser/apps/speech_recognition_browsertest.cc',
912         'browser/apps/web_view_browsertest.cc',
913         'browser/apps/window_controls_browsertest.cc',
914         'browser/autocomplete/autocomplete_browsertest.cc',
915         'browser/autofill/autofill_browsertest.cc',
916         'browser/autofill/autofill_server_browsertest.cc',
917         'browser/autofill/content_autofill_driver_browsertest.cc',
918         'browser/autofill/form_structure_browsertest.cc',
919         'browser/bitmap_fetcher/bitmap_fetcher_browsertest.cc',
920         'browser/browser_encoding_browsertest.cc',
921         'browser/browsing_data/browsing_data_database_helper_browsertest.cc',
922         'browser/browsing_data/browsing_data_helper_browsertest.h',
923         'browser/browsing_data/browsing_data_indexed_db_helper_browsertest.cc',
924         'browser/browsing_data/browsing_data_local_storage_helper_browsertest.cc',
925         'browser/browsing_data/browsing_data_remover_browsertest.cc',
926         'browser/browsing_data/browsing_data_remover_test_util.cc',
927         'browser/browsing_data/browsing_data_remover_test_util.h',
928         'browser/captive_portal/captive_portal_browsertest.cc',
929         'browser/chrome_content_browser_client_browsertest.cc',
930         'browser/chrome_main_browsertest.cc',
931         'browser/chrome_plugin_browsertest.cc',
932         'browser/chrome_security_exploit_browsertest.cc',
933         'browser/chrome_service_worker_browsertest.cc',
934         'browser/chrome_switches_browsertest.cc',
935         'browser/chromeos/accessibility/accessibility_manager_browsertest.cc',
936         'browser/chromeos/accessibility/magnification_manager_browsertest.cc',
937         'browser/chromeos/accessibility/speech_monitor.cc',
938         'browser/chromeos/accessibility/speech_monitor.h',
939         'browser/chromeos/accessibility/touch_exploration_controller_browsertest.cc',
940         'browser/chromeos/app_mode/kiosk_app_manager_browsertest.cc',
941         'browser/chromeos/app_mode/kiosk_app_update_service_browsertest.cc',
942         'browser/chromeos/attestation/attestation_policy_browsertest.cc',
943         'browser/chromeos/customization_wallpaper_downloader_browsertest.cc',
944         'browser/chromeos/device/input_service_proxy_browsertest.cc',
945         'browser/chromeos/drive/drive_integration_service_browsertest.cc',
946         'browser/chromeos/drive/drive_notification_manager_factory_browsertest.cc',
947         'browser/chromeos/drive/test_util.cc',
948         'browser/chromeos/drive/test_util.h',
949         'browser/chromeos/extensions/accessibility_features_apitest.cc',
950         'browser/chromeos/extensions/echo_private_apitest.cc',
951         'browser/chromeos/extensions/file_manager/file_browser_handler_api_test.cc',
952         'browser/chromeos/extensions/file_manager/file_manager_private_apitest.cc',
953         'browser/chromeos/extensions/file_system_provider/file_system_provider_apitest.cc',
954         'browser/chromeos/extensions/info_private_apitest.cc',
955         'browser/chromeos/extensions/input_method_apitest_chromeos.cc',
956         'browser/chromeos/extensions/input_view_browsertest.cc',
957         'browser/chromeos/extensions/virtual_keyboard_browsertest.cc',
958         'browser/chromeos/extensions/virtual_keyboard_browsertest.h',
959         'browser/chromeos/extensions/wallpaper_apitest.cc',
960         'browser/chromeos/extensions/wallpaper_private_apitest.cc',
961         'browser/chromeos/file_manager/drive_test_util.cc',
962         'browser/chromeos/file_manager/drive_test_util.h',
963         'browser/chromeos/file_manager/external_filesystem_apitest.cc',
964         'browser/chromeos/file_manager/file_manager_browsertest.cc',
965         'browser/chromeos/file_manager/file_manager_jstest.cc',
966         'browser/chromeos/file_manager/zip_file_creator_browsertest.cc',
967         'browser/chromeos/first_run/drive_first_run_browsertest.cc',
968         'browser/chromeos/first_run/first_run_browsertest.cc',
969         'browser/chromeos/input_method/input_method_engine_browsertests.cc',
970         'browser/chromeos/input_method/mode_indicator_browsertest.cc',
971         'browser/chromeos/kiosk_mode/mock_kiosk_mode_settings.cc',
972         'browser/chromeos/kiosk_mode/mock_kiosk_mode_settings.h',
973         'browser/chromeos/login/crash_restore_browsertest.cc',
974         'browser/chromeos/login/demo_mode/demo_app_launcher_browsertest.cc',
975         'browser/chromeos/login/enrollment/enrollment_screen_browsertest.cc',
976         'browser/chromeos/login/enrollment/mock_auto_enrollment_check_screen.cc',
977         'browser/chromeos/login/enrollment/mock_auto_enrollment_check_screen.h',
978         'browser/chromeos/login/enrollment/mock_enrollment_screen.cc',
979         'browser/chromeos/login/enrollment/mock_enrollment_screen.h',
980         'browser/chromeos/login/existing_user_controller_browsertest.cc',
981         'browser/chromeos/login/kiosk_browsertest.cc',
982         'browser/chromeos/login/lock/screen_locker_tester.cc',
983         'browser/chromeos/login/lock/screen_locker_tester.h',
984         'browser/chromeos/login/login_screen_policy_browsertest.cc',
985         'browser/chromeos/login/login_utils_browsertest.cc',
986         'browser/chromeos/login/login_manager_test.cc',
987         'browser/chromeos/login/login_manager_test.h',
988         'browser/chromeos/login/oobe_localization_browsertest.cc',
989         'browser/chromeos/login/reset_browsertest.cc',
990         # TODO(nkostylev) Re-enable ResourceLoaderBrowserTest.
991         #'browser/chromeos/login/resource_loader_browsertest.cc',
992         'browser/chromeos/login/saml/saml_browsertest.cc',
993         'browser/chromeos/login/session_login_browsertest.cc',
994         'browser/chromeos/login/screens/mock_error_screen.cc',
995         'browser/chromeos/login/screens/mock_error_screen.h',
996         'browser/chromeos/login/screens/mock_eula_screen.cc',
997         'browser/chromeos/login/screens/mock_eula_screen.h',
998         'browser/chromeos/login/screens/mock_network_screen.cc',
999         'browser/chromeos/login/screens/mock_network_screen.h',
1000         'browser/chromeos/login/screens/mock_screen_observer.cc',
1001         'browser/chromeos/login/screens/mock_screen_observer.h',
1002         'browser/chromeos/login/screens/mock_update_screen.cc',
1003         'browser/chromeos/login/screens/mock_update_screen.h',
1004         'browser/chromeos/login/screens/network_screen_browsertest.cc',
1005         'browser/chromeos/login/screens/update_screen_browsertest.cc',
1006         'browser/chromeos/login/supervised/supervised_user_creation_browsertest.cc',
1007         'browser/chromeos/login/supervised/supervised_user_password_browsertest.cc',
1008         'browser/chromeos/login/supervised/supervised_user_test_base.cc',
1009         'browser/chromeos/login/supervised/supervised_user_test_base.h',
1010         'browser/chromeos/login/signin/oauth2_browsertest.cc',
1011         'browser/chromeos/login/test/app_window_waiter.cc',
1012         'browser/chromeos/login/test/app_window_waiter.h',
1013         'browser/chromeos/login/test/https_forwarder.cc',
1014         'browser/chromeos/login/test/https_forwarder.h',
1015         'browser/chromeos/login/test/oobe_base_test.cc',
1016         'browser/chromeos/login/test/oobe_base_test.h',
1017         'browser/chromeos/login/test/wizard_in_process_browser_test.cc',
1018         'browser/chromeos/login/test/wizard_in_process_browser_test.h',
1019         'browser/chromeos/login/test_login_utils.cc',
1020         'browser/chromeos/login/test_login_utils.h',
1021         'browser/chromeos/login/ui/captive_portal_window_browsertest.cc',
1022         'browser/chromeos/login/ui/simple_web_view_dialog_browsertest.cc',
1023         'browser/chromeos/login/ui/user_adding_screen_browsertest.cc',
1024         'browser/chromeos/login/users/avatar/user_image_manager_browsertest.cc',
1025         'browser/chromeos/login/users/avatar/user_image_manager_test_util.cc',
1026         'browser/chromeos/login/users/avatar/user_image_manager_test_util.h',
1027         'browser/chromeos/login/users/wallpaper/wallpaper_manager_policy_browsertest.cc',
1028         'browser/chromeos/login/users/wallpaper/wallpaper_manager_test_utils.cc',
1029         'browser/chromeos/login/users/wallpaper/wallpaper_manager_test_utils.h',
1030         'browser/chromeos/login/wizard_controller_browsertest.cc',
1031         'browser/chromeos/memory/oom_priority_manager_browsertest.cc',
1032         'browser/chromeos/net/network_portal_detector_impl_browsertest.cc',
1033         'browser/chromeos/policy/blocking_login_browsertest.cc',
1034         'browser/chromeos/policy/device_cloud_policy_browsertest.cc',
1035         'browser/chromeos/policy/device_local_account_browsertest.cc',
1036         'browser/chromeos/policy/device_policy_cros_browser_test.cc',
1037         'browser/chromeos/policy/device_policy_cros_browser_test.h',
1038         'browser/chromeos/policy/device_status_collector_browsertest.cc',
1039         'browser/chromeos/policy/device_system_use_24hour_clock_browsertest.cc',
1040         'browser/chromeos/policy/login_screen_default_policy_browsertest.cc',
1041         'browser/chromeos/policy/policy_cert_verifier_browsertest.cc',
1042         'browser/chromeos/policy/power_policy_browsertest.cc',
1043         'browser/chromeos/policy/user_cloud_external_data_manager_browsertest.cc',
1044         'browser/chromeos/policy/user_cloud_policy_manager_chromeos_browsertest.cc',
1045         'browser/chromeos/policy/variations_service_policy_browsertest.cc',
1046         'browser/chromeos/power/peripheral_battery_observer_browsertest.cc',
1047         'browser/chromeos/preferences_browsertest.cc',
1048         'browser/chromeos/profiles/profile_helper_browsertest.cc',
1049         'browser/chromeos/system/tray_accessibility_browsertest.cc',
1050         'browser/chromeos/ui/idle_logout_dialog_view_browsertest.cc',
1051         'browser/collected_cookies_browsertest.cc',
1052         'browser/content_settings/content_settings_browsertest.cc',
1053         'browser/crash_recovery_browsertest.cc',
1054         'browser/custom_handlers/protocol_handler_registry_browsertest.cc',
1055         'browser/devtools/device/adb/adb_client_socket_browsertest.cc',
1056         'browser/devtools/device/adb/mock_adb_server.cc',
1057         'browser/devtools/device/adb/mock_adb_server.h',
1058         'browser/devtools/device/port_forwarding_browsertest.cc',
1059         'browser/devtools/device/usb/android_usb_browsertest.cc',
1060         'browser/devtools/devtools_window_testing.cc',
1061         'browser/devtools/devtools_window_testing.h',
1062         'browser/devtools/devtools_sanity_browsertest.cc',
1063         'browser/dom_distiller/dom_distiller_viewer_source_browsertest.cc',
1064         'browser/dom_distiller/tab_utils_browsertest.cc',
1065         'browser/do_not_track_browsertest.cc',
1066         'browser/download/download_browsertest.cc',
1067         'browser/download/download_browsertest.h',
1068         'browser/download/download_danger_prompt_browsertest.cc',
1069         'browser/download/download_started_animation_browsertest.cc',
1070         'browser/download/save_page_browsertest.cc',
1071         'browser/errorpage_browsertest.cc',
1072         'browser/extensions/active_script_controller_browsertest.cc',
1073         'browser/extensions/active_tab_apitest.cc',
1074         'browser/extensions/activity_log/activity_log_browsertest.cc',
1075         'browser/extensions/activity_log/ad_injection_browsertest.cc',
1076         'browser/extensions/activity_log/uma_policy_browsertest.cc',
1077         'browser/extensions/alert_apitest.cc',
1078         'browser/extensions/all_urls_apitest.cc',
1079         'browser/extensions/api/activity_log_private/activity_log_private_apitest.cc',
1080         'browser/extensions/api/audio/audio_apitest.cc',
1081         'browser/extensions/api/automation/automation_apitest.cc',
1082         'browser/extensions/api/autotest_private/autotest_private_apitest.cc',
1083         'browser/extensions/api/bookmark_manager_private/bookmark_manager_private_apitest.cc',
1084         'browser/extensions/api/braille_display_private/braille_display_private_apitest.cc',
1085         'browser/extensions/api/braille_display_private/mock_braille_controller.cc',
1086         'browser/extensions/api/braille_display_private/mock_braille_controller.h',
1087         'browser/extensions/api/browser/browser_apitest.cc',
1088         'browser/extensions/api/bookmarks/bookmark_apitest.cc',
1089         'browser/extensions/api/browsing_data/browsing_data_test.cc',
1090         'browser/extensions/api/cast_streaming/cast_streaming_apitest.cc',
1091         'browser/extensions/api/cloud_print_private/cloud_print_private_apitest.cc',
1092         'browser/extensions/api/command_line_private/command_line_private_apitest.cc',
1093         'browser/extensions/api/commands/command_service_browsertest.cc',
1094         'browser/extensions/api/content_settings/content_settings_apitest.cc',
1095         'browser/extensions/api/context_menus/context_menu_apitest.cc',
1096         'browser/extensions/api/cookies/cookies_apitest.cc',
1097         'browser/extensions/api/debugger/debugger_apitest.cc',
1098         'browser/extensions/api/debugger/debugger_extension_apitest.cc',
1099         'browser/extensions/api/declarative/declarative_apitest.cc',
1100         'browser/extensions/api/declarative_content/declarative_content_apitest.cc',
1101         'browser/extensions/api/declarative_content/request_content_script_apitest.cc',
1102         'browser/extensions/api/desktop_capture/desktop_capture_apitest.cc',
1103         'browser/extensions/api/developer_private/developer_private_apitest.cc',
1104         'browser/extensions/api/dial/dial_apitest.cc',
1105         'browser/extensions/api/downloads/downloads_api_browsertest.cc',
1106         'browser/extensions/api/enterprise_platform_keys/enterprise_platform_keys_apitest_nss.cc',
1107         'browser/extensions/api/extension_action/browser_action_apitest.cc',
1108         'browser/extensions/api/extension_action/browser_action_browsertest.cc',
1109         'browser/extensions/api/extension_action/page_action_apitest.cc',
1110         'browser/extensions/api/feedback_private/feedback_private_apitest.cc',
1111         'browser/extensions/api/feedback_private/feedback_browsertest.cc',
1112         'browser/extensions/api/file_system/file_system_apitest.cc',
1113         'browser/extensions/api/file_system/file_system_apitest_chromeos.cc',
1114         'browser/extensions/api/font_settings/font_settings_apitest.cc',
1115         'browser/extensions/api/gcm/gcm_apitest.cc',
1116         'browser/extensions/api/gcd_private/gcd_private_apitest.cc',
1117         'browser/extensions/api/history/history_apitest.cc',
1118         'browser/extensions/api/hotword_private/hotword_private_apitest.cc',
1119         'browser/extensions/api/i18n/i18n_apitest.cc',
1120         'browser/extensions/api/identity/identity_apitest.cc',
1121         'browser/extensions/api/idle/idle_apitest.cc',
1122         'browser/extensions/api/idltest/idltest_apitest.cc',
1123         'browser/extensions/api/image_writer_private/image_writer_private_apitest.cc',
1124         'browser/extensions/api/image_writer_private/test_utils.cc',
1125         'browser/extensions/api/input_ime/input_ime_apitest_chromeos.cc',
1126         'browser/extensions/api/log_private/log_private_apitest_chromeos.cc',
1127         'browser/extensions/api/management/management_api_browsertest.cc',
1128         'browser/extensions/api/management/management_apitest.cc',
1129         'browser/extensions/api/management/management_browsertest.cc',
1130         'browser/extensions/api/mdns/mdns_apitest.cc',
1131         'browser/extensions/api/media_galleries/media_galleries_apitest.cc',
1132         'browser/extensions/api/media_galleries/media_galleries_watch_apitest.cc',
1133         'browser/extensions/api/media_galleries_private/media_galleries_watch_apitest.cc',
1134         'browser/extensions/api/messaging/native_messaging_apitest.cc',
1135         'browser/extensions/api/metrics_private/metrics_apitest.cc',
1136         'browser/extensions/api/module/module_apitest.cc',
1137         'browser/extensions/api/music_manager_private/music_manager_private_browsertest.cc',
1138         'browser/extensions/api/notification_provider/notification_provider_apitest.cc',
1139         'browser/extensions/api/notifications/notifications_apitest.cc',
1140         'browser/extensions/api/omnibox/omnibox_api_browsertest.cc',
1141         'browser/extensions/api/page_capture/page_capture_apitest.cc',
1142         'browser/extensions/api/permissions/permissions_apitest.cc',
1143         'browser/extensions/api/preference/preference_apitest.cc',
1144         'browser/extensions/api/preferences_private/preferences_private_apitest.cc',
1145         'browser/extensions/api/processes/processes_apitest.cc',
1146         'browser/extensions/api/proxy/proxy_apitest.cc',
1147         'browser/extensions/api/push_messaging/push_messaging_apitest.cc',
1148         'browser/extensions/api/push_messaging/push_messaging_canary_test.cc',
1149         'browser/extensions/api/push_messaging/sync_setup_helper.cc',
1150         'browser/extensions/api/reading_list_private/reading_list_private_apitest.cc',
1151         'browser/extensions/api/screenlock_private/screenlock_private_apitest.cc',
1152         'browser/extensions/api/sessions/sessions_apitest.cc',
1153         'browser/extensions/api/settings_overrides/settings_overrides_browsertest.cc',
1154         'browser/extensions/api/socket/socket_apitest.cc',
1155         'browser/extensions/api/sockets_tcp/sockets_tcp_apitest.cc',
1156         'browser/extensions/api/sockets_tcp_server/sockets_tcp_server_apitest.cc',
1157         'browser/extensions/api/sockets_udp/sockets_udp_apitest.cc',
1158         'browser/extensions/api/storage/settings_apitest.cc',
1159         'browser/extensions/api/streams_private/streams_private_apitest.cc',
1160         'browser/extensions/api/sync_file_system/sync_file_system_apitest.cc',
1161         'browser/extensions/api/system_indicator/system_indicator_apitest.cc',
1162         'browser/extensions/api/system_cpu/system_cpu_apitest.cc',
1163         'browser/extensions/api/system_display/system_display_apitest.cc',
1164         'browser/extensions/api/system_memory/system_memory_apitest.cc',
1165         'browser/extensions/api/system_network/system_network_apitest.cc',
1166         'browser/extensions/api/system_private/system_private_apitest.cc',
1167         'browser/extensions/api/system_storage/storage_api_test_util.cc',
1168         'browser/extensions/api/system_storage/storage_api_test_util.h',
1169         'browser/extensions/api/system_storage/system_storage_apitest.cc',
1170         'browser/extensions/api/system_storage/system_storage_eject_apitest.cc',
1171         'browser/extensions/api/tab_capture/tab_capture_apitest.cc',
1172         'browser/extensions/api/tabs/tabs_test.cc',
1173         'browser/extensions/api/terminal/terminal_private_apitest.cc',
1174         'browser/extensions/api/test/apitest_apitest.cc',
1175         'browser/extensions/api/top_sites/top_sites_apitest.cc',
1176         'browser/extensions/api/web_navigation/web_navigation_apitest.cc',
1177         'browser/extensions/api/web_request/web_request_apitest.cc',
1178         'browser/extensions/api/webrtc_audio_private/webrtc_audio_private_browsertest.cc',
1179         'browser/extensions/api/webrtc_logging_private/webrtc_logging_private_apitest.cc',
1180         'browser/extensions/api/webstore_private/webstore_private_apitest.cc',
1181         'browser/extensions/app_background_page_apitest.cc',
1182         'browser/extensions/app_process_apitest.cc',
1183         'browser/extensions/background_app_browsertest.cc',
1184         'browser/extensions/background_page_apitest.cc',
1185         'browser/extensions/background_scripts_apitest.cc',
1186         'browser/extensions/browsertest_util.cc',
1187         'browser/extensions/browsertest_util.h',
1188         'browser/extensions/browsertest_util_browsertest.cc',
1189         'browser/extensions/chrome_app_api_browsertest.cc',
1190         'browser/extensions/chrome_ui_overrides_browsertest.cc',
1191         'browser/extensions/content_verifier_browsertest.cc',
1192         'browser/extensions/content_script_apitest.cc',
1193         'browser/extensions/content_security_policy_apitest.cc',
1194         'browser/extensions/convert_web_app_browsertest.cc',
1195         'browser/extensions/crazy_extension_browsertest.cc',
1196         'browser/extensions/cross_origin_xhr_apitest.cc',
1197         'browser/extensions/crx_installer_browsertest.cc',
1198         'browser/extensions/docs/examples/apps/calculator_browsertest.cc',
1199         'browser/extensions/error_console/error_console_browsertest.cc',
1200         'browser/extensions/events_apitest.cc',
1201         'browser/extensions/execute_script_apitest.cc',
1202         'browser/extensions/extension_apitest.cc',
1203         'browser/extensions/extension_apitest.h',
1204         'browser/extensions/extension_bindings_apitest.cc',
1205         'browser/extensions/extension_browsertest.cc',
1206         'browser/extensions/extension_browsertest.h',
1207         'browser/extensions/extension_test_notification_observer.cc',
1208         'browser/extensions/extension_test_notification_observer.h',
1209         'browser/extensions/extension_context_menu_browsertest.cc',
1210         'browser/extensions/extension_disabled_ui_browsertest.cc',
1211         'browser/extensions/extension_dom_clipboard_apitest.cc',
1212         'browser/extensions/extension_fileapi_apitest.cc',
1213         'browser/extensions/extension_functional_browsertest.cc',
1214         'browser/extensions/extension_function_test_utils.cc',
1215         'browser/extensions/extension_function_test_utils.h',
1216         'browser/extensions/extension_geolocation_apitest.cc',
1217         'browser/extensions/extension_get_views_apitest.cc',
1218         'browser/extensions/extension_icon_source_apitest.cc',
1219         'browser/extensions/extension_incognito_apitest.cc',
1220         'browser/extensions/extension_install_ui_browsertest.cc',
1221         'browser/extensions/extension_javascript_url_apitest.cc',
1222         'browser/extensions/extension_loading_browsertest.cc',
1223         'browser/extensions/extension_messages_apitest.cc',
1224         'browser/extensions/extension_override_apitest.cc',
1225         'browser/extensions/extension_resource_request_policy_apitest.cc',
1226         'browser/extensions/extension_startup_browsertest.cc',
1227         'browser/extensions/extension_storage_apitest.cc',
1228         'browser/extensions/extension_storage_monitor_browsertest.cc',
1229         'browser/extensions/extension_tabs_apitest.cc',
1230         'browser/extensions/extension_url_rewrite_browsertest.cc',
1231         'browser/extensions/extension_view_host_factory_browsertest.cc',
1232         'browser/extensions/extension_websocket_apitest.cc',
1233         'browser/extensions/extension_webui_apitest.cc',
1234         'browser/extensions/gpu_browsertest.cc',
1235         'browser/extensions/isolated_app_browsertest.cc',
1236         'browser/extensions/lazy_background_page_apitest.cc',
1237         'browser/extensions/lazy_background_page_test_util.h',
1238         'browser/extensions/mutation_observers_apitest.cc',
1239         'browser/extensions/options_page_apitest.cc',
1240         'browser/extensions/page_action_browsertest.cc',
1241         'browser/extensions/plugin_apitest.cc',
1242         'browser/extensions/process_management_browsertest.cc',
1243         'browser/extensions/process_manager_browsertest.cc',
1244         'browser/extensions/requirements_checker_browsertest.cc',
1245         'browser/extensions/sandboxed_pages_apitest.cc',
1246         'browser/extensions/shared_module_apitest.cc',
1247         'browser/extensions/startup_helper_browsertest.cc',
1248         'browser/extensions/stubs_apitest.cc',
1249         'browser/extensions/subscribe_page_action_browsertest.cc',
1250         'browser/extensions/test_extension_dir.cc',
1251         'browser/extensions/test_extension_dir.h',
1252         'browser/extensions/updater/extension_cache_fake.h',
1253         'browser/extensions/updater/extension_cache_fake.cc',
1254         'browser/extensions/web_contents_browsertest.cc',
1255         'browser/extensions/webstore_inline_installer_browsertest.cc',
1256         'browser/extensions/webstore_installer_test.cc',
1257         'browser/extensions/webstore_installer_test.h',
1258         'browser/extensions/webstore_startup_installer_browsertest.cc',
1259         'browser/extensions/window_open_apitest.cc',
1260         'browser/external_extension_browsertest.cc',
1261         'browser/fast_shutdown_browsertest.cc',
1262         'browser/first_run/first_run_browsertest.cc',
1263         'browser/first_run/try_chrome_dialog_view_browsertest.cc',
1264         'browser/geolocation/access_token_store_browsertest.cc',
1265         'browser/geolocation/geolocation_browsertest.cc',
1266         'browser/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/plugins/npapi_infobar_browsertest.cc',
1325         'browser/policy/cloud/cloud_policy_browsertest.cc',
1326         'browser/policy/cloud/cloud_policy_manager_browsertest.cc',
1327         'browser/policy/cloud/component_cloud_policy_browsertest.cc',
1328         'browser/policy/cloud/device_management_service_browsertest.cc',
1329         'browser/policy/cloud/test_request_interceptor.cc',
1330         'browser/policy/cloud/test_request_interceptor.h',
1331         'browser/policy/policy_browsertest.cc',
1332         'browser/policy/policy_prefs_browsertest.cc',
1333         'browser/plugins/npapi_infobar_browsertest.cc',
1334         'browser/prefetch/prefetch_browsertest.cc',
1335         'browser/prefs/pref_functional_browsertest.cc',
1336         'browser/prefs/pref_service_browsertest.cc',
1337         'browser/prefs/synced_pref_change_registrar_browsertest.cc',
1338         'browser/prefs/tracked/pref_hash_browsertest.cc',
1339         'browser/prerender/prerender_browsertest.cc',
1340         'browser/printing/cloud_print/test/cloud_print_policy_browsertest.cc',
1341         'browser/printing/cloud_print/test/cloud_print_proxy_process_browsertest.cc',
1342         'browser/printing/print_preview_dialog_controller_browsertest.cc',
1343         'browser/printing/print_preview_pdf_generated_browsertest.cc',
1344         'browser/process_singleton_browsertest.cc',
1345         'browser/profiles/host_zoom_map_browsertest.cc',
1346         'browser/profiles/profile_browsertest.cc',
1347         'browser/profiles/profile_list_desktop_browsertest.cc',
1348         'browser/profiles/profile_manager_browsertest.cc',
1349         'browser/profile_resetter/profile_resetter_browsertest.cc',
1350         'browser/referrer_policy_browsertest.cc',
1351         'browser/renderer_context_menu/render_view_context_menu_browsertest.cc',
1352         'browser/renderer_context_menu/render_view_context_menu_browsertest_util.cc',
1353         'browser/renderer_context_menu/render_view_context_menu_browsertest_util.h',
1354         'browser/renderer_context_menu/render_view_context_menu_test_util.cc',
1355         'browser/renderer_context_menu/render_view_context_menu_test_util.h',
1356         'browser/renderer_context_menu/spellchecker_submenu_observer_browsertest.cc',
1357         'browser/renderer_context_menu/spelling_menu_observer_browsertest.cc',
1358         'browser/renderer_host/chrome_resource_dispatcher_host_delegate_browsertest.cc',
1359         'browser/renderer_host/render_process_host_chrome_browsertest.cc',
1360         'browser/repost_form_warning_browsertest.cc',
1361         'browser/resources/pdf/pdf_extension_test.cc',
1362         'browser/safe_browsing/local_safebrowsing_test_server.cc',
1363         'browser/safe_browsing/safe_browsing_blocking_page_test.cc',
1364         'browser/safe_browsing/safe_browsing_service_browsertest.cc',
1365         'browser/safe_browsing/safe_browsing_test.cc',
1366         'browser/search/suggestions/image_manager_impl_browsertest.cc',
1367         'browser/service_process/service_process_control_browsertest.cc',
1368         'browser/services/gcm/fake_gcm_profile_service.cc',
1369         'browser/services/gcm/fake_gcm_profile_service.h',
1370         'browser/sessions/better_session_restore_browsertest.cc',
1371         'browser/sessions/persistent_tab_restore_service_browsertest.cc',
1372         'browser/sessions/session_restore_browsertest.cc',
1373         'browser/sessions/session_restore_browsertest_chromeos.cc',
1374         'browser/sessions/tab_restore_browsertest.cc',
1375         'browser/signin/easy_unlock_service_browsertest_chromeos.cc',
1376         'browser/signin/signin_browsertest.cc',
1377         'browser/speech/extension_api/tts_extension_apitest.cc',
1378         'browser/spellchecker/spellcheck_service_browsertest.cc',
1379         'browser/ssl/chrome_ssl_host_state_delegate_test.cc',
1380         'browser/ssl/ssl_browser_tests.cc',
1381         'browser/ssl/ssl_client_certificate_selector_test.cc',
1382         'browser/ssl/ssl_client_certificate_selector_test.h',
1383         'browser/sync_file_system/mock_local_change_processor.cc',
1384         'browser/sync_file_system/mock_local_change_processor.h',
1385         'browser/sync_file_system/mock_remote_file_sync_service.cc',
1386         'browser/sync_file_system/mock_remote_file_sync_service.h',
1387         'browser/tab_contents/view_source_browsertest.cc',
1388         'browser/task_manager/task_manager_browsertest.cc',
1389         'browser/task_manager/task_manager_browsertest_util.cc',
1390         'browser/task_manager/task_manager_browsertest_util.h',
1391         'browser/themes/theme_service_browsertest.cc',
1392         'browser/translate/translate_browsertest.cc',
1393         'browser/translate/cld_data_harness.cc',
1394         'browser/translate/cld_data_harness.h',
1395         'browser/translate/translate_manager_browsertest.cc',
1396         'browser/ui/app_list/app_list_controller_browsertest.cc',
1397         'browser/ui/app_list/app_list_service_impl_browsertest.cc',
1398         'browser/ui/app_list/app_list_service_views_browsertest.cc',
1399         'browser/ui/app_list/search/people/people_provider_browsertest.cc',
1400         'browser/ui/app_list/search/webstore/webstore_provider_browsertest.cc',
1401         'browser/ui/ash/accelerator_commands_browsertest.cc',
1402         'browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc',
1403         'browser/ui/ash/launcher/launcher_favicon_loader_browsertest.cc',
1404         'browser/ui/ash/keyboard_controller_browsertest.cc',
1405         'browser/ui/ash/shelf_browsertest.cc',
1406         'browser/ui/ash/volume_controller_browsertest_chromeos.cc',
1407         'browser/ui/autofill/autofill_dialog_controller_browsertest.cc',
1408         'browser/ui/autofill/autofill_dialog_view_tester.h',
1409         'browser/ui/autofill/mock_address_validator.cc',
1410         'browser/ui/autofill/mock_address_validator.h',
1411         'browser/ui/autofill/password_generation_popup_view_browsertest.cc',
1412         'browser/ui/autofill/password_generation_popup_view_tester.h',
1413         'browser/ui/autofill/test_generated_credit_card_bubble_view.cc',
1414         'browser/ui/autofill/test_generated_credit_card_bubble_view.h',
1415         'browser/ui/autofill/test_generated_credit_card_bubble_controller.cc',
1416         'browser/ui/autofill/test_generated_credit_card_bubble_controller.h',
1417         'browser/ui/blocked_content/popup_blocker_browsertest.cc',
1418         'browser/ui/bookmarks/bookmark_browsertest.cc',
1419         'browser/ui/browser_browsertest.cc',
1420         'browser/ui/browser_close_browsertest.cc',
1421         'browser/ui/browser_command_controller_browsertest.cc',
1422         'browser/ui/browser_navigator_browsertest.cc',
1423         'browser/ui/browser_navigator_browsertest.h',
1424         'browser/ui/browser_navigator_browsertest_chromeos.cc',
1425         'browser/ui/browser_tabrestore_browsertest.cc',
1426         'browser/ui/cocoa/accelerators_cocoa_browsertest.mm',
1427         'browser/ui/cocoa/applescript/browsercrapplication+applescript_test.mm',
1428         'browser/ui/cocoa/applescript/window_applescript_test.mm',
1429         'browser/ui/cocoa/apps/app_shim_menu_controller_mac_browsertest.mm',
1430         'browser/ui/cocoa/apps/native_app_window_cocoa_browsertest.mm',
1431         'browser/ui/cocoa/autofill/autofill_dialog_cocoa_browsertest.mm',
1432         'browser/ui/cocoa/autofill/autofill_dialog_view_tester_cocoa.mm',
1433         'browser/ui/cocoa/autofill/autofill_dialog_view_tester_cocoa.h',
1434         'browser/ui/cocoa/browser_window_controller_browsertest.mm',
1435         'browser/ui/cocoa/certificate_viewer_mac_browsertest.mm',
1436         'browser/ui/cocoa/constrained_window/constrained_window_mac_browsertest.mm',
1437         'browser/ui/cocoa/content_settings/collected_cookies_mac_browsertest.mm',
1438         'browser/ui/cocoa/content_settings/content_setting_bubble_cocoa_unittest.mm',
1439         'browser/ui/cocoa/dev_tools_controller_browsertest.mm',
1440         'browser/ui/cocoa/extensions/extension_action_context_menu_controller_browsertest.mm',
1441         'browser/ui/cocoa/extensions/extension_install_dialog_controller_browsertest.mm',
1442         'browser/ui/cocoa/extensions/extension_install_prompt_test_utils.h',
1443         'browser/ui/cocoa/extensions/extension_install_prompt_test_utils.mm',
1444         'browser/ui/cocoa/extensions/media_galleries_dialog_cocoa_browsertest.mm',
1445         'browser/ui/cocoa/extensions/windowed_install_dialog_controller_browsertest.mm',
1446         'browser/ui/cocoa/find_bar/find_bar_browsertest.mm',
1447         'browser/ui/cocoa/location_bar/zoom_decoration_browsertest.mm',
1448         'browser/ui/cocoa/omnibox/omnibox_view_mac_browsertest.mm',
1449         'browser/ui/cocoa/one_click_signin_bubble_controller_browsertest.mm',
1450         'browser/ui/cocoa/one_click_signin_dialog_controller_browsertest.mm',
1451         'browser/ui/cocoa/passwords/manage_passwords_bubble_browsertest.mm',
1452         'browser/ui/cocoa/profiles/profile_signin_confirmation_view_controller_browsertest.mm',
1453         'browser/ui/cocoa/ssl_client_certificate_selector_cocoa_browsertest.mm',
1454         'browser/ui/cocoa/view_id_util_browsertest.mm',
1455         'browser/ui/content_settings/content_setting_bubble_model_browsertest.cc',
1456         'browser/ui/find_bar/find_bar_host_browsertest.cc',
1457         'browser/ui/fullscreen/fullscreen_controller_browsertest.cc',
1458         'browser/ui/global_error/global_error_service_browsertest.cc',
1459         'browser/ui/login/login_prompt_browsertest.cc',
1460         'browser/ui/location_bar/location_bar_browsertest.cc',
1461         'browser/ui/panels/panel_extension_browsertest.cc',
1462         'browser/ui/passwords/manage_passwords_test.cc',
1463         'browser/ui/pdf/pdf_browsertest.cc',
1464         'browser/ui/prefs/prefs_tab_helper_browsertest.cc',
1465         'browser/ui/settings_window_manager_browsertest.cc',
1466         'browser/ui/startup/startup_browser_creator_browsertest.cc',
1467         'browser/ui/sync/one_click_signin_bubble_links_delegate_browsertest.cc',
1468         'browser/ui/sync/profile_signin_confirmation_helper_browsertest.cc',
1469         'browser/ui/tab_modal_confirm_dialog_browsertest.cc',
1470         'browser/ui/tab_modal_confirm_dialog_browsertest.h',
1471         'browser/ui/toolbar/test_toolbar_model.cc',
1472         'browser/ui/toolbar/test_toolbar_model.h',
1473         'browser/ui/views/autofill/autofill_dialog_view_tester_views.cc',
1474         'browser/ui/views/autofill/autofill_dialog_view_tester_views.h',
1475         'browser/ui/views/autofill/autofill_popup_base_view_browsertest.cc',
1476         'browser/ui/views/autofill/password_generation_popup_view_tester_views.cc',
1477         'browser/ui/views/autofill/password_generation_popup_view_tester_views.h',
1478         'browser/ui/views/extensions/extension_install_dialog_view_browsertest.cc',
1479         'browser/ui/views/frame/browser_non_client_frame_view_ash_browsertest.cc',
1480         'browser/ui/views/frame/browser_view_browsertest.cc',
1481         'browser/ui/views/frame/browser_window_property_manager_browsertest_win.cc',
1482         'browser/ui/views/location_bar/zoom_bubble_view_browsertest.cc',
1483         'browser/ui/views/profiles/avatar_menu_button_browsertest.cc',
1484         'browser/ui/views/profiles/new_avatar_menu_button_browsertest.cc',
1485         'browser/ui/views/profiles/profile_chooser_view_browsertest.cc',
1486         'browser/ui/views/select_file_dialog_extension_browsertest.cc',
1487         'browser/ui/views/toolbar/browser_actions_container_browsertest.cc',
1488         'browser/ui/views/toolbar/toolbar_view_browsertest.cc',
1489         'browser/ui/views/translate/translate_bubble_view_browsertest.cc',
1490         'browser/ui/views/web_dialog_view_browsertest.cc',
1491         'browser/ui/webui/app_list/start_page_browsertest.js',
1492         'browser/ui/webui/bidi_checker_web_ui_test.cc',
1493         'browser/ui/webui/bidi_checker_web_ui_test.h',
1494         'browser/ui/webui/bookmarks_ui_browsertest.cc',
1495         'browser/ui/webui/chrome_url_data_manager_browsertest.cc',
1496         'browser/ui/webui/chromeos/set_time_ui_browsertest.js',
1497         'browser/ui/webui/constrained_web_dialog_ui_browsertest.cc',
1498         'browser/ui/webui/downloads_dom_handler_browsertest.cc',
1499         'browser/ui/webui/downloads_ui_browsertest.cc',
1500         'browser/ui/webui/downloads_ui_browsertest.h',
1501         'browser/ui/webui/downloads_ui_browsertest.js',
1502         'browser/ui/webui/extensions/chromeos/kiosk_apps_browsertest.js',
1503         'browser/ui/webui/extensions/extension_settings_browsertest.cc',
1504         'browser/ui/webui/extensions/extension_settings_browsertest.h',
1505         'browser/ui/webui/extensions/extension_settings_browsertest.js',
1506         'browser/ui/webui/help/help_browsertest.js',
1507         'browser/ui/webui/identity_internals_ui_browsertest.cc',
1508         'browser/ui/webui/identity_internals_ui_browsertest.h',
1509         'browser/ui/webui/identity_internals_ui_browsertest.js',
1510         'browser/ui/webui/inspect_ui_browsertest.cc',
1511         'browser/ui/webui/interstitials/interstitial_ui_browsertest.cc',
1512         'browser/ui/webui/net_internals/net_internals_ui_browsertest.cc',
1513         'browser/ui/webui/net_internals/net_internals_ui_browsertest.h',
1514         'browser/ui/webui/ntp/most_visited_browsertest.cc',
1515         'browser/ui/webui/ntp/new_tab_page_sync_handler_browsertest.cc',
1516         'browser/ui/webui/ntp/new_tab_ui_browsertest.cc',
1517         'browser/ui/webui/options/autofill_options_browsertest.js',
1518         'browser/ui/webui/options/browser_options_browsertest.js',
1519         'browser/ui/webui/options/certificate_manager_browsertest.cc',
1520         'browser/ui/webui/options/certificate_manager_browsertest.js',
1521         'browser/ui/webui/options/clear_browser_data_browsertest.cc',
1522         'browser/ui/webui/options/chromeos/accounts_options_browsertest.cc',
1523         'browser/ui/webui/options/chromeos/accounts_options_browsertest.js',
1524         'browser/ui/webui/options/chromeos/bluetooth_options_browsertest.js',
1525         'browser/ui/webui/options/chromeos/date_time_options_browsertest.js',
1526         'browser/ui/webui/options/chromeos/guest_mode_options_ui_browsertest.cc',
1527         'browser/ui/webui/options/chromeos/shared_options_browsertest.cc',
1528         'browser/ui/webui/options/content_options_browsertest.js',
1529         'browser/ui/webui/options/content_settings_exception_area_browsertest.js',
1530         'browser/ui/webui/options/cookies_view_browsertest.js',
1531         'browser/ui/webui/options/edit_dictionary_browsertest.js',
1532         'browser/ui/webui/options/font_settings_browsertest.js',
1533         'browser/ui/webui/options/language_options_browsertest.js',
1534         'browser/ui/webui/options/language_options_dictionary_download_browsertest.js',
1535         'browser/ui/webui/options/manage_profile_browsertest.js',
1536         'browser/ui/webui/options/options_browsertest.cc',
1537         'browser/ui/webui/options/options_browsertest.js',
1538         'browser/ui/webui/options/options_ui_browsertest.cc',
1539         'browser/ui/webui/options/options_ui_browsertest.h',
1540         'browser/ui/webui/options/password_manager_browsertest.js',
1541         'browser/ui/webui/options/profile_settings_reset_browsertest.js',
1542         'browser/ui/webui/options/preferences_browsertest.cc',
1543         'browser/ui/webui/options/preferences_browsertest.h',
1544         'browser/ui/webui/options/search_engine_manager_browsertest.js',
1545         'browser/ui/webui/options/settings_app_browsertest.js',
1546         'browser/ui/webui/options/settings_format_browsertest.js',
1547         'browser/ui/webui/options/startup_page_list_browsertest.js',
1548         'browser/ui/webui/options/website_settings_browsertest.js',
1549         'browser/ui/webui/password_manager_internals/password_manager_internals_ui_browsertest.cc',
1550         'browser/ui/webui/policy_ui_browsertest.cc',
1551         'browser/ui/webui/print_preview/print_preview_ui_browsertest.cc',
1552         'browser/ui/webui/signin/user_manager_ui_browsertest.cc',
1553         'browser/ui/webui/signin/inline_login_ui_browsertest.cc',
1554         'browser/ui/webui/sync_internals_browsertest.js',
1555         'browser/ui/webui/sync_setup_browsertest.js',
1556         'browser/ui/webui/web_ui_test_handler.cc',
1557         'browser/ui/webui/web_ui_test_handler.h',
1558         'browser/ui/zoom/zoom_controller_browsertest.cc',
1559         'browser/unload_browsertest.cc',
1560         'common/mac/app_mode_chrome_locator_browsertest.mm',
1561         'common/mac/mock_launchd.cc',
1562         'common/mac/mock_launchd.h',
1563         'common/time_format_browsertest.cc',
1564         'renderer/chrome_content_renderer_client_browsertest.cc',
1565         'renderer/autofill/autofill_renderer_browsertest.cc',
1566         'renderer/autofill/form_autocomplete_browsertest.cc',
1567         'renderer/autofill/form_autofill_browsertest.cc',
1568         'renderer/autofill/page_click_tracker_browsertest.cc',
1569         'renderer/autofill/password_autofill_agent_browsertest.cc',
1570         'renderer/autofill/password_generation_agent_browsertest.cc',
1571         'renderer/content_settings_observer_browsertest.cc',
1572         'renderer/media/cast_session_browsertest.cc',
1573         'renderer/printing/print_web_view_helper_browsertest.cc',
1574         'renderer/safe_browsing/malware_dom_details_browsertest.cc',
1575         'renderer/safe_browsing/phishing_classifier_browsertest.cc',
1576         'renderer/safe_browsing/phishing_classifier_delegate_browsertest.cc',
1577         'renderer/safe_browsing/phishing_dom_feature_extractor_browsertest.cc',
1578         'renderer/translate/translate_helper_browsertest.cc',
1579         'renderer/translate/translate_script_browsertest.cc',
1580         'test/base/browser_tests_main.cc',
1581         'test/base/chrome_render_view_test.cc',
1582         'test/base/chrome_render_view_test.h',
1583         'test/base/web_ui_browser_test.cc',
1584         'test/base/web_ui_browser_test.h',
1585         'test/base/web_ui_browser_test_browsertest.cc',
1586         'test/base/in_process_browser_test_browsertest.cc',
1587         'test/base/javascript_browser_test.cc',
1588         'test/base/javascript_browser_test.h',
1589         'test/base/tracing_browsertest.cc',
1590         'test/base/test_chrome_web_ui_controller_factory.cc',
1591         'test/base/test_chrome_web_ui_controller_factory.h',
1592         'test/base/test_chrome_web_ui_controller_factory_browsertest.cc',
1593         'test/data/chromeos/oobe_webui_browsertest.js',
1594         'test/data/webui/about_invalidations_browsertest.js',
1595         'test/data/webui/accessibility_audit_browsertest.js',
1596         'test/data/webui/assertions.js',
1597         'test/data/webui/async_gen.cc',
1598         'test/data/webui/async_gen.h',
1599         'test/data/webui/async_gen.js',
1600         'test/data/webui/certificate_viewer_dialog_test.js',
1601         'test/data/webui/certificate_viewer_ui_test-inl.h',
1602         'test/data/webui/chrome_send_browsertest.cc',
1603         'test/data/webui/chrome_send_browsertest.h',
1604         'test/data/webui/chrome_send_browsertest.js',
1605         'test/data/webui/history_browsertest.js',
1606         'test/data/webui/history_ui_browsertest.cc',
1607         'test/data/webui/history_ui_browsertest.h',
1608         'test/data/webui/mock4js_browsertest.js',
1609         'test/data/webui/net_internals/bandwidth_view.js',
1610         'test/data/webui/net_internals/chromeos_view.js',
1611         'test/data/webui/net_internals/dns_view.js',
1612         'test/data/webui/net_internals/events_view.js',
1613         'test/data/webui/net_internals/hsts_view.js',
1614         'test/data/webui/net_internals/log_util.js',
1615         'test/data/webui/net_internals/log_view_painter.js',
1616         'test/data/webui/net_internals/main.js',
1617         'test/data/webui/net_internals/net_internals_test.js',
1618         'test/data/webui/net_internals/prerender_view.js',
1619         'test/data/webui/net_internals/test_view.js',
1620         'test/data/webui/net_internals/timeline_view.js',
1621         'test/data/webui/net_internals/waterfall_view.js',
1622         'test/data/webui/ntp4.js',
1623         'test/data/webui/ntp4_browsertest.cc',
1624         'test/data/webui/ntp4_browsertest.h',
1625         'test/data/webui/print_preview.cc',
1626         'test/data/webui/print_preview.h',
1627         'test/data/webui/print_preview.js',
1628         'test/data/webui/sandboxstatus_browsertest.js',
1629         'test/data/webui/webui_resource_browsertest.cc',
1630         'test/gpu/webgl_infobar_browsertest.cc',
1631         'test/ppapi/ppapi_browsertest.cc',
1632         'test/remoting/auth_browsertest.cc',
1633         'test/remoting/fullscreen_browsertest.cc',
1634         'test/remoting/key_code_conv.cc',
1635         'test/remoting/key_code_conv.h',
1636         'test/remoting/key_code_map.h',
1637         'test/remoting/launch_browsertest.cc',
1638         'test/remoting/me2me_browsertest.cc',
1639         'test/remoting/page_load_notification_observer.cc',
1640         'test/remoting/page_load_notification_observer.h',
1641         'test/remoting/pin_browsertest.cc',
1642         'test/remoting/qunit_browser_test_runner.cc',
1643         'test/remoting/remote_desktop_browsertest.cc',
1644         'test/remoting/remote_desktop_browsertest.h',
1645         'test/remoting/scrollbar_browsertest.cc',
1646         'test/remoting/waiter.cc',
1647         'test/remoting/waiter.h',
1648         'test/remoting/webapp_javascript_unittest.cc',
1649         # TODO(craig): Rename this and run from base_unittests when the test
1650         # is safe to run there. See http://crbug.com/78722 for details.
1651         '../base/files/file_path_watcher_browsertest.cc',
1652       ],
1653       'rules': [
1654         {
1655           'rule_name': 'js2webui',
1656           'extension': 'js',
1657           'msvs_external_rule': 1,
1658           'inputs': [
1659             '<(gypv8sh)',
1660             '<(PRODUCT_DIR)/d8<(EXECUTABLE_SUFFIX)',
1661             '<(mock_js)',
1662             '<(test_api_js)',
1663             '<(js2gtest)',
1664           ],
1665           'outputs': [
1666             '<(INTERMEDIATE_DIR)/chrome/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_ROOT)-gen.cc',
1667             '<(PRODUCT_DIR)/test_data/chrome/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_ROOT).js',
1668           ],
1669           'process_outputs_as_sources': 1,
1670           'action': [
1671             'python',
1672             '<@(_inputs)',
1673             'webui',
1674             '<(RULE_INPUT_PATH)',
1675             'chrome/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_ROOT).js',
1676             '<@(_outputs)',
1677           ],
1678         },
1679       ],
1680       'msvs_settings': {
1681         'VCLinkerTool': {
1682           'conditions': [
1683             ['incremental_chrome_dll==1', {
1684               'UseLibraryDependencyInputs': "true",
1685             }],
1686           ],
1687         },
1688       },
1689       'conditions': [
1690         ['cld2_data_source=="component"', {
1691           'sources': [
1692             'browser/translate/component_cld_data_harness.cc',
1693             'browser/translate/component_cld_data_harness.h',
1694           ]},
1695         ],
1696         ['cld2_data_source=="standalone"', {
1697           'sources': [
1698             'browser/translate/standalone_cld_data_harness.cc',
1699             'browser/translate/standalone_cld_data_harness.h',
1700           ]},
1701         ],
1702         ['cld2_data_source=="static"', {
1703           'sources': [
1704             'browser/translate/static_cld_data_harness.cc',
1705             'browser/translate/static_cld_data_harness.h',
1706           ]},
1707         ],
1708         ['enable_one_click_signin==0', {
1709           'sources!': [
1710             'browser/ui/sync/one_click_signin_bubble_links_delegate_browsertest.cc',
1711           ]
1712         }],
1713         ['enable_autofill_dialog==0', {
1714           'sources!': [
1715             'browser/ui/autofill/autofill_dialog_controller_browsertest.cc',
1716           ]
1717         }],
1718         ['disable_nacl==0', {
1719           'sources':[
1720             'browser/extensions/extension_nacl_browsertest.cc',
1721             'browser/nacl_host/test/gdb_debug_stub_browsertest.cc',
1722           ],
1723           'dependencies': [
1724             # Runtime dependency.
1725             '../ppapi/native_client/src/trusted/plugin/plugin.gyp:nacl_trusted_plugin',
1726           ],
1727           'conditions': [
1728             ['disable_nacl_untrusted==0', {
1729               'sources': [
1730                 'test/nacl/nacl_browsertest.cc',
1731                 'test/nacl/nacl_browsertest_uma.cc',
1732                 'test/nacl/nacl_browsertest_util.cc',
1733                 'test/nacl/nacl_browsertest_util.h',
1734                 'test/nacl/pnacl_header_test.cc',
1735                 'test/nacl/pnacl_header_test.h',
1736               ],
1737               'dependencies': [
1738                 'test/data/nacl/nacl_test_data.gyp:*',
1739                 '../ppapi/native_client/native_client.gyp:nacl_irt',
1740                 '../ppapi/ppapi_nacl.gyp:ppapi_nacl_tests',
1741                 '../ppapi/tests/extensions/extensions.gyp:ppapi_tests_extensions_background_keepalive',
1742                 '../ppapi/tests/extensions/extensions.gyp:ppapi_tests_extensions_media_galleries',
1743               ],
1744               'conditions': [
1745                 ['chromeos==1', {
1746                   'sources': [
1747                     '../third_party/liblouis/nacl_wrapper/liblouis_wrapper_browsertest.cc',
1748                   ],
1749                   'dependencies': [
1750                     'browser_chromeos',
1751                     '../third_party/liblouis/liblouis_nacl.gyp:liblouis_test_data',
1752                   ],
1753                 }],
1754               ],
1755             }],
1756             ['OS=="win" or OS=="linux"', {
1757               'sources': [
1758                 'browser/nacl_host/test/nacl_gdb_browsertest.cc',
1759               ],
1760               'dependencies': [
1761                 'browser/nacl_host/test/mock_nacl_gdb.gyp:mock_nacl_gdb',
1762               ],
1763             }],
1764             ['OS=="win"', {
1765               # TODO(halyavin) NaCl on Windows can't open debug stub socket
1766               # in browser process as needed by this test.
1767               # See http://crbug.com/157312.
1768               'sources!': [
1769                 'browser/nacl_host/test/gdb_debug_stub_browsertest.cc',
1770               ],
1771               'dependencies': [
1772                 'chrome.gyp:chrome_nacl_win64',
1773               ],
1774             }],
1775             ['OS=="linux"', {
1776               'dependencies': [
1777                 '../native_client/src/trusted/service_runtime/linux/nacl_bootstrap.gyp:nacl_helper_bootstrap',
1778                 '../components/nacl.gyp:nacl_helper',
1779               ],
1780             }],
1781             ['chromeos==0', {
1782               'sources!': [
1783                 'test/data/chromeos/oobe_webui_browsertest.js',
1784               ],
1785             }],
1786           ],
1787         }],
1788         ['debug_devtools==1', {
1789           'defines': [
1790             'DEBUG_DEVTOOLS=1',
1791           ],
1792         }],
1793         ['use_ash==1', {
1794           'dependencies': [
1795             '../ash/ash.gyp:ash_test_support',
1796           ],
1797         }],
1798         ['use_aura==1 or toolkit_views==1', {
1799           'dependencies': [
1800             '../ui/events/events.gyp:events_test_support',
1801           ],
1802         }],
1803         ['chromeos==0', {
1804           'sources/': [
1805             ['exclude', '^browser/chromeos'],
1806             ['exclude', '^browser/ui/webui/options/chromeos/'],
1807           ],
1808           'sources!': [
1809             'browser/extensions/api/enterprise_platform_keys/enterprise_platform_keys_apitest_nss.cc',
1810             'browser/extensions/api/terminal/terminal_private_apitest.cc',
1811             'browser/invalidation/profile_invalidation_provider_factory_browsertest.cc',
1812             'browser/net/nss_context_chromeos_browsertest.cc',
1813             'browser/notifications/login_state_notification_blocker_chromeos_browsertest.cc',
1814             'browser/ui/ash/keyboard_controller_browsertest.cc',
1815             'browser/ui/views/select_file_dialog_extension_browsertest.cc',
1816             'test/data/webui/certificate_viewer_dialog_test.js',
1817             'test/data/webui/certificate_viewer_ui_test-inl.h',
1818           ],
1819         }, { # chromeos==1
1820           'sources!': [
1821             '../apps/load_and_launch_browsertest.cc',
1822             'browser/printing/cloud_print/test/cloud_print_policy_browsertest.cc',
1823             'browser/printing/cloud_print/test/cloud_print_proxy_process_browsertest.cc',
1824             # chromeos does not support profile list avatar menu
1825             'browser/profiles/profile_list_desktop_browsertest.cc',
1826             'browser/service_process/service_process_control_browsertest.cc',
1827             'browser/signin/signin_browsertest.cc',
1828             # chromeos does not use cross-platform panels
1829             'browser/ui/panels/panel_extension_browsertest.cc',
1830             # chromeos does not use the desktop user manager
1831             'browser/ui/webui/signin/user_manager_ui_browsertest.cc',
1832           ],
1833           'dependencies': [
1834             '../dbus/dbus.gyp:dbus_test_support',
1835             '../build/linux/system.gyp:dbus',
1836             '../ui/login/login.gyp:login_resources',
1837           ],
1838         }],
1839         ['configuration_policy==0', {
1840           'sources/': [
1841             ['exclude', '^browser/policy/'],
1842           ],
1843           'sources!': [
1844             'browser/ui/webui/options/certificate_manager_browsertest.cc',
1845             'browser/ui/webui/options/preferences_browsertest.cc',
1846             'browser/ui/webui/policy_ui_browsertest.cc',
1847           ],
1848         }],
1849         ['enable_web_speech==0', {
1850           'sources/': [
1851             ['exclude', '^browser/speech/'],
1852             ['exclude', '^../content/browser/speech/'],
1853           ],
1854         }],
1855         ['safe_browsing==1', {
1856           'defines': [
1857             'FULL_SAFE_BROWSING',
1858           ],
1859         }],
1860         # TODO(sgurun) enable tests.
1861         ['safe_browsing==2', {
1862           'sources/': [
1863             ['exclude', '^browser/safe_browsing/'],
1864             ['exclude', '^renderer/safe_browsing/'],
1865           ],
1866         }],
1867         ['safe_browsing==0', {
1868           'sources/': [
1869             ['exclude', '^browser/safe_browsing/'],
1870             ['exclude', '^renderer/safe_browsing/'],
1871           ],
1872         }],
1873         ['enable_captive_portal_detection!=1', {
1874           'sources/': [
1875             ['exclude', '^browser/captive_portal/'],
1876           ],
1877         }],
1878         ['enable_webrtc==0', {
1879           'sources!': [
1880             'browser/extensions/api/webrtc_audio_private/webrtc_audio_private_browsertest.cc',
1881             'browser/extensions/api/webrtc_logging_private/webrtc_logging_private_apitest.cc',
1882             'browser/media/chrome_webrtc_browsertest.cc',
1883             'browser/media/chrome_webrtc_disable_encryption_flag_browsertest.cc',
1884             'browser/media/chrome_webrtc_getmediadevices_browsertest.cc',
1885          ],
1886         }],
1887         ['OS=="win"', {
1888           'sources': [
1889             '<(SHARED_INTERMEDIATE_DIR)/chrome_version/other_version.rc',
1890             '<(SHARED_INTERMEDIATE_DIR)/ui/resources/ui_unscaled_resources.rc',
1891           ],
1892           'include_dirs': [
1893             '<(DEPTH)/third_party/wtl/include',
1894           ],
1895           'dependencies': [
1896             'chrome_version_resources',
1897           ],
1898           'conditions': [
1899             ['win_use_allocator_shim==1', {
1900               'dependencies': [
1901                 '<(allocator_target)',
1902               ],
1903             }],
1904           ],
1905         }, { # else: OS != "win"
1906           'sources!': [
1907             'app/chrome_command_ids.h',
1908             'app/chrome_dll.rc',
1909             'app/chrome_dll_resource.h',
1910             'app/chrome_version.rc.version',
1911           ],
1912         }],
1913         ['chromeos==0 and use_aura==1', {
1914           'sources!': [
1915             # On Windows and Linux, we currently don't support enough of the
1916             # ash environment to run these unit tests.
1917             #
1918             # TODO: enable these on windows and linux.
1919             'browser/chromeos/system/tray_accessibility_browsertest.cc',
1920             'browser/ui/ash/accelerator_commands_browsertest.cc',
1921             'browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc',
1922             'browser/ui/ash/launcher/launcher_favicon_loader_browsertest.cc',
1923             'browser/ui/ash/shelf_browsertest.cc',
1924             'browser/ui/views/frame/app_non_client_frame_view_ash_browsertest.cc',
1925             'browser/ui/views/frame/browser_non_client_frame_view_ash_browsertest.cc',
1926           ],
1927         }],
1928         ['OS=="linux"', {
1929           'dependencies': [
1930             '../build/linux/system.gyp:ssl',
1931           ],
1932         }],
1933         ['OS=="mac"', {
1934           # TODO(mark): We really want this for all non-static library
1935           # targets, but when we tried to pull it up to the common.gypi
1936           # level, it broke other things like the ui and startup tests. *shrug*
1937           'xcode_settings': {
1938             'OTHER_LDFLAGS': [
1939               '-Wl,-ObjC',
1940             ],
1941           },
1942           # Other platforms only need
1943           # chrome_resources.gyp:{packed_extra_resources,packed_resources},
1944           # and can build this target standalone much faster.
1945           'dependencies': [
1946             'app_mode_app_support',
1947             'chrome',
1948             '../components/components.gyp:breakpad_stubs',
1949             '../third_party/ocmock/ocmock.gyp:ocmock',
1950           ],
1951           'sources': [
1952             'browser/media_galleries/fileapi/iphoto_data_provider_browsertest.cc',
1953             'browser/renderer_host/chrome_render_widget_host_view_mac_delegate_browsertest.cc',
1954             'browser/renderer_host/chrome_render_widget_host_view_mac_history_swiper_browsertest.mm',
1955             'browser/spellchecker/spellcheck_message_filter_mac_browsertest.cc',
1956           ],
1957           'sources!': [
1958             # TODO(groby): This test depends on hunspell and we cannot run it on
1959             # Mac, which does not use hunspell by default.
1960             'browser/spellchecker/spellcheck_service_browsertest.cc',
1962             # TODO(tapted): Enable toolkit-views browser_tests on Mac when their
1963             # respective implementations are linked in. http://crbug.com/404979.
1964             'browser/ui/views/autofill/autofill_dialog_view_tester_views.cc',
1965             'browser/ui/views/autofill/autofill_popup_base_view_browsertest.cc',
1966             'browser/ui/views/extensions/extension_install_dialog_view_browsertest.cc',
1967             'browser/ui/views/frame/browser_view_browsertest.cc',
1968             'browser/ui/views/location_bar/zoom_bubble_view_browsertest.cc',
1969             'browser/ui/views/profiles/avatar_menu_button_browsertest.cc',
1970             'browser/ui/views/profiles/new_avatar_menu_button_browsertest.cc',
1971             'browser/ui/views/profiles/profile_chooser_view_browsertest.cc',
1972             'browser/ui/views/toolbar/browser_actions_container_browsertest.cc',
1973             'browser/ui/views/translate/translate_bubble_view_browsertest.cc',
1975             # TODO(rouslan): This test depends on the custom dictionary UI,
1976             # which is disabled on Mac.
1977             'browser/ui/webui/options/edit_dictionary_browsertest.js',
1978             # TODO(rouslan): This test depends on hunspell and we cannot run it
1979             # on Mac, which does use hunspell by default.
1980             'browser/ui/webui/options/language_options_dictionary_download_browsertest.js',
1981             # ProcessSingletonMac doesn't do anything.
1982             'browser/process_singleton_browsertest.cc',
1983             # This test depends on GetCommandLineForRelaunch, which is not
1984             # available on Mac.
1985             'browser/printing/cloud_print/test/cloud_print_policy_browsertest.cc',
1986             # single-process mode hangs on Mac sometimes because of multiple UI
1987             # message loops. See 306348
1988             'renderer/safe_browsing/phishing_classifier_browsertest.cc',
1989             'renderer/safe_browsing/phishing_classifier_delegate_browsertest.cc',
1990             'renderer/safe_browsing/phishing_dom_feature_extractor_browsertest.cc',
1991           ],
1992         }],  # OS=="mac"
1993         ['OS=="mac" or OS=="win"', {
1994           'sources': [
1995             'browser/media_galleries/fileapi/itunes_data_provider_browsertest.cc',
1996             'browser/media_galleries/fileapi/picasa_data_provider_browsertest.cc',
1997           ],
1998         }],
1999         ['os_posix == 0 or chromeos == 1', {
2000           'sources!': [
2001             'common/time_format_browsertest.cc',
2002           ],
2003         }],
2004         ['OS=="android"', {
2005           'sources!': [
2006             'browser/policy/cloud/component_cloud_policy_browsertest.cc',
2007             'browser/prefs/pref_hash_browsertest.cc',
2008           ],
2009         }],
2010         ['os_posix == 1 and OS != "mac" and OS != "android"', {
2011           'conditions': [
2012             ['use_allocator!="none"', {
2013               'dependencies': [
2014                 '../base/allocator/allocator.gyp:allocator',
2015               ],
2016             }],
2017           ],
2018         }],
2019         ['OS=="win" or OS == "mac"', {
2020           'dependencies': [
2021             '../components/components.gyp:wifi_test_support',
2022           ],
2023         }],
2024         ['chromeos == 1 or OS=="win" or OS == "mac"', {
2025           'sources': [
2026             'browser/extensions/api/networking_private/networking_private_apitest.cc',
2027           ],
2028         }],
2029         ['toolkit_views==1', {
2030           'dependencies': [
2031             '../ui/views/views.gyp:views',
2032           ],
2033           'sources!': [
2034             # TODO(estade): port to views.
2035             'browser/ui/webui/constrained_web_dialog_ui_browsertest.cc',
2036           ],
2037         }, { # else: toolkit_views == 0
2038           'sources/': [
2039             ['exclude', '^../ui/views/'],
2040             ['exclude', '^browser/ui/views/'],
2041           ],
2042         }],
2043         ['OS!="android" and OS!="ios"', {
2044           'sources': [
2045             'browser/copresence/chrome_whispernet_client_browsertest.cc',
2046           ],
2047           'dependencies': [
2048             '../components/components.gyp:copresence',
2049             # build time dependency.
2050             '../v8/src/d8.gyp:d8#host',
2051           ],
2052         }],
2053         ['OS!="android" and OS!="ios" and OS!="linux"', {
2054           # npapi test plugin doesn't build on android or ios
2055           'dependencies': [
2056             # build time dependency.
2057             '../content/content_shell_and_tests.gyp:copy_npapi_test_plugin',
2058           ],
2059         }],
2060         ['enable_app_list==0', {
2061           'sources/': [
2062             ['exclude', '^browser/apps/drive/'],
2063             ['exclude', '^browser/ui/app_list/'],
2064             ['exclude', '^browser/ui/webui/app_list/'],
2065           ],
2066         }],
2067         ['enable_pepper_cdms==1', {
2068           'dependencies': [
2069             # Runtime dependencies.
2070             '../third_party/widevine/cdm/widevine_cdm.gyp:widevinecdmadapter',
2071             '../media/media.gyp:clearkeycdmadapter',
2072           ],
2073         }],
2074         ['enable_printing!=1', {
2075           'sources/': [
2076             ['exclude', '^browser/extensions/api/cloud_print_private/cloud_print_private_apitest.cc'],
2077             ['exclude', '^browser/printing/cloud_print/test/.*'],
2078             ['exclude', '^browser/printing/print_preview_dialog_controller_browsertest.cc'],
2079             ['exclude', '^browser/printing/print_preview_pdf_generated_browsertest.cc'],
2080             ['exclude', '^browser/service_process/service_process_control_browsertest.cc'],
2081             ['exclude', '^browser/ui/webui/print_preview/print_preview_ui_browsertest.cc'],
2082             ['exclude', '^test/data/webui/print_preview.cc'],
2083             ['exclude', '^test/data/webui/print_preview.h'],
2084             ['exclude', '^test/data/webui/print_preview.js'],
2085           ],
2086         }],
2087         ['enable_printing==0', {
2088           'sources/': [
2089             ['exclude', '^renderer/printing/print_web_view_helper_browsertest.cc'],
2090           ],
2091         }],
2092         ['enable_mdns==1', {
2093           'sources' : [
2094             'browser/ui/webui/local_discovery/local_discovery_ui_browsertest.cc',
2095           ]
2096         }],
2097         [ 'use_brlapi==0', {
2098           'sources!': [
2099             'browser/extensions/api/braille_display_private/braille_display_private_apitest.cc'
2100             ]
2101         }],
2102         ['branding=="Chrome"', {
2103           'sources!': [
2104             # crbug.com/230471
2105             'test/data/webui/accessibility_audit_browsertest.js',
2106             # These tests depend on single process mode, which is disabled in
2107             # official builds.
2108             'renderer/safe_browsing/phishing_classifier_browsertest.cc',
2109             'renderer/safe_browsing/phishing_classifier_delegate_browsertest.cc',
2110             'renderer/safe_browsing/phishing_dom_feature_extractor_browsertest.cc',
2111           ]
2112         }],
2113         ['enable_autofill_dialog!=1 or OS=="android" or OS=="ios"', {
2114           'dependencies!': [
2115             '../third_party/libaddressinput/libaddressinput.gyp:libaddressinput',
2116           ],
2117         }],
2118         ['use_ozone==1', {
2119           'sources!': [
2120             # crbug.com/362698
2121             'browser/chromeos/input_method/input_method_engine_browsertests.cc',
2122             'browser/extensions/api/input_ime/input_ime_apitest_chromeos.cc',
2123           ],
2124         }],
2125         ['remoting==1', {
2126           'dependencies': [
2127             '../remoting/remoting.gyp:remoting_webapp',
2128           ]
2129         }, {
2130           'sources/': [
2131             ['exclude', '^test/remoting'],
2132           ],
2133         }],
2134         ['use_x11==1', {
2135           'dependencies': [
2136             '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck',
2137           ],
2138         }],
2139       ],  # conditions
2140     },  # target browser_tests
2141     {
2142       # Executable that runs each perf browser test in a new process.
2143       'target_name': 'performance_browser_tests',
2144       'type': 'executable',
2145       'dependencies': [
2146         'browser',
2147         'chrome_resources.gyp:chrome_resources',
2148         'chrome_resources.gyp:chrome_strings',
2149         'chrome_resources.gyp:packed_extra_resources',
2150         'chrome_resources.gyp:packed_resources',
2151         'renderer',
2152         'test/perf/perf_test.gyp:*',
2153         'test_support_common',
2154         '../base/base.gyp:base',
2155         '../base/base.gyp:base_i18n',
2156         '../base/base.gyp:test_support_base',
2157         '../media/cast/cast.gyp:cast_test_utility',
2158         '../net/net.gyp:net',
2159         '../net/net.gyp:net_test_support',
2160         '../skia/skia.gyp:skia',
2161         '../sync/sync.gyp:sync',
2162         '../testing/gmock.gyp:gmock',
2163         '../testing/gtest.gyp:gtest',
2164         '../testing/perf/perf_test.gyp:*',
2165         '../third_party/icu/icu.gyp:icui18n',
2166         '../third_party/icu/icu.gyp:icuuc',
2167         '../third_party/leveldatabase/leveldatabase.gyp:leveldatabase',
2168         '../v8/tools/gyp/v8.gyp:v8',
2169         # Runtime dependencies
2170         '../third_party/mesa/mesa.gyp:osmesa',
2171       ],
2172       'include_dirs': [
2173         '..',
2174       ],
2175       'defines': [
2176         'HAS_OUT_OF_PROC_TEST_RUNNER',
2177       ],
2178       'sources': [
2179         '../components/autofill/content/renderer/test_password_autofill_agent.cc',
2180         '../components/autofill/content/renderer/test_password_autofill_agent.h',
2181         '../components/autofill/content/renderer/test_password_generation_agent.cc',
2182         '../components/autofill/content/renderer/test_password_generation_agent.h',
2183         'app/chrome_command_ids.h',
2184         'app/chrome_dll.rc',
2185         'app/chrome_dll_resource.h',
2186         'app/chrome_version.rc.version',
2187         'browser/extensions/api/tab_capture/tab_capture_performancetest.cc',
2188         'browser/extensions/api/cast_streaming/performance_test.cc',
2189         'browser/extensions/browsertest_util.cc',
2190         'browser/extensions/extension_apitest.cc',
2191         'browser/extensions/extension_browsertest.cc',
2192         'browser/extensions/extension_test_notification_observer.cc',
2193         'browser/extensions/updater/extension_cache_fake.h',
2194         'browser/extensions/updater/extension_cache_fake.cc',
2195         'test/base/browser_perf_tests_main.cc',
2196         'test/base/chrome_render_view_test.cc',
2197         'test/base/chrome_render_view_test.h',
2198         'test/perf/browser_perf_test.cc',
2199         'test/perf/browser_perf_test.h',
2200         'test/perf/mach_ports_performancetest.cc',
2201       ],
2202       'rules': [
2203         {
2204           'rule_name': 'js2webui',
2205           'extension': 'js',
2206           'msvs_external_rule': 1,
2207           'inputs': [
2208             '<(gypv8sh)',
2209             '<(PRODUCT_DIR)/d8<(EXECUTABLE_SUFFIX)',
2210             '<(mock_js)',
2211             '<(test_api_js)',
2212             '<(js2gtest)',
2213           ],
2214           'outputs': [
2215             '<(INTERMEDIATE_DIR)/chrome/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_ROOT)-gen.cc',
2216             '<(PRODUCT_DIR)/test_data/chrome/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_ROOT).js',
2217           ],
2218           'process_outputs_as_sources': 1,
2219           'action': [
2220             'python',
2221             '<@(_inputs)',
2222             'webui',
2223             '<(RULE_INPUT_PATH)',
2224             'chrome/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_ROOT).js',
2225             '<@(_outputs)',
2226           ],
2227         },
2228       ],
2229       'conditions': [
2230         ['OS=="win"', {
2231           'sources': [
2232             '<(SHARED_INTERMEDIATE_DIR)/chrome_version/other_version.rc',
2233             '<(SHARED_INTERMEDIATE_DIR)/ui/resources/ui_unscaled_resources.rc',
2234           ],
2235           'include_dirs': [
2236             '<(DEPTH)/third_party/wtl/include',
2237           ],
2238           'dependencies': [
2239             'chrome_version_resources',
2240           ],
2241           'conditions': [
2242             ['win_use_allocator_shim==1', {
2243               'dependencies': [
2244                 '<(allocator_target)',
2245               ],
2246             }],
2247           ],
2248           'configurations': {
2249             'Debug_Base': {
2250               'msvs_settings': {
2251                 'VCLinkerTool': {
2252                   'LinkIncremental': '<(msvs_debug_link_nonincremental)',
2253                 },
2254               },
2255             },
2256           }
2257         }, { # else: OS != "win"
2258           'sources!': [
2259             'app/chrome_command_ids.h',
2260             'app/chrome_dll.rc',
2261             'app/chrome_dll_resource.h',
2262             'app/chrome_version.rc.version',
2263           ],
2264         }],
2265         ['use_x11==1', {
2266           'dependencies': [
2267             '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck',
2268           ],
2269         }],
2270         ['OS=="linux"', {
2271           'dependencies': [
2272             '../build/linux/system.gyp:ssl',
2273           ],
2274         }],
2275         ['OS=="mac"', {
2276           # TODO(mark): We really want this for all non-static library
2277           # targets, but when we tried to pull it up to the common.gypi
2278           # level, it broke other things like the ui and startup tests. *shrug*
2279           'xcode_settings': {
2280             'OTHER_LDFLAGS': [
2281               '-Wl,-ObjC',
2282             ],
2283           },
2284           # Other platforms only need
2285           # chrome_resources.gyp:{packed_extra_resources,packed_resources},
2286           # and can build this target standalone much faster.
2287           'dependencies': [
2288             'chrome',
2289             '../components/components.gyp:breakpad_stubs',
2290           ],
2291         }, {  # OS!="mac"
2292           'sources!': [
2293             'test/perf/mach_ports_performancetest.cc',
2294           ],
2295         }],
2296         ['os_posix == 1 and OS != "mac" and OS != "android"', {
2297           'conditions': [
2298             ['use_allocator!="none"', {
2299               'dependencies': [
2300                 '../base/allocator/allocator.gyp:allocator',
2301               ],
2302             }],
2303           ],
2304         }],
2305       ],  # conditions
2306     },  # target performance_browser_tests
2307     {
2308       'target_name': 'test_support_sync_integration',
2309       'type': 'static_library',
2310       'dependencies': [
2311         'browser',
2312         'chrome',
2313         'test_support_common',
2314         '../base/base.gyp:base',
2315         '../components/components.gyp:invalidation',
2316         '../components/components.gyp:invalidation_test_support',
2317         '../net/net.gyp:net',
2318         '../skia/skia.gyp:skia',
2319         '../sync/sync.gyp:sync',
2320         '../sync/sync.gyp:test_support_sync_testserver',
2321         '../sync/sync.gyp:test_support_sync_fake_server',
2322         '../ui/app_list/app_list.gyp:app_list_test_support',
2323       ],
2324       'include_dirs': [
2325         '..',
2326         '<(INTERMEDIATE_DIR)',
2327         '<(protoc_out_dir)',
2328       ],
2329       'direct_dependent_settings': {
2330         'include_dirs': [
2331           '..',
2332           '<(INTERMEDIATE_DIR)',
2333           '<(protoc_out_dir)',
2334         ],
2335       },
2336       'export_dependent_settings': [
2337         'browser',
2338       ],
2339       'sources': [
2340         'browser/sync/test/integration/apps_helper.cc',
2341         'browser/sync/test/integration/apps_helper.h',
2342         'browser/sync/test/integration/autofill_helper.cc',
2343         'browser/sync/test/integration/autofill_helper.h',
2344         'browser/sync/test/integration/bookmarks_helper.cc',
2345         'browser/sync/test/integration/bookmarks_helper.h',
2346         'browser/sync/test/integration/dictionary_helper.cc',
2347         'browser/sync/test/integration/dictionary_helper.h',
2348         'browser/sync/test/integration/dictionary_load_observer.cc',
2349         'browser/sync/test/integration/dictionary_load_observer.h',
2350         'browser/sync/test/integration/extension_settings_helper.cc',
2351         'browser/sync/test/integration/extension_settings_helper.h',
2352         'browser/sync/test/integration/extensions_helper.cc',
2353         'browser/sync/test/integration/extensions_helper.h',
2354         'browser/sync/test/integration/fake_server_invalidation_service.cc',
2355         'browser/sync/test/integration/fake_server_invalidation_service.h',
2356         'browser/sync/test/integration/migration_waiter.cc',
2357         'browser/sync/test/integration/migration_waiter.h',
2358         'browser/sync/test/integration/migration_watcher.cc',
2359         'browser/sync/test/integration/migration_watcher.h',
2360         'browser/sync/test/integration/multi_client_status_change_checker.cc',
2361         'browser/sync/test/integration/multi_client_status_change_checker.h',
2362         'browser/sync/test/integration/passwords_helper.cc',
2363         'browser/sync/test/integration/passwords_helper.h',
2364         'browser/sync/test/integration/p2p_invalidation_forwarder.cc',
2365         'browser/sync/test/integration/p2p_invalidation_forwarder.h',
2366         'browser/sync/test/integration/preferences_helper.cc',
2367         'browser/sync/test/integration/preferences_helper.h',
2368         'browser/sync/test/integration/profile_sync_service_harness.cc',
2369         'browser/sync/test/integration/profile_sync_service_harness.h',
2370         'browser/sync/test/integration/quiesce_status_change_checker.cc',
2371         'browser/sync/test/integration/quiesce_status_change_checker.h',
2372         'browser/sync/test/integration/retry_verifier.cc',
2373         'browser/sync/test/integration/retry_verifier.h',
2374         'browser/sync/test/integration/search_engines_helper.cc',
2375         'browser/sync/test/integration/search_engines_helper.h',
2376         'browser/sync/test/integration/sessions_helper.cc',
2377         'browser/sync/test/integration/sessions_helper.h',
2378         'browser/sync/test/integration/single_client_status_change_checker.cc',
2379         'browser/sync/test/integration/single_client_status_change_checker.h',
2380         'browser/sync/test/integration/status_change_checker.cc',
2381         'browser/sync/test/integration/status_change_checker.h',
2382         'browser/sync/test/integration/sync_app_helper.cc',
2383         'browser/sync/test/integration/sync_app_helper.h',
2384         'browser/sync/test/integration/sync_app_list_helper.cc',
2385         'browser/sync/test/integration/sync_app_list_helper.h',
2386         'browser/sync/test/integration/sync_datatype_helper.cc',
2387         'browser/sync/test/integration/sync_datatype_helper.h',
2388         'browser/sync/test/integration/sync_extension_helper.cc',
2389         'browser/sync/test/integration/sync_extension_helper.h',
2390         'browser/sync/test/integration/sync_extension_installer.cc',
2391         'browser/sync/test/integration/sync_extension_installer.h',
2392         'browser/sync/test/integration/sync_integration_test_util.cc',
2393         'browser/sync/test/integration/sync_integration_test_util.h',
2394         'browser/sync/test/integration/sync_test.cc',
2395         'browser/sync/test/integration/sync_test.h',
2396         'browser/sync/test/integration/themes_helper.cc',
2397         'browser/sync/test/integration/themes_helper.h',
2398         'browser/sync/test/integration/typed_urls_helper.cc',
2399         'browser/sync/test/integration/typed_urls_helper.h',
2400         'browser/sync/test/integration/updated_progress_marker_checker.cc',
2401         'browser/sync/test/integration/updated_progress_marker_checker.h',
2402       ],
2403       'conditions': [
2404         ['OS=="mac"', {
2405           # Dictionary sync is disabled on Mac.
2406           'sources!': [
2407             'browser/sync/test/integration/dictionary_helper.cc',
2408             'browser/sync/test/integration/dictionary_helper.h',
2409             'browser/sync/test/integration/dictionary_load_observer.cc',
2410             'browser/sync/test/integration/dictionary_load_observer.h',
2411           ],
2412         }],
2413         ['enable_app_list==0', {
2414           'sources!': [
2415             'browser/sync/test/integration/sync_app_list_helper.cc',
2416             'browser/sync/test/integration/sync_app_list_helper.h',
2417           ],
2418         }],
2419       ]
2420     },
2421     {
2422       'target_name': 'sync_integration_tests',
2423       'type': 'executable',
2424       'dependencies': [
2425         'chrome_resources.gyp:chrome_resources',
2426         'chrome_resources.gyp:chrome_strings',
2427         'chrome_resources.gyp:packed_extra_resources',
2428         'chrome_resources.gyp:packed_resources',
2429         'common',
2430         'renderer',
2431         'test_support_common',
2432         'test_support_sync_integration',
2433         '../sync/sync.gyp:sync',
2434         '../testing/gmock.gyp:gmock',
2435         '../testing/gtest.gyp:gtest',
2436         '../third_party/icu/icu.gyp:icui18n',
2437         '../third_party/icu/icu.gyp:icuuc',
2438         '../third_party/leveldatabase/leveldatabase.gyp:leveldatabase',
2439         '../third_party/npapi/npapi.gyp:npapi',
2440         '../third_party/WebKit/public/blink.gyp:blink',
2441       ],
2442       'include_dirs': [
2443         '..',
2444         '<(INTERMEDIATE_DIR)',
2445         '<(protoc_out_dir)',
2446       ],
2447       # TODO(phajdan.jr): Only temporary, to make transition easier.
2448       'defines': [
2449         'HAS_OUT_OF_PROC_TEST_RUNNER',
2450       ],
2451       'sources': [
2452         'app/chrome_command_ids.h',
2453         'app/chrome_dll.rc',
2454         'app/chrome_dll_resource.h',
2455         'app/chrome_version.rc.version',
2456         'test/base/browser_tests_main.cc',
2457         'test/data/resource.rc',
2458         'browser/sync/test/integration/cross_platform_sync_test.cc',
2459         'browser/sync/test/integration/enable_disable_test.cc',
2460         'browser/sync/test/integration/migration_test.cc',
2461         'browser/sync/test/integration/multiple_client_bookmarks_sync_test.cc',
2462         'browser/sync/test/integration/multiple_client_dictionary_sync_test.cc',
2463         'browser/sync/test/integration/multiple_client_passwords_sync_test.cc',
2464         'browser/sync/test/integration/multiple_client_preferences_sync_test.cc',
2465         'browser/sync/test/integration/multiple_client_sessions_sync_test.cc',
2466         'browser/sync/test/integration/multiple_client_typed_urls_sync_test.cc',
2467         'browser/sync/test/integration/passwords_helper.cc',
2468         'browser/sync/test/integration/passwords_helper.h',
2469         'browser/sync/test/integration/preferences_helper.cc',
2470         'browser/sync/test/integration/preferences_helper.h',
2471         'browser/sync/test/integration/search_engines_helper.cc',
2472         'browser/sync/test/integration/search_engines_helper.h',
2473         'browser/sync/test/integration/sessions_helper.cc',
2474         'browser/sync/test/integration/sessions_helper.h',
2475         'browser/sync/test/integration/single_client_app_list_sync_test.cc',
2476         'browser/sync/test/integration/single_client_apps_sync_test.cc',
2477         'browser/sync/test/integration/single_client_backup_rollback_test.cc',
2478         'browser/sync/test/integration/single_client_bookmarks_sync_test.cc',
2479         'browser/sync/test/integration/single_client_dictionary_sync_test.cc',
2480         'browser/sync/test/integration/single_client_extensions_sync_test.cc',
2481         'browser/sync/test/integration/single_client_passwords_sync_test.cc',
2482         'browser/sync/test/integration/single_client_preferences_sync_test.cc',
2483         'browser/sync/test/integration/single_client_search_engines_sync_test.cc',
2484         'browser/sync/test/integration/single_client_sessions_sync_test.cc',
2485         'browser/sync/test/integration/single_client_supervised_user_settings_sync_test.cc',
2486         'browser/sync/test/integration/single_client_themes_sync_test.cc',
2487         'browser/sync/test/integration/single_client_typed_urls_sync_test.cc',
2488         'browser/sync/test/integration/sync_auth_test.cc',
2489         'browser/sync/test/integration/sync_errors_test.cc',
2490         'browser/sync/test/integration/sync_exponential_backoff_test.cc',
2491         'browser/sync/test/integration/two_client_app_list_sync_test.cc',
2492         'browser/sync/test/integration/two_client_apps_sync_test.cc',
2493         'browser/sync/test/integration/two_client_autofill_sync_test.cc',
2494         'browser/sync/test/integration/two_client_bookmarks_sync_test.cc',
2495         'browser/sync/test/integration/two_client_dictionary_sync_test.cc',
2496         'browser/sync/test/integration/two_client_extension_settings_and_app_settings_sync_test.cc',
2497         'browser/sync/test/integration/two_client_extensions_sync_test.cc',
2498         'browser/sync/test/integration/two_client_passwords_sync_test.cc',
2499         'browser/sync/test/integration/two_client_preferences_sync_test.cc',
2500         'browser/sync/test/integration/two_client_search_engines_sync_test.cc',
2501         'browser/sync/test/integration/two_client_sessions_sync_test.cc',
2502         'browser/sync/test/integration/two_client_themes_sync_test.cc',
2503         'browser/sync/test/integration/two_client_typed_urls_sync_test.cc',
2504       ],
2505       'conditions': [
2506         ['OS=="linux"', {
2507           'dependencies': [
2508             '../build/linux/system.gyp:ssl',
2509           ],
2510         }],
2511         ['OS=="mac"', {
2512           # The sync_integration_tests do not run on mac without this flag.
2513           # Search for comments about "xcode_settings" elsewhere in this file.
2514           'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-ObjC']},
2515           # Dictionary sync is disabled on Mac.
2516           'sources!': [
2517             'browser/sync/test/integration/multiple_client_dictionary_sync_test.cc',
2518             'browser/sync/test/integration/single_client_dictionary_sync_test.cc',
2519             'browser/sync/test/integration/two_client_dictionary_sync_test.cc',
2520           ],
2521         }],
2522         ['OS=="win"', {
2523           'sources': [
2524             '<(SHARED_INTERMEDIATE_DIR)/chrome_version/other_version.rc',
2525             '<(SHARED_INTERMEDIATE_DIR)/ui/resources/ui_unscaled_resources.rc',
2526           ],
2527           'include_dirs': [
2528             '<(DEPTH)/third_party/wtl/include',
2529           ],
2530           'dependencies': [
2531             'chrome_version_resources',
2532           ],
2533           'conditions': [
2534             ['win_use_allocator_shim==1', {
2535               'dependencies': [
2536                 '<(allocator_target)',
2537               ],
2538             }],
2539           ],
2540           'configurations': {
2541             'Debug': {
2542               'msvs_settings': {
2543                 'VCLinkerTool': {
2544                   'LinkIncremental': '<(msvs_debug_link_nonincremental)',
2545                 },
2546               },
2547             },
2548           },
2549         }, { # else: OS != "win"
2550           'sources!': [
2551             'app/chrome_dll.rc',
2552             'app/chrome_version.rc.version',
2553             'test/data/resource.rc',
2554           ],
2555         }],
2556         ['toolkit_views==1', {
2557           'dependencies': [
2558             '../ui/views/views.gyp:views',
2559           ],
2560         }],
2561         ['enable_printing!=0', {
2562           'dependencies': [
2563             '../printing/printing.gyp:printing',
2564           ],
2565         }],
2566         ['enable_app_list==0', {
2567           'sources!': [
2568             'browser/sync/test/integration/single_client_app_list_sync_test.cc',
2569             'browser/sync/test/integration/two_client_app_list_sync_test.cc',
2570           ],
2571         }],
2572       ],
2573     },
2574     {
2575       'target_name': 'sync_performance_tests',
2576       'type': 'executable',
2577       'dependencies': [
2578         'test/perf/perf_test.gyp:*',
2579         'test_support_sync_integration',
2580         '../sync/sync.gyp:sync',
2581         '../testing/gmock.gyp:gmock',
2582         '../testing/gtest.gyp:gtest',
2583       ],
2584       'include_dirs': [
2585         '..',
2586         '<(INTERMEDIATE_DIR)',
2587         '<(protoc_out_dir)',
2588       ],
2589       'defines': [
2590         'HAS_OUT_OF_PROC_TEST_RUNNER',
2591       ],
2592       'sources': [
2593         'app/chrome_command_ids.h',
2594         'app/chrome_dll.rc',
2595         'app/chrome_dll_resource.h',
2596         'app/chrome_version.rc.version',
2597         'browser/sync/test/integration/performance/autofill_sync_perf_test.cc',
2598         'browser/sync/test/integration/performance/bookmarks_sync_perf_test.cc',
2599         'browser/sync/test/integration/performance/dictionary_sync_perf_test.cc',
2600         'browser/sync/test/integration/performance/extensions_sync_perf_test.cc',
2601         'browser/sync/test/integration/performance/sync_timing_helper.cc',
2602         'browser/sync/test/integration/performance/sync_timing_helper.h',
2603         'browser/sync/test/integration/performance/passwords_sync_perf_test.cc',
2604         'browser/sync/test/integration/performance/sessions_sync_perf_test.cc',
2605         'browser/sync/test/integration/performance/typed_urls_sync_perf_test.cc',
2606         'test/base/browser_perf_tests_main.cc',
2607         'test/data/resource.rc',
2608       ],
2609       'conditions': [
2610         ['OS=="linux"', {
2611           'dependencies': [
2612             '../build/linux/system.gyp:ssl',
2613           ],
2614         }],
2615         ['OS=="mac"', {
2616           # The sync_performance_tests do not run on mac without this flag.
2617           # Search for comments about "xcode_settings" elsewhere in this file.
2618           'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-ObjC']},
2619           # Dictionary sync is disabled on Mac.
2620           'sources!': [
2621             'browser/sync/test/integration/performance/dictionary_sync_perf_test.cc',
2622           ],
2623         }],
2624         ['OS=="win"', {
2625           'sources': [
2626             '<(SHARED_INTERMEDIATE_DIR)/chrome_version/other_version.rc',
2627           ],
2628           'include_dirs': [
2629             '<(DEPTH)/third_party/wtl/include',
2630           ],
2631           'dependencies': [
2632             'chrome_version_resources',
2633           ],
2634           'conditions': [
2635             ['win_use_allocator_shim==1', {
2636               'dependencies': [
2637                 '<(allocator_target)',
2638               ],
2639             }],
2640           ],
2641           'configurations': {
2642             'Debug': {
2643               'msvs_settings': {
2644                 'VCLinkerTool': {
2645                   'LinkIncremental': '<(msvs_debug_link_nonincremental)',
2646                 },
2647               },
2648             },
2649           },
2650         }, { # else: OS != "win"
2651           'sources!': [
2652             'app/chrome_dll.rc',
2653             'app/chrome_version.rc.version',
2654             'test/data/resource.rc',
2655           ],
2656         }],
2657         ['toolkit_views==1', {
2658           'dependencies': [
2659             '../ui/views/views.gyp:views',
2660           ],
2661         }],
2662       ],
2663     },
2664     {
2665       # Executable to measure time to load libraries.
2666       'target_name': 'load_library_perf_tests',
2667       'type': '<(gtest_target_type)',
2668       'dependencies': [
2669         '../base/base.gyp:test_support_perf',
2670         '../testing/gtest.gyp:gtest',
2671         '../testing/perf/perf_test.gyp:*',
2672         '../third_party/widevine/cdm/widevine_cdm.gyp:widevine_cdm_version_h',
2673       ],
2674       'sources': [
2675         'browser/load_library_perf_test.cc',
2676       ],
2677       'include_dirs': [
2678         '..',
2679         '<(SHARED_INTERMEDIATE_DIR)',
2680       ],
2681       'conditions': [
2682         ['enable_pepper_cdms==1', {
2683           'dependencies': [
2684             # Runtime dependencies.
2685             '../media/media.gyp:clearkeycdmadapter',
2686             '../third_party/widevine/cdm/widevine_cdm.gyp:widevinecdmadapter',
2687           ],
2688         }],
2689       ],
2690     },  # target 'load_library_perf_tests'
2691     # temporary target to keep cros compiling until it removes references to pyauto
2692     {
2693       'target_name': 'pyautolib',
2694       'type': 'none',
2695       'dependencies': [
2696         '../base/base.gyp:base',
2697         '../base/base.gyp:run_all_unittests',
2698         '../testing/gtest.gyp:gtest',
2699       ],
2700       'include_dirs': [
2701         '..,'
2702       ],
2703     },
2704   ],
2705   'conditions': [
2706     ['OS!="mac"', {
2707       'targets': [
2708         {
2709           'target_name': 'perf_tests',
2710           'type': 'executable',
2711           'dependencies': [
2712             'browser',
2713             'chrome_resources.gyp:chrome_resources',
2714             'chrome_resources.gyp:chrome_strings',
2715             'common',
2716             'renderer',
2717             '../content/content.gyp:content_gpu',
2718             '../content/content_shell_and_tests.gyp:test_support_content',
2719             '../base/base.gyp:base',
2720             '../base/base.gyp:test_support_base',
2721             '../base/base.gyp:test_support_perf',
2722             '../skia/skia.gyp:skia',
2723             '../testing/gtest.gyp:gtest',
2724           ],
2725           'sources': [
2726             'test/perf/perftests.cc',
2727             'test/perf/url_parse_perftest.cc',
2728             '../content/browser/net/sqlite_persistent_cookie_store_perftest.cc',
2729           ],
2730           'conditions': [
2731             ['use_x11==1', {
2732               'dependencies': [
2733                 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck',
2734               ],
2735             }],
2736             ['OS=="win"', {
2737               'configurations': {
2738                 'Debug_Base': {
2739                   'msvs_settings': {
2740                     'VCLinkerTool': {
2741                       'LinkIncremental': '<(msvs_large_module_debug_link_mode)',
2742                     },
2743                   },
2744                 },
2745               },
2746               'conditions': [
2747                 ['win_use_allocator_shim==1', {
2748                   'dependencies': [
2749                     '<(allocator_target)',
2750                   ],
2751                 }],
2752               ],
2753             }],
2754             ['toolkit_views==1', {
2755               'dependencies': [
2756                 '../ui/views/views.gyp:views',
2757               ],
2758             }],
2759             ['os_posix == 1 and OS != "mac" and OS != "android"', {
2760               'conditions': [
2761                 ['use_allocator!="none"', {
2762                   'dependencies': [
2763                     '../base/allocator/allocator.gyp:allocator',
2764                   ],
2765                 }],
2766               ],
2767             }],
2768             ['OS=="linux" and enable_webrtc==1', {
2769               'dependencies': [
2770                 '../third_party/libjingle/libjingle.gyp:libpeerconnection',
2771               ],
2772             }],
2773           ],
2774         },
2775       ],
2776     },],  # OS!="mac"
2777     ['OS == "android"', {
2778       'targets': [
2779         {
2780           'target_name': 'chrome_shell_test_apk',
2781           'type': 'none',
2782           'dependencies': [
2783             'chrome_java',
2784             'chrome_shell_apk_java',
2785             'chrome_java_test_support',
2786             '../base/base.gyp:base',
2787             '../base/base.gyp:base_java_test_support',
2788             '../content/content_shell_and_tests.gyp:content_java_test_support',
2789             '../sync/sync.gyp:sync_javatests',
2790           ],
2791           'variables': {
2792             'apk_name': 'ChromeShellTest',
2793             'java_in_dir': 'android/shell/javatests',
2794             'additional_src_dirs': ['android/javatests/src'],
2795             'is_test_apk': 1,
2796           },
2797           'includes': [ '../build/java_apk.gypi' ],
2798         },
2799         {
2800           'target_name': 'chromedriver_webview_shell_apk',
2801           'type': 'none',
2802           'variables': {
2803             'apk_name': 'ChromeDriverWebViewShell',
2804             'java_in_dir': 'test/chromedriver/test/webview_shell/java',
2805             'resource_dir': 'test/chromedriver/test/webview_shell/java/res',
2806           },
2807           'includes': [ '../build/java_apk.gypi' ],
2808         },
2809         {
2810           'target_name': 'chrome_shell_uiautomator_tests_java',
2811           'type': 'none',
2812           'variables': {
2813             'java_in_dir': 'android/uiautomator_tests',
2814           },
2815           'dependencies': [
2816             '../base/base.gyp:base_java_test_support',
2817             '../third_party/android_tools/android_tools.gyp:uiautomator_jar',
2818           ],
2819           'includes': [ '../build/java.gypi' ],
2820         },
2821         {
2822           'target_name': 'chrome_shell_uiautomator_tests',
2823           'type': 'none',
2824           'dependencies': [
2825             'chrome_shell_uiautomator_tests_java',
2826           ],
2827           'includes': [ '../build/uiautomator_test.gypi' ],
2828         },
2829         {
2830           'target_name': 'chrome_sync_shell_test_apk',
2831           'type': 'none',
2832           'dependencies': [
2833             'chrome_java',
2834             'chrome_sync_shell_apk_java',
2835             'chrome_java_test_support',
2836             '../base/base.gyp:base',
2837             '../base/base.gyp:base_java_test_support',
2838             '../content/content_shell_and_tests.gyp:content_java_test_support',
2839           ],
2840           'variables': {
2841             'apk_name': 'ChromeSyncShellTest',
2842             'java_in_dir': 'android/sync_shell/javatests',
2843             'additional_src_dirs': [ 'android/shell/javatests', ],
2844             'is_test_apk': 1,
2845           },
2846           'includes': [ '../build/java_apk.gypi' ],
2847         },
2848         {
2849           'target_name': 'chrome_java_test_support',
2850           'type': 'none',
2851           'variables': {
2852             'java_in_dir': '../chrome/test/android/javatests',
2853           },
2854           'dependencies': [
2855             'chrome_java',
2856             '../content/content_shell_and_tests.gyp:content_java_test_support',
2857             '../sync/sync.gyp:sync_java',
2858             '../sync/sync.gyp:sync_java_test_support',
2859           ],
2860           'includes': [ '../build/java.gypi' ],
2861         },
2862       ],
2863     }],
2864     ['test_isolation_mode != "noop"', {
2865       'targets': [
2866         {
2867           'target_name': 'browser_tests_run',
2868           'type': 'none',
2869           'dependencies': [
2870             '../content/content_shell_and_tests.gyp:copy_test_netscape_plugin',
2871             'browser_tests',
2872             'chrome',
2873           ],
2874           'includes': [
2875             '../build/isolate.gypi',
2876             'browser_tests.isolate',
2877           ],
2878           'sources': [
2879             'browser_tests.isolate',
2880           ],
2881           'conditions': [
2882             ['use_x11==1', {
2883               'dependencies': [
2884                 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck',
2885               ],
2886             }],
2887           ],
2888         },
2889         {
2890           'target_name': 'interactive_ui_tests_run',
2891           'type': 'none',
2892           'dependencies': [
2893             'interactive_ui_tests',
2894           ],
2895           'conditions': [
2896             ['use_x11 == 1', {
2897               'dependencies': [
2898                 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck',
2899               ],
2900             }],
2901           ],
2902           'includes': [
2903             '../build/isolate.gypi',
2904             'interactive_ui_tests.isolate',
2905           ],
2906           'sources': [
2907             'interactive_ui_tests.isolate',
2908           ],
2909         },
2910         {
2911           'target_name': 'sync_integration_tests_run',
2912           'type': 'none',
2913           'dependencies': [
2914             'sync_integration_tests',
2915           ],
2916           'conditions': [
2917             ['use_x11 == 1', {
2918               'dependencies': [
2919                 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck',
2920               ],
2921             }],
2922           ],
2923           'includes': [
2924             '../build/isolate.gypi',
2925             'sync_integration_tests.isolate',
2926           ],
2927           'sources': [
2928             'sync_integration_tests.isolate',
2929           ],
2930         },
2931       ],
2932       'conditions': [
2933         ['archive_gpu_tests==1', {
2934           'targets': [
2935             {
2936               'target_name': 'angle_unittests_run',
2937               'type': 'none',
2938               'dependencies': [
2939                 '../gpu/gpu.gyp:angle_unittests',
2940               ],
2941               'includes': [
2942                 '../build/isolate.gypi',
2943                 'angle_unittests.isolate',
2944               ],
2945               'sources': [
2946                 'angle_unittests.isolate',
2947               ],
2948             },
2949             {
2950               'target_name': 'content_gl_tests_run',
2951               'type': 'none',
2952               'dependencies': [
2953                 '../content/content_shell_and_tests.gyp:content_gl_tests',
2954                 'chrome_run',
2955               ],
2956               'includes': [
2957                 '../build/isolate.gypi',
2958                 'content_gl_tests.isolate',
2959               ],
2960               'sources': [
2961                 'content_gl_tests.isolate',
2962               ],
2963             },
2964             {
2965               'target_name': 'gl_tests_run',
2966               'type': 'none',
2967               'dependencies': [
2968                 '../gpu/gpu.gyp:gl_tests',
2969               ],
2970               'includes': [
2971                 '../build/isolate.gypi',
2972                 'gl_tests.isolate',
2973               ],
2974               'sources': [
2975                 'gl_tests.isolate',
2976               ],
2977             },
2978             {
2979               'target_name': 'tab_capture_end2end_tests_run',
2980               'type': 'none',
2981               'dependencies': [
2982                 'browser_tests_run',
2983               ],
2984               'includes': [
2985                 '../build/isolate.gypi',
2986                 'tab_capture_end2end_tests.isolate',
2987               ],
2988               'sources': [
2989                 'tab_capture_end2end_tests.isolate',
2990               ],
2991             },
2992             {
2993               'target_name': 'telemetry_gpu_test_run',
2994               'type': 'none',
2995               'dependencies': [
2996                 'chrome_run',
2997                 '../tools/telemetry/telemetry.gyp:bitmaptools#host',
2998               ],
2999               'includes': [
3000                 '../build/isolate.gypi',
3001                 'telemetry_gpu_test.isolate',
3002               ],
3003               'sources': [
3004                 'telemetry_gpu_test.isolate',
3005               ],
3006             },
3007             {
3008               'target_name': 'gpu_unittests_run',
3009               'type': 'none',
3010               'dependencies': [
3011                 '../gpu/gpu.gyp:gpu_unittests',
3012               ],
3013               'includes': [
3014                 '../build/isolate.gypi',
3015                 'gpu_unittests.isolate',
3016               ],
3017               'sources': [
3018                 'gpu_unittests.isolate',
3019               ],
3020             },
3021           ],
3022           'conditions': [
3023             ['internal_gles2_conform_tests==1', {
3024               'targets': [
3025                 {
3026                   'target_name': 'gles2_conform_test_run',
3027                   'type': 'none',
3028                   'dependencies': [
3029                     '../gpu/gles2_conform_support/gles2_conform_test.gyp:gles2_conform_test',
3030                   ],
3031                   'includes': [
3032                     '../build/isolate.gypi',
3033                     'gles2_conform_test.isolate',
3034                   ],
3035                   'sources': [
3036                     'gles2_conform_test.isolate',
3037                   ],
3038                 },
3039               ],
3040             }],
3041           ],
3042         }],
3043       ],
3044     }],
3045     [ 'enable_mdns == 1', {
3046       'targets': [{
3047           'target_name': 'service_discovery_sniffer',
3048           'type': 'executable',
3049           'dependencies': [
3050             '../net/net.gyp:net',
3051             '../base/base.gyp:base',
3052             '../base/base.gyp:test_support_base',
3053             'utility',
3054           ],
3055           'sources': [
3056             'tools/service_discovery_sniffer/service_discovery_sniffer.h',
3057             'tools/service_discovery_sniffer/service_discovery_sniffer.cc',
3058           ],
3059           'conditions': [
3060             ['enable_webrtc==1', {
3061               'dependencies': [
3062                 '../third_party/libjingle/libjingle.gyp:libjingle_webrtc'
3063               ]
3064             }],
3065           ],
3066         }]
3067     }],
3068   ],  # 'conditions'