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