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