# Copyright 2013 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. { 'includes': [ 'js_unittest_vars.gypi', ], 'targets': [ { 'target_name': 'interactive_ui_tests', 'type': 'executable', 'dependencies': [ '../google_apis/google_apis.gyp:google_apis_test_support', '../net/net.gyp:net', '../net/net.gyp:net_resources', '../net/net.gyp:net_test_support', '../ppapi/ppapi_internal.gyp:ppapi_tests', '../skia/skia.gyp:skia', '../sync/sync.gyp:sync', '../testing/gmock.gyp:gmock', '../testing/gtest.gyp:gtest', '../third_party/hunspell/hunspell.gyp:hunspell', '../third_party/icu/icu.gyp:icui18n', '../third_party/icu/icu.gyp:icuuc', '../third_party/libpng/libpng.gyp:libpng', '../third_party/npapi/npapi.gyp:npapi', '../third_party/zlib/zlib.gyp:zlib', '../ui/base/ui_base.gyp:ui_base_test_support', '../ui/web_dialogs/web_dialogs.gyp:web_dialogs_test_support', '../webkit/webkit_resources.gyp:webkit_resources', 'browser', 'chrome_resources.gyp:chrome_resources', 'chrome_resources.gyp:chrome_strings', 'chrome_resources.gyp:packed_extra_resources', 'chrome_resources.gyp:packed_resources', 'debugger', 'renderer', 'test_support_common', ], 'include_dirs': [ '..', ], 'defines': [ 'HAS_OUT_OF_PROC_TEST_RUNNER', ], 'sources': [ '../apps/app_shim/app_shim_interactive_uitest_mac.mm', '../apps/app_shim/app_shim_quit_interactive_uitest_mac.mm', '../apps/app_window_interactive_uitest.cc', '../ui/base/clipboard/clipboard_unittest.cc', '../ui/views/controls/webview/webview_interactive_uitest.cc', '../ui/views/corewm/desktop_capture_controller_unittest.cc', '../ui/views/widget/widget_interactive_uitest.cc', 'browser/apps/app_browsertest_util.cc', 'browser/apps/app_browsertest_util.h', 'browser/apps/app_pointer_lock_interactive_uitest.cc', 'browser/apps/app_window_interactive_uitest.cc', 'browser/apps/web_view_interactive_browsertest.cc', 'browser/autofill/autofill_interactive_uitest.cc', 'browser/browser_keyevents_browsertest.cc', 'browser/extensions/api/extension_action/browser_action_interactive_test.cc', 'browser/extensions/api/omnibox/omnibox_api_interactive_test.cc', 'browser/extensions/api/tabs/tabs_interactive_test.cc', 'browser/extensions/browsertest_util.cc', 'browser/extensions/extension_apitest.cc', 'browser/extensions/extension_browsertest.cc', 'browser/extensions/extension_test_notification_observer.cc', 'browser/extensions/extension_crash_recovery_browsertest.cc', 'browser/extensions/extension_fullscreen_apitest.cc', 'browser/extensions/extension_function_test_utils.cc', 'browser/extensions/extension_commands_global_registry_apitest.cc', 'browser/extensions/extension_keybinding_apitest.cc', 'browser/extensions/notifications_apitest.cc', 'browser/extensions/updater/extension_cache_fake.h', 'browser/extensions/updater/extension_cache_fake.cc', 'browser/extensions/window_open_interactive_apitest.cc', 'browser/mouseleave_browsertest.cc', 'browser/notifications/notification_browsertest.cc', 'browser/plugins/npapi_infobar_browsertest.cc', 'browser/password_manager/password_generation_interactive_uitest.cc', 'browser/renderer_context_menu/render_view_context_menu_browsertest_util.cc', 'browser/renderer_context_menu/render_view_context_menu_browsertest_util.h', 'browser/task_manager/task_manager_browsertest_util.cc', 'browser/ui/app_list/app_list_service_interactive_uitest.cc', 'browser/ui/app_list/app_list_service_mac_interactive_uitest.mm', 'browser/ui/autofill/autofill_popup_controller_interactive_uitest.cc', 'browser/ui/browser_focus_uitest.cc', 'browser/ui/cocoa/apps/quit_with_apps_controller_mac_interactive_uitest.cc', 'browser/ui/cocoa/panels/panel_cocoa_browsertest.mm', 'browser/ui/find_bar/find_bar_host_interactive_uitest.cc', 'browser/ui/fullscreen/fullscreen_controller_interactive_browsertest.cc', 'browser/ui/fullscreen/fullscreen_controller_state_interactive_browsertest.cc', 'browser/ui/omnibox/omnibox_view_browsertest.cc', 'browser/ui/panels/base_panel_browser_test.cc', 'browser/ui/panels/base_panel_browser_test.h', 'browser/ui/panels/detached_panel_browsertest.cc', 'browser/ui/panels/docked_panel_browsertest.cc', 'browser/ui/panels/panel_browsertest.cc', 'browser/ui/panels/panel_drag_browsertest.cc', 'browser/ui/panels/panel_resize_browsertest.cc', 'browser/ui/panels/stacked_panel_browsertest.cc', 'browser/ui/panels/test_panel_active_state_observer.cc', 'browser/ui/panels/test_panel_active_state_observer.h', 'browser/ui/panels/test_panel_mouse_watcher.cc', 'browser/ui/panels/test_panel_mouse_watcher.h', 'browser/ui/panels/test_panel_notification_observer.cc', 'browser/ui/panels/test_panel_notification_observer.h', 'browser/ui/panels/test_panel_collection_squeeze_observer.cc', 'browser/ui/panels/test_panel_collection_squeeze_observer.h', 'browser/ui/search/instant_extended_interactive_uitest.cc', 'browser/ui/search/instant_extended_manual_interactive_uitest.cc', 'browser/ui/search/instant_test_utils.h', 'browser/ui/search/instant_test_utils.cc', 'browser/ui/search/local_ntp_browsertest.cc', 'browser/ui/startup/startup_browser_creator_interactive_uitest.cc', 'browser/ui/toolbar/test_toolbar_model.cc', 'browser/ui/toolbar/test_toolbar_model.h', 'browser/ui/views/ash/tab_scrubber_browsertest.cc', 'browser/ui/views/bookmarks/bookmark_bar_view_test.cc', 'browser/ui/views/constrained_window_views_browsertest.cc', 'browser/ui/views/find_bar_controller_interactive_uitest.cc', 'browser/ui/views/find_bar_host_interactive_uitest.cc', 'browser/ui/views/frame/browser_view_focus_uitest.cc', 'browser/ui/views/frame/browser_view_interactive_uitest.cc', 'browser/ui/views/keyboard_access_browsertest.cc', 'browser/ui/views/location_bar/star_view_browsertest.cc', 'browser/ui/views/menu_controller_interactive_uitest.cc', 'browser/ui/views/menu_item_view_interactive_uitest.cc', 'browser/ui/views/menu_test_base.cc', 'browser/ui/views/menu_test_base.h', 'browser/ui/views/menu_model_adapter_test.cc', 'browser/ui/views/message_center/web_notification_tray_browsertest.cc', 'browser/ui/views/omnibox/omnibox_view_views_browsertest.cc', 'browser/ui/views/panels/panel_view_browsertest.cc', 'browser/ui/views/passwords/manage_passwords_view_test.cc', 'browser/ui/views/passwords/manage_passwords_view_test.h', 'browser/ui/views/passwords/manage_passwords_bubble_view_browsertest.cc', 'browser/ui/views/passwords/manage_passwords_icon_view_browsertest.cc', 'browser/ui/views/ssl_client_certificate_selector_browsertest.cc', 'browser/ui/views/status_icons/status_tray_state_changer_interactive_uitest_win.cc', 'browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc', 'browser/ui/views/tabs/tab_drag_controller_interactive_uitest.h', 'browser/ui/views/tabs/tab_drag_controller_interactive_uitest_win.cc', 'browser/ui/views/toolbar/toolbar_button_test.cc', 'test/base/interactive_test_utils.cc', 'test/base/interactive_test_utils.h', 'test/base/interactive_test_utils_aura.cc', 'test/base/interactive_test_utils_aura.h', 'test/base/interactive_test_utils_mac.mm', 'test/base/interactive_test_utils_views.cc', 'test/base/interactive_test_utils_win.cc', 'test/base/interactive_ui_tests_main.cc', 'test/base/view_event_test_base.cc', 'test/base/view_event_test_base.h', 'test/ppapi/ppapi_interactive_browsertest.cc', ], 'conditions': [ ['use_x11==1', { 'dependencies': [ '../build/linux/system.gyp:xtst', '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', ], }], ['OS=="linux" and use_aura==1', { # TODO(gbillock): aura linux does not support the automation for # SendMouseMoveNotifyWhenDone 'sources!': [ 'browser/ui/views/toolbar/toolbar_button_test.cc', ], }], ['OS=="linux"', { 'dependencies': [ '../build/linux/system.gyp:ssl', ], }], ['OS=="linux" and chromeos==0', { 'sources!': [ # TODO(port): Disable all the interactive panel tests on all linux # platforms. These are badly busted on linux_aura, also time out # when run under openbox. # # Merge this back into the next block post switch to linux_aura. 'browser/ui/panels/base_panel_browser_test.cc', 'browser/ui/panels/base_panel_browser_test.h', 'browser/ui/panels/detached_panel_browsertest.cc', 'browser/ui/panels/docked_panel_browsertest.cc', 'browser/ui/panels/panel_browsertest.cc', 'browser/ui/panels/panel_drag_browsertest.cc', 'browser/ui/panels/panel_resize_browsertest.cc', 'browser/ui/panels/stacked_panel_browsertest.cc', 'browser/ui/views/panels/panel_view_browsertest.cc', ], }], ['OS=="linux" and use_aura==1 and chromeos==0', { 'sources!': [ # TODO(port): Everything here times out. Attempts have been made to # fix the individual failures, but each time I disable a test from # these suites, it seems like one or another starts timing out too. 'browser/ui/omnibox/omnibox_view_browsertest.cc', 'browser/extensions/api/tabs/tabs_interactive_test.cc', 'browser/ui/views/keyboard_access_browsertest.cc', ], }], ['use_ash==1', { 'sources': [ '../ash/drag_drop/drag_drop_interactive_uitest.cc', '../ash/wm/ash_native_cursor_manager_interactive_uitest.cc', 'browser/ui/window_sizer/window_sizer_ash_uitest.cc', ], }], ['OS=="mac"', { 'sources!': [ # TODO(port) 'browser/ui/views/bookmarks/bookmark_bar_view_test.cc', 'browser/ui/views/constrained_window_views_browsertest.cc', 'browser/ui/views/find_bar_host_interactive_uitest.cc', 'browser/ui/views/keyboard_access_browsertest.cc', 'browser/ui/views/menu_item_view_test.cc', 'browser/ui/views/menu_model_adapter_test.cc', 'browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc', 'test/base/view_event_test_base.cc', 'test/base/view_event_test_base.h', ], 'dependencies': [ 'chrome' ], # See comment about the same line in chrome/chrome_tests.gypi. 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-ObjC']}, }], # OS=="mac" ['notifications==0', { 'sources/': [ ['exclude', '^browser/notifications/'], ['exclude', '^browser/extensions/notifications_apitest.cc'], ], }], ['toolkit_views==1', { 'dependencies': [ '../ui/views/controls/webview/webview_tests.gyp:webview_test_support', '../ui/views/views.gyp:views', '../ui/views/views.gyp:views_test_support', ], }, { # else: toolkit_views == 0 'sources/': [ ['exclude', '^browser/ui/views/'], ['exclude', '^../ui/views/'], ], }], ['use_ash==1', { 'dependencies': [ '../ash/ash.gyp:ash_test_support', ], }], ['use_aura==1', { 'sources!': [ 'browser/ui/views/tabs/tab_drag_controller_interactive_uitest_win.cc', ], }], ['use_aura==0 or chromeos==1', { 'sources!': [ '../ui/views/corewm/desktop_capture_controller_unittest.cc', ], }], ['chromeos==1', { 'dependencies': [ '../ash/ash_resources.gyp:ash_resources', '../chromeos/chromeos.gyp:chromeos', ], 'conditions': [ ['disable_nacl==0 and disable_nacl_untrusted==0', { 'dependencies': [ '../native_client/src/trusted/service_runtime/linux/nacl_bootstrap.gyp:nacl_helper_bootstrap', '../components/nacl.gyp:nacl_helper', ], }], ], 'sources': [ 'browser/chromeos/accessibility/speech_monitor.cc', 'browser/chromeos/accessibility/speech_monitor.h', 'browser/chromeos/accessibility/spoken_feedback_browsertest.cc', 'browser/chromeos/accessibility/sticky_keys_browsertest.cc', 'browser/chromeos/input_method/textinput_browsertest.cc', 'browser/chromeos/input_method/textinput_surroundingtext_browsertest.cc', 'browser/chromeos/input_method/textinput_test_helper.cc', 'browser/chromeos/input_method/textinput_test_helper.h', 'browser/chromeos/login/eula_browsertest.cc', 'browser/chromeos/login/lock/screen_locker_browsertest.cc', 'browser/chromeos/login/lock/screen_locker_tester.cc', 'browser/chromeos/login/lock/screen_locker_tester.h', 'browser/chromeos/login/login_browsertest.cc', 'browser/chromeos/login/login_manager_test.cc', 'browser/chromeos/login/login_manager_test.h', 'browser/chromeos/login/login_ui_browsertest.cc', 'browser/chromeos/login/oobe_browsertest.cc', 'browser/chromeos/login/users/wallpaper/wallpaper_manager_browsertest.cc', 'browser/chromeos/login/users/wallpaper/wallpaper_manager_test_utils.cc', 'browser/chromeos/login/users/wallpaper/wallpaper_manager_test_utils.h', 'test/data/chromeos/service_login.html', ], 'sources!': [ # chromeos does not use cross-platform panels 'browser/notifications/notification_browsertest.cc', 'browser/ui/panels/detached_panel_browsertest.cc', 'browser/ui/panels/docked_panel_browsertest.cc', 'browser/ui/panels/panel_browsertest.cc', 'browser/ui/panels/panel_drag_browsertest.cc', 'browser/ui/panels/panel_resize_browsertest.cc', 'browser/ui/panels/stacked_panel_browsertest.cc', 'browser/ui/views/message_center/web_notification_tray_browsertest.cc', 'browser/ui/views/panels/panel_view_browsertest.cc', ], }], ['OS=="win"', { 'include_dirs': [ '../third_party/wtl/include', ], 'dependencies': [ '../third_party/isimpledom/isimpledom.gyp:isimpledom', '../ui/resources/ui_resources.gyp:ui_resources', 'chrome.gyp:chrome_version_resources', ], 'sources': [ '../ui/resources/cursors/aliasb.cur', '../ui/resources/cursors/cell.cur', '../ui/resources/cursors/col_resize.cur', '../ui/resources/cursors/copy.cur', '../ui/resources/cursors/none.cur', '../ui/resources/cursors/row_resize.cur', '../ui/resources/cursors/vertical_text.cur', '../ui/resources/cursors/zoom_in.cur', '../ui/resources/cursors/zoom_out.cur', 'app/chrome_dll.rc', 'test/data/resource.rc', # TODO: It would be nice to have these pulled in # automatically from direct_dependent_settings in # their various targets (net.gyp:net_resources, etc.), # but that causes errors in other targets when # resulting .res files get referenced multiple times. '<(SHARED_INTERMEDIATE_DIR)/chrome_version/other_version.rc', '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources/ui_unscaled_resources.rc', 'browser/ui/views/accessibility/browser_views_accessibility_browsertest.cc', ], 'conditions': [ ['win_use_allocator_shim==1', { 'dependencies': [ '../base/allocator/allocator.gyp:allocator', ], }], ['use_aura==1', { 'sources!': [ 'browser/ui/views/accessibility/browser_views_accessibility_browsertest.cc', ], }], ], 'msvs_settings': { 'VCLinkerTool': { 'conditions': [ ['incremental_chrome_dll==1', { 'UseLibraryDependencyInputs': "true", }], ], }, }, # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 'msvs_disabled_warnings': [ 4267, ], }], # OS != "win" ['enable_app_list==0', { 'sources/': [ ['exclude', '^browser/ui/app_list/'], ], }], ], # conditions }, { 'target_name': 'automation_client_lib', 'type': 'static_library', 'hard_dependency': 1, 'dependencies': [ '../base/base.gyp:base', '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations', '../net/net.gyp:net', '../third_party/zlib/zlib.gyp:minizip', '../third_party/zlib/zlib.gyp:zlib', '../ui/accessibility/accessibility.gyp:ax_gen', '../ui/base/ui_base.gyp:ui_base', '../ui/gfx/gfx.gyp:gfx', '../ui/gfx/gfx.gyp:gfx_geometry', '../url/url.gyp:url_lib', ], 'include_dirs': [ '..', '<(SHARED_INTERMEDIATE_DIR)', ], 'direct_dependent_settings': { 'include_dirs': [ '<(SHARED_INTERMEDIATE_DIR)', ], }, 'sources': [ '<(SHARED_INTERMEDIATE_DIR)/chrome/test/chromedriver/chrome/js.cc', '<(SHARED_INTERMEDIATE_DIR)/chrome/test/chromedriver/chrome/js.h', '<(SHARED_INTERMEDIATE_DIR)/chrome/test/chromedriver/chrome/user_data_dir.cc', '<(SHARED_INTERMEDIATE_DIR)/chrome/test/chromedriver/chrome/user_data_dir.h', '<(SHARED_INTERMEDIATE_DIR)/chrome/test/chromedriver/chrome/embedded_automation_extension.cc', '<(SHARED_INTERMEDIATE_DIR)/chrome/test/chromedriver/chrome/embedded_automation_extension.h', '<(SHARED_INTERMEDIATE_DIR)/chrome/test/chromedriver/chrome/mobile_device_list.cc', '<(SHARED_INTERMEDIATE_DIR)/chrome/test/chromedriver/chrome/mobile_device_list.h', 'test/chromedriver/chrome/adb.h', 'test/chromedriver/chrome/adb_impl.cc', 'test/chromedriver/chrome/adb_impl.h', 'test/chromedriver/chrome/automation_extension.cc', 'test/chromedriver/chrome/automation_extension.h', 'test/chromedriver/chrome/chrome.h', 'test/chromedriver/chrome/chrome_android_impl.cc', 'test/chromedriver/chrome/chrome_android_impl.h', 'test/chromedriver/chrome/chrome_desktop_impl.cc', 'test/chromedriver/chrome/chrome_desktop_impl.h', 'test/chromedriver/chrome/chrome_finder.cc', 'test/chromedriver/chrome/chrome_finder.h', 'test/chromedriver/chrome/chrome_finder_mac.mm', 'test/chromedriver/chrome/chrome_impl.cc', 'test/chromedriver/chrome/chrome_impl.h', 'test/chromedriver/chrome/chrome_remote_impl.cc', 'test/chromedriver/chrome/chrome_remote_impl.h', 'test/chromedriver/chrome/console_logger.cc', 'test/chromedriver/chrome/console_logger.h', 'test/chromedriver/chrome/debugger_tracker.cc', 'test/chromedriver/chrome/debugger_tracker.h', 'test/chromedriver/chrome/device_manager.cc', 'test/chromedriver/chrome/device_manager.h', 'test/chromedriver/chrome/device_metrics.cc', 'test/chromedriver/chrome/device_metrics.h', 'test/chromedriver/chrome/devtools_client.h', 'test/chromedriver/chrome/devtools_client_impl.cc', 'test/chromedriver/chrome/devtools_client_impl.h', 'test/chromedriver/chrome/devtools_event_listener.cc', 'test/chromedriver/chrome/devtools_event_listener.h', 'test/chromedriver/chrome/devtools_http_client.cc', 'test/chromedriver/chrome/devtools_http_client.h', 'test/chromedriver/chrome/dom_tracker.cc', 'test/chromedriver/chrome/dom_tracker.h', 'test/chromedriver/chrome/frame_tracker.cc', 'test/chromedriver/chrome/frame_tracker.h', 'test/chromedriver/chrome/geolocation_override_manager.cc', 'test/chromedriver/chrome/geolocation_override_manager.h', 'test/chromedriver/chrome/geoposition.h', 'test/chromedriver/chrome/heap_snapshot_taker.cc', 'test/chromedriver/chrome/heap_snapshot_taker.h', 'test/chromedriver/chrome/javascript_dialog_manager.cc', 'test/chromedriver/chrome/javascript_dialog_manager.h', 'test/chromedriver/chrome/log.h', 'test/chromedriver/chrome/log.cc', 'test/chromedriver/chrome/mobile_device.cc', 'test/chromedriver/chrome/mobile_device.h', 'test/chromedriver/chrome/mobile_emulation_override_manager.cc', 'test/chromedriver/chrome/mobile_emulation_override_manager.h', 'test/chromedriver/chrome/navigation_tracker.cc', 'test/chromedriver/chrome/navigation_tracker.h', 'test/chromedriver/chrome/performance_logger.h', 'test/chromedriver/chrome/performance_logger.cc', 'test/chromedriver/chrome/status.cc', 'test/chromedriver/chrome/status.h', 'test/chromedriver/chrome/ui_events.cc', 'test/chromedriver/chrome/ui_events.h', 'test/chromedriver/chrome/util.cc', 'test/chromedriver/chrome/util.h', 'test/chromedriver/chrome/version.cc', 'test/chromedriver/chrome/version.h', 'test/chromedriver/chrome/web_view.h', 'test/chromedriver/chrome/web_view_impl.cc', 'test/chromedriver/chrome/web_view_impl.h', 'test/chromedriver/net/adb_client_socket.cc', 'test/chromedriver/net/adb_client_socket.h', 'test/chromedriver/net/net_util.cc', 'test/chromedriver/net/net_util.h', 'test/chromedriver/net/port_server.cc', 'test/chromedriver/net/port_server.h', 'test/chromedriver/net/sync_websocket.h', 'test/chromedriver/net/sync_websocket_factory.cc', 'test/chromedriver/net/sync_websocket_factory.h', 'test/chromedriver/net/sync_websocket_impl.cc', 'test/chromedriver/net/sync_websocket_impl.h', 'test/chromedriver/net/url_request_context_getter.cc', 'test/chromedriver/net/url_request_context_getter.h', 'test/chromedriver/net/websocket.cc', 'test/chromedriver/net/websocket.h', ], 'actions': [ { 'action_name': 'embed_js_in_cpp', 'inputs': [ 'test/chromedriver/cpp_source.py', 'test/chromedriver/embed_js_in_cpp.py', 'test/chromedriver/js/add_cookie.js', 'test/chromedriver/js/call_function.js', 'test/chromedriver/js/dispatch_context_menu_event.js', 'test/chromedriver/js/execute_async_script.js', 'test/chromedriver/js/focus.js', 'test/chromedriver/js/get_element_region.js', 'test/chromedriver/js/is_option_element_toggleable.js', ], 'outputs': [ '<(SHARED_INTERMEDIATE_DIR)/chrome/test/chromedriver/chrome/js.cc', '<(SHARED_INTERMEDIATE_DIR)/chrome/test/chromedriver/chrome/js.h', ], 'action': [ 'python', 'test/chromedriver/embed_js_in_cpp.py', '--directory', '<(SHARED_INTERMEDIATE_DIR)/chrome/test/chromedriver/chrome', 'test/chromedriver/js/add_cookie.js', 'test/chromedriver/js/call_function.js', 'test/chromedriver/js/dispatch_context_menu_event.js', 'test/chromedriver/js/execute_async_script.js', 'test/chromedriver/js/focus.js', 'test/chromedriver/js/get_element_region.js', 'test/chromedriver/js/is_option_element_toggleable.js', ], 'message': 'Generating sources for embedding js in chromedriver', }, { 'action_name': 'embed_user_data_dir_in_cpp', 'inputs': [ 'test/chromedriver/cpp_source.py', 'test/chromedriver/embed_user_data_dir_in_cpp.py', 'test/chromedriver/chrome/preferences.txt', 'test/chromedriver/chrome/local_state.txt', ], 'outputs': [ '<(SHARED_INTERMEDIATE_DIR)/chrome/test/chromedriver/chrome/user_data_dir.cc', '<(SHARED_INTERMEDIATE_DIR)/chrome/test/chromedriver/chrome/user_data_dir.h', ], 'action': [ 'python', 'test/chromedriver/embed_user_data_dir_in_cpp.py', '--directory', '<(SHARED_INTERMEDIATE_DIR)/chrome/test/chromedriver/chrome', 'test/chromedriver/chrome/preferences.txt', 'test/chromedriver/chrome/local_state.txt', ], 'message': 'Generating sources for embedding user data dir in chromedriver', }, { 'action_name': 'embed_extension_in_cpp', 'inputs': [ 'test/chromedriver/cpp_source.py', 'test/chromedriver/embed_extension_in_cpp.py', 'test/chromedriver/extension/background.js', 'test/chromedriver/extension/manifest.json', ], 'outputs': [ '<(SHARED_INTERMEDIATE_DIR)/chrome/test/chromedriver/chrome/embedded_automation_extension.cc', '<(SHARED_INTERMEDIATE_DIR)/chrome/test/chromedriver/chrome/embedded_automation_extension.h', ], 'action': [ 'python', 'test/chromedriver/embed_extension_in_cpp.py', '--directory', '<(SHARED_INTERMEDIATE_DIR)/chrome/test/chromedriver/chrome', 'test/chromedriver/extension/background.js', 'test/chromedriver/extension/manifest.json', ], 'message': 'Generating sources for embedding automation extension', }, { 'action_name': 'embed_mobile_devices_in_cpp', 'inputs': [ 'test/chromedriver/cpp_source.py', 'test/chromedriver/embed_mobile_devices_in_cpp.py', '../third_party/WebKit/Source/devtools/front_end/sdk/OverridesSupport.js', ], 'outputs': [ '<(SHARED_INTERMEDIATE_DIR)/chrome/test/chromedriver/chrome/mobile_device_list.cc', '<(SHARED_INTERMEDIATE_DIR)/chrome/test/chromedriver/chrome/mobile_device_list.h', ], 'action': [ 'python', 'test/chromedriver/embed_mobile_devices_in_cpp.py', '--directory', '<(SHARED_INTERMEDIATE_DIR)/chrome/test/chromedriver/chrome', '../third_party/WebKit/Source/devtools/front_end/sdk/OverridesSupport.js', ], 'message': 'Generating sources for embedding mobile devices in chromedriver', }, ], # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 'msvs_disabled_warnings': [ 4267, ], }, { 'target_name': 'chromedriver_lib', 'type': 'static_library', 'hard_dependency': 1, 'dependencies': [ 'automation_client_lib', '../base/base.gyp:base', '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations', '../crypto/crypto.gyp:crypto', '../net/net.gyp:http_server', '../net/net.gyp:net', '../third_party/zlib/google/zip.gyp:zip', '../ui/base/ui_base.gyp:ui_base', '../ui/events/events.gyp:events_base', '../ui/gfx/gfx.gyp:gfx', '../ui/gfx/gfx.gyp:gfx_geometry', ], 'include_dirs': [ '..', ], 'sources': [ '<(SHARED_INTERMEDIATE_DIR)/chrome/test/chromedriver/version.cc', '<(SHARED_INTERMEDIATE_DIR)/chrome/test/chromedriver/version.h', '../third_party/webdriver/atoms.cc', '../third_party/webdriver/atoms.h', 'common/chrome_constants.cc', 'common/chrome_constants.h', 'test/chromedriver/alert_commands.cc', 'test/chromedriver/alert_commands.h', 'test/chromedriver/basic_types.cc', 'test/chromedriver/basic_types.h', 'test/chromedriver/capabilities.cc', 'test/chromedriver/capabilities.h', 'test/chromedriver/chrome_launcher.cc', 'test/chromedriver/chrome_launcher.h', 'test/chromedriver/command.h', 'test/chromedriver/commands.cc', 'test/chromedriver/commands.h', 'test/chromedriver/element_commands.cc', 'test/chromedriver/element_commands.h', 'test/chromedriver/element_util.cc', 'test/chromedriver/element_util.h', 'test/chromedriver/key_converter.cc', 'test/chromedriver/key_converter.h', 'test/chromedriver/keycode_text_conversion.h', 'test/chromedriver/keycode_text_conversion_mac.mm', 'test/chromedriver/keycode_text_conversion_ozone.cc', 'test/chromedriver/keycode_text_conversion_win.cc', 'test/chromedriver/keycode_text_conversion_x.cc', 'test/chromedriver/logging.cc', 'test/chromedriver/logging.h', 'test/chromedriver/server/http_handler.cc', 'test/chromedriver/server/http_handler.h', 'test/chromedriver/session.cc', 'test/chromedriver/session.h', 'test/chromedriver/session_commands.cc', 'test/chromedriver/session_commands.h', 'test/chromedriver/session_thread_map.h', 'test/chromedriver/util.cc', 'test/chromedriver/util.h', 'test/chromedriver/window_commands.cc', 'test/chromedriver/window_commands.h', ], 'actions': [ { 'action_name': 'embed_version_in_cpp', 'inputs': [ 'test/chromedriver/cpp_source.py', 'test/chromedriver/embed_version_in_cpp.py', 'test/chromedriver/VERSION', ], 'outputs': [ '<(SHARED_INTERMEDIATE_DIR)/chrome/test/chromedriver/version.cc', '<(SHARED_INTERMEDIATE_DIR)/chrome/test/chromedriver/version.h', ], 'action': [ 'python', 'test/chromedriver/embed_version_in_cpp.py', '--version-file', 'test/chromedriver/VERSION', '--directory', '<(SHARED_INTERMEDIATE_DIR)/chrome/test/chromedriver', ], 'message': 'Generating version info', }, ], 'direct_dependent_settings': { 'include_dirs': [ '<(SHARED_INTERMEDIATE_DIR)', ], }, 'conditions': [ ['use_x11==1', { 'dependencies': [ '../build/linux/system.gyp:x11', '../ui/gfx/x/gfx_x11.gyp:gfx_x11', ] }] ], # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 'msvs_disabled_warnings': [ 4267, ], }, { 'target_name': 'chromedriver', 'type': 'executable', 'dependencies': [ 'chromedriver_lib', ], 'include_dirs': [ '..', ], 'sources': [ 'test/chromedriver/server/chromedriver_server.cc', ], # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 'msvs_disabled_warnings': [ 4267, ], }, { 'target_name': 'chromedriver_unittests', 'type': 'executable', 'dependencies': [ 'chromedriver_lib', '../base/base.gyp:base', '../base/base.gyp:run_all_unittests', '../net/net.gyp:http_server', '../net/net.gyp:net', '../testing/gtest.gyp:gtest', '../ui/base/ui_base.gyp:ui_base', '../ui/gfx/gfx.gyp:gfx', '../ui/gfx/gfx.gyp:gfx_geometry', ], 'include_dirs': [ '..,' ], 'sources': [ 'test/chromedriver/capabilities_unittest.cc', 'test/chromedriver/chrome/chrome_finder_unittest.cc', 'test/chromedriver/chrome/console_logger_unittest.cc', 'test/chromedriver/chrome/device_manager_unittest.cc', 'test/chromedriver/chrome/devtools_client_impl_unittest.cc', 'test/chromedriver/chrome/devtools_http_client_unittest.cc', 'test/chromedriver/chrome/dom_tracker_unittest.cc', 'test/chromedriver/chrome/frame_tracker_unittest.cc', 'test/chromedriver/chrome/geolocation_override_manager_unittest.cc', 'test/chromedriver/chrome/heap_snapshot_taker_unittest.cc', 'test/chromedriver/chrome/javascript_dialog_manager_unittest.cc', 'test/chromedriver/chrome/mobile_emulation_override_manager_unittest.cc', 'test/chromedriver/chrome/navigation_tracker_unittest.cc', 'test/chromedriver/chrome/performance_logger_unittest.cc', 'test/chromedriver/chrome/status_unittest.cc', 'test/chromedriver/chrome/stub_chrome.cc', 'test/chromedriver/chrome/stub_chrome.h', 'test/chromedriver/chrome/stub_devtools_client.cc', 'test/chromedriver/chrome/stub_devtools_client.h', 'test/chromedriver/chrome/stub_web_view.cc', 'test/chromedriver/chrome/stub_web_view.h', 'test/chromedriver/chrome/web_view_impl_unittest.cc', 'test/chromedriver/chrome_launcher_unittest.cc', 'test/chromedriver/commands_unittest.cc', 'test/chromedriver/logging_unittest.cc', 'test/chromedriver/server/http_handler_unittest.cc', 'test/chromedriver/session_commands_unittest.cc', 'test/chromedriver/session_unittest.cc', 'test/chromedriver/util_unittest.cc', ], # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 'msvs_disabled_warnings': [ 4267, ], }, # ChromeDriver tests that aren't run on the main buildbot. Available # as an optional test type on trybots. { 'target_name': 'chromedriver_tests', 'type': 'executable', 'dependencies': [ 'chromedriver_lib', '../base/base.gyp:base', '../base/base.gyp:run_all_unittests', '../net/net.gyp:http_server', '../net/net.gyp:net', '../net/net.gyp:net_test_support', '../testing/gtest.gyp:gtest', '../url/url.gyp:url_lib', ], 'include_dirs': [ '..,' ], 'sources': [ 'test/chromedriver/key_converter_unittest.cc', 'test/chromedriver/keycode_text_conversion_unittest.cc', 'test/chromedriver/net/net_util_unittest.cc', 'test/chromedriver/net/port_server_unittest.cc', 'test/chromedriver/net/sync_websocket_impl_unittest.cc', 'test/chromedriver/net/test_http_server.cc', 'test/chromedriver/net/test_http_server.h', 'test/chromedriver/net/websocket_unittest.cc', 'test/chromedriver/test_util.cc', 'test/chromedriver/test_util.h', ], # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 'msvs_disabled_warnings': [ 4267, ], }, { # Executable that runs each browser test in a new process. 'target_name': 'browser_tests', 'type': 'executable', 'dependencies': [ 'browser', 'chrome_resources.gyp:chrome_resources', 'chrome_resources.gyp:chrome_strings', 'chrome_resources.gyp:packed_extra_resources', 'chrome_resources.gyp:packed_resources', 'common/extensions/api/api.gyp:chrome_api', 'renderer', 'test/perf/perf_test.gyp:*', 'test_support_common', 'test_support_sync_integration', '../apps/common/api/api.gyp:apps_api', '../base/base.gyp:base', '../base/base.gyp:base_i18n', '../base/base.gyp:test_support_base', '../components/components.gyp:autofill_content_risk_proto', '../components/components.gyp:autofill_content_test_support', '../components/components.gyp:captive_portal_test_support', '../components/components.gyp:dom_distiller_content', '../components/components.gyp:dom_distiller_test_support', '../components/components.gyp:translate_core_common', '../components/components_resources.gyp:components_resources', '../components/components_strings.gyp:components_strings', '../device/bluetooth/bluetooth.gyp:device_bluetooth_mocks', '../extensions/common/api/api.gyp:extensions_api', '../google_apis/google_apis.gyp:google_apis_test_support', '../media/cast/cast.gyp:cast_test_utility', '../media/media.gyp:media', '../net/net.gyp:net', '../net/net.gyp:net_test_support', '../skia/skia.gyp:skia', '../sync/sync.gyp:sync', '../sync/sync.gyp:test_support_sync_api', '../testing/gmock.gyp:gmock', '../testing/gtest.gyp:gtest', '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation', '../third_party/icu/icu.gyp:icui18n', '../third_party/icu/icu.gyp:icuuc', '../third_party/leveldatabase/leveldatabase.gyp:leveldatabase', '../third_party/libaddressinput/libaddressinput.gyp:libaddressinput', '../third_party/libjingle/libjingle.gyp:peerconnection_server', '../third_party/safe_browsing/safe_browsing.gyp:safe_browsing', '../third_party/widevine/cdm/widevine_cdm.gyp:widevine_cdm_version_h', '../ui/compositor/compositor.gyp:compositor_test_support', '../ui/resources/ui_resources.gyp:ui_resources', '../ui/web_dialogs/web_dialogs.gyp:web_dialogs_test_support', '../v8/tools/gyp/v8.gyp:v8', # Runtime dependencies '../ppapi/ppapi_internal.gyp:ppapi_tests', '../remoting/remoting.gyp:remoting_browser_test_resources', '../third_party/mesa/mesa.gyp:osmesa', '../third_party/widevine/cdm/widevine_cdm.gyp:widevine_test_license_server', ], 'include_dirs': [ '..', '<(SHARED_INTERMEDIATE_DIR)', ], 'defines': [ 'HAS_OUT_OF_PROC_TEST_RUNNER', ], 'sources': [ '../apps/app_restore_service_browsertest.cc', '../apps/app_window_browsertest.cc', '../apps/app_shim/app_shim_host_manager_browsertest_mac.mm', '../apps/app_shim/test/app_shim_host_manager_test_api_mac.cc', '../apps/app_shim/test/app_shim_host_manager_test_api_mac.h', '../apps/load_and_launch_browsertest.cc', '../extensions/browser/api/usb/usb_apitest.cc', '../extensions/browser/api/usb/usb_manual_apitest.cc', '../extensions/renderer/script_context_browsertest.cc', # TODO(blundell): Bring up a components_browsertests target and move # this test to be in that target. crbug.com/283846 '../components/autofill/content/renderer/password_form_conversion_utils_browsertest.cc', '../components/autofill/content/renderer/test_password_autofill_agent.h', '../components/autofill/content/renderer/test_password_autofill_agent.cc', '../components/autofill/content/renderer/test_password_generation_agent.h', '../components/autofill/content/renderer/test_password_generation_agent.cc', # TODO(rockot): Remove this once extensions_browsertests exists. '../extensions/browser/api/runtime/runtime_apitest.cc', 'app/chrome_command_ids.h', 'app/chrome_dll.rc', 'app/chrome_dll_resource.h', 'app/chrome_version.rc.version', 'browser/accessibility/accessibility_extension_apitest.cc', 'browser/accessibility/browser_accessibility_state_browsertest.cc', 'browser/app_controller_mac_browsertest.mm', 'browser/apps/app_browsertest.cc', 'browser/apps/app_browsertest_util.cc', 'browser/apps/app_browsertest_util.h', 'browser/apps/app_crash_browsertest.cc', 'browser/apps/app_window_browsertest.cc', 'browser/apps/app_url_redirector_browsertest.cc', 'browser/apps/drive/drive_app_converter_browsertest.cc', 'browser/apps/drive/drive_app_provider_browsertest.cc', 'browser/apps/ephemeral_app_browsertest.cc', 'browser/apps/ephemeral_app_browsertest.h', 'browser/apps/ephemeral_app_service_browsertest.cc', 'browser/apps/event_page_browsertest.cc', 'browser/apps/speech_recognition_browsertest.cc', 'browser/apps/web_view_browsertest.cc', 'browser/apps/window_controls_browsertest.cc', 'browser/autocomplete/autocomplete_browsertest.cc', 'browser/autofill/autofill_browsertest.cc', 'browser/autofill/content_autofill_driver_browsertest.cc', 'browser/autofill/form_structure_browsertest.cc', 'browser/bitmap_fetcher_browsertest.cc', 'browser/browser_encoding_browsertest.cc', 'browser/browsing_data/browsing_data_database_helper_browsertest.cc', 'browser/browsing_data/browsing_data_helper_browsertest.h', 'browser/browsing_data/browsing_data_indexed_db_helper_browsertest.cc', 'browser/browsing_data/browsing_data_local_storage_helper_browsertest.cc', 'browser/browsing_data/browsing_data_remover_browsertest.cc', 'browser/browsing_data/browsing_data_remover_test_util.cc', 'browser/browsing_data/browsing_data_remover_test_util.h', 'browser/captive_portal/captive_portal_browsertest.cc', 'browser/chrome_content_browser_client_browsertest.cc', 'browser/chrome_main_browsertest.cc', 'browser/chrome_plugin_browsertest.cc', 'browser/chrome_security_exploit_browsertest.cc', 'browser/chrome_service_worker_browsertest.cc', 'browser/chrome_switches_browsertest.cc', 'browser/chromeos/accessibility/accessibility_manager_browsertest.cc', 'browser/chromeos/accessibility/magnification_manager_browsertest.cc', 'browser/chromeos/accessibility/speech_monitor.cc', 'browser/chromeos/accessibility/speech_monitor.h', 'browser/chromeos/accessibility/touch_exploration_controller_browsertest.cc', 'browser/chromeos/app_mode/kiosk_app_manager_browsertest.cc', 'browser/chromeos/app_mode/kiosk_app_update_service_browsertest.cc', 'browser/chromeos/attestation/attestation_policy_browsertest.cc', 'browser/chromeos/customization_wallpaper_downloader_browsertest.cc', 'browser/chromeos/device/input_service_proxy_browsertest.cc', 'browser/chromeos/drive/drive_integration_service_browsertest.cc', 'browser/chromeos/drive/drive_notification_manager_factory_browsertest.cc', 'browser/chromeos/drive/test_util.cc', 'browser/chromeos/drive/test_util.h', 'browser/chromeos/extensions/accessibility_features_apitest.cc', 'browser/chromeos/extensions/echo_private_apitest.cc', 'browser/chromeos/extensions/file_manager/file_browser_handler_api_test.cc', 'browser/chromeos/extensions/file_manager/file_browser_private_apitest.cc', 'browser/chromeos/extensions/file_system_provider/file_system_provider_apitest.cc', 'browser/chromeos/extensions/info_private_apitest.cc', 'browser/chromeos/extensions/input_method_apitest_chromeos.cc', 'browser/chromeos/extensions/input_view_browsertest.cc', 'browser/chromeos/extensions/virtual_keyboard_browsertest.cc', 'browser/chromeos/extensions/virtual_keyboard_browsertest.h', 'browser/chromeos/extensions/wallpaper_apitest.cc', 'browser/chromeos/extensions/wallpaper_private_apitest.cc', 'browser/chromeos/file_manager/drive_test_util.cc', 'browser/chromeos/file_manager/drive_test_util.h', 'browser/chromeos/file_manager/external_filesystem_apitest.cc', 'browser/chromeos/file_manager/file_manager_browsertest.cc', 'browser/chromeos/file_manager/file_manager_jstest.cc', 'browser/chromeos/file_manager/zip_file_creator_browsertest.cc', 'browser/chromeos/first_run/drive_first_run_browsertest.cc', 'browser/chromeos/first_run/first_run_browsertest.cc', 'browser/chromeos/input_method/input_method_engine_browsertests.cc', 'browser/chromeos/input_method/mode_indicator_browsertest.cc', 'browser/chromeos/kiosk_mode/mock_kiosk_mode_settings.cc', 'browser/chromeos/kiosk_mode/mock_kiosk_mode_settings.h', 'browser/chromeos/login/auth/mock_authenticator.cc', 'browser/chromeos/login/auth/mock_authenticator.h', 'browser/chromeos/login/crash_restore_browsertest.cc', 'browser/chromeos/login/demo_mode/demo_app_launcher_browsertest.cc', 'browser/chromeos/login/enrollment/enrollment_screen_browsertest.cc', 'browser/chromeos/login/enrollment/mock_auto_enrollment_check_screen.cc', 'browser/chromeos/login/enrollment/mock_auto_enrollment_check_screen.h', 'browser/chromeos/login/enrollment/mock_enrollment_screen.cc', 'browser/chromeos/login/enrollment/mock_enrollment_screen.h', 'browser/chromeos/login/existing_user_controller_browsertest.cc', 'browser/chromeos/login/kiosk_browsertest.cc', 'browser/chromeos/login/lock/screen_locker_tester.cc', 'browser/chromeos/login/lock/screen_locker_tester.h', 'browser/chromeos/login/login_screen_policy_browsertest.cc', 'browser/chromeos/login/login_utils_browsertest.cc', 'browser/chromeos/login/login_manager_test.cc', 'browser/chromeos/login/login_manager_test.h', 'browser/chromeos/login/managed/managed_user_creation_browsertest.cc', 'browser/chromeos/login/managed/managed_user_password_browsertest.cc', 'browser/chromeos/login/managed/managed_user_test_base.cc', 'browser/chromeos/login/managed/managed_user_test_base.h', 'browser/chromeos/login/oobe_localization_browsertest.cc', 'browser/chromeos/login/reset_browsertest.cc', 'browser/chromeos/login/saml/saml_browsertest.cc', 'browser/chromeos/login/session_login_browsertest.cc', 'browser/chromeos/login/screens/mock_error_screen.cc', 'browser/chromeos/login/screens/mock_error_screen.h', 'browser/chromeos/login/screens/mock_eula_screen.cc', 'browser/chromeos/login/screens/mock_eula_screen.h', 'browser/chromeos/login/screens/mock_network_screen.cc', 'browser/chromeos/login/screens/mock_network_screen.h', 'browser/chromeos/login/screens/mock_screen_observer.cc', 'browser/chromeos/login/screens/mock_screen_observer.h', 'browser/chromeos/login/screens/mock_update_screen.cc', 'browser/chromeos/login/screens/mock_update_screen.h', 'browser/chromeos/login/screens/network_screen_browsertest.cc', 'browser/chromeos/login/screens/update_screen_browsertest.cc', 'browser/chromeos/login/signin/oauth2_browsertest.cc', 'browser/chromeos/login/test/app_window_waiter.cc', 'browser/chromeos/login/test/app_window_waiter.h', 'browser/chromeos/login/test/https_forwarder.cc', 'browser/chromeos/login/test/https_forwarder.h', 'browser/chromeos/login/test/oobe_base_test.cc', 'browser/chromeos/login/test/oobe_base_test.h', 'browser/chromeos/login/test/wizard_in_process_browser_test.cc', 'browser/chromeos/login/test/wizard_in_process_browser_test.h', 'browser/chromeos/login/test_login_utils.cc', 'browser/chromeos/login/test_login_utils.h', 'browser/chromeos/login/ui/captive_portal_window_browsertest.cc', 'browser/chromeos/login/ui/simple_web_view_dialog_browsertest.cc', 'browser/chromeos/login/ui/user_adding_screen_browsertest.cc', 'browser/chromeos/login/users/avatar/user_image_manager_browsertest.cc', 'browser/chromeos/login/users/avatar/user_image_manager_test_util.cc', 'browser/chromeos/login/users/avatar/user_image_manager_test_util.h', 'browser/chromeos/login/users/wallpaper/wallpaper_manager_policy_browsertest.cc', 'browser/chromeos/login/users/wallpaper/wallpaper_manager_test_utils.cc', 'browser/chromeos/login/users/wallpaper/wallpaper_manager_test_utils.h', 'browser/chromeos/login/wizard_controller_browsertest.cc', 'browser/chromeos/memory/oom_priority_manager_browsertest.cc', 'browser/chromeos/net/network_portal_detector_impl_browsertest.cc', 'browser/chromeos/policy/device_local_account_browsertest.cc', 'browser/chromeos/policy/device_policy_cros_browser_test.cc', 'browser/chromeos/policy/device_policy_cros_browser_test.h', 'browser/chromeos/policy/device_status_collector_browsertest.cc', 'browser/chromeos/policy/device_system_use_24hour_clock_browsertest.cc', 'browser/chromeos/policy/login_screen_default_policy_browsertest.cc', 'browser/chromeos/policy/policy_cert_verifier_browsertest.cc', 'browser/chromeos/policy/power_policy_browsertest.cc', 'browser/chromeos/policy/user_cloud_external_data_manager_browsertest.cc', 'browser/chromeos/policy/variations_service_policy_browsertest.cc', 'browser/chromeos/power/peripheral_battery_observer_browsertest.cc', 'browser/chromeos/preferences_browsertest.cc', 'browser/chromeos/profiles/profile_helper_browsertest.cc', 'browser/chromeos/system/tray_accessibility_browsertest.cc', 'browser/chromeos/ui/idle_logout_dialog_view_browsertest.cc', 'browser/collected_cookies_browsertest.cc', 'browser/content_settings/content_settings_browsertest.cc', 'browser/crash_recovery_browsertest.cc', 'browser/custom_handlers/protocol_handler_registry_browsertest.cc', 'browser/devtools/device/adb/adb_client_socket_browsertest.cc', 'browser/devtools/device/adb/mock_adb_server.cc', 'browser/devtools/device/adb/mock_adb_server.h', 'browser/devtools/device/port_forwarding_browsertest.cc', 'browser/devtools/device/usb/android_usb_browsertest.cc', 'browser/devtools/devtools_sanity_browsertest.cc', 'browser/dom_distiller/dom_distiller_viewer_source_browsertest.cc', 'browser/dom_distiller/tab_utils_browsertest.cc', 'browser/do_not_track_browsertest.cc', 'browser/download/download_browsertest.cc', 'browser/download/download_browsertest.h', 'browser/download/download_danger_prompt_browsertest.cc', 'browser/download/download_started_animation_browsertest.cc', 'browser/download/save_page_browsertest.cc', 'browser/errorpage_browsertest.cc', 'browser/extensions/active_script_controller_browsertest.cc', 'browser/extensions/active_tab_apitest.cc', 'browser/extensions/activity_log/activity_log_browsertest.cc', 'browser/extensions/activity_log/ad_injection_browsertest.cc', 'browser/extensions/activity_log/uma_policy_browsertest.cc', 'browser/extensions/alert_apitest.cc', 'browser/extensions/all_urls_apitest.cc', 'browser/extensions/api/activity_log_private/activity_log_private_apitest.cc', 'browser/extensions/api/app_window/app_window_apitest.cc', 'browser/extensions/api/audio/audio_apitest.cc', 'browser/extensions/api/automation/automation_apitest.cc', 'browser/extensions/api/autotest_private/autotest_private_apitest.cc', 'browser/extensions/api/bluetooth/bluetooth_apitest.cc', 'browser/extensions/api/bluetooth/bluetooth_private_apitest.cc', 'browser/extensions/api/bluetooth_low_energy/bluetooth_low_energy_apitest.cc', 'browser/extensions/api/bluetooth_socket/bluetooth_socket_apitest.cc', 'browser/extensions/api/bookmark_manager_private/bookmark_manager_private_apitest.cc', 'browser/extensions/api/braille_display_private/braille_display_private_apitest.cc', 'browser/extensions/api/braille_display_private/mock_braille_controller.cc', 'browser/extensions/api/braille_display_private/mock_braille_controller.h', 'browser/extensions/api/browser/browser_apitest.cc', 'browser/extensions/api/bookmarks/bookmark_apitest.cc', 'browser/extensions/api/browsing_data/browsing_data_test.cc', 'browser/extensions/api/cast_channel/cast_channel_apitest.cc', 'browser/extensions/api/cast_streaming/cast_streaming_apitest.cc', 'browser/extensions/api/cloud_print_private/cloud_print_private_apitest.cc', 'browser/extensions/api/command_line_private/command_line_private_apitest.cc', 'browser/extensions/api/commands/command_service_browsertest.cc', 'browser/extensions/api/content_settings/content_settings_apitest.cc', 'browser/extensions/api/context_menus/context_menu_apitest.cc', 'browser/extensions/api/cookies/cookies_apitest.cc', 'browser/extensions/api/debugger/debugger_apitest.cc', 'browser/extensions/api/debugger/debugger_extension_apitest.cc', 'browser/extensions/api/declarative/declarative_apitest.cc', 'browser/extensions/api/declarative_content/declarative_content_apitest.cc', 'browser/extensions/api/desktop_capture/desktop_capture_apitest.cc', 'browser/extensions/api/developer_private/developer_private_apitest.cc', 'browser/extensions/api/dial/dial_apitest.cc', 'browser/extensions/api/dns/dns_apitest.cc', 'browser/extensions/api/dns/mock_host_resolver_creator.cc', 'browser/extensions/api/dns/mock_host_resolver_creator.h', 'browser/extensions/api/downloads/downloads_api_browsertest.cc', 'browser/extensions/api/enterprise_platform_keys/enterprise_platform_keys_apitest_nss.cc', 'browser/extensions/api/extension_action/browser_action_apitest.cc', 'browser/extensions/api/extension_action/browser_action_browsertest.cc', 'browser/extensions/api/extension_action/page_action_apitest.cc', 'browser/extensions/api/feedback_private/feedback_private_apitest.cc', 'browser/extensions/api/feedback_private/feedback_browsertest.cc', 'browser/extensions/api/file_system/file_system_apitest.cc', 'browser/extensions/api/file_system/file_system_apitest_chromeos.cc', 'browser/extensions/api/font_settings/font_settings_apitest.cc', 'browser/extensions/api/gcm/gcm_apitest.cc', 'browser/extensions/api/gcd_private/gcd_private_apitest.cc', 'browser/extensions/api/history/history_apitest.cc', 'browser/extensions/api/hotword_private/hotword_private_apitest.cc', 'browser/extensions/api/i18n/i18n_apitest.cc', 'browser/extensions/api/identity/identity_apitest.cc', 'browser/extensions/api/idle/idle_apitest.cc', 'browser/extensions/api/idltest/idltest_apitest.cc', 'browser/extensions/api/image_writer_private/image_writer_private_apitest.cc', 'browser/extensions/api/input_ime/input_ime_apitest_chromeos.cc', 'browser/extensions/api/management/management_api_browsertest.cc', 'browser/extensions/api/management/management_apitest.cc', 'browser/extensions/api/management/management_browsertest.cc', 'browser/extensions/api/mdns/mdns_apitest.cc', 'browser/extensions/api/media_galleries/media_galleries_apitest.cc', 'browser/extensions/api/media_galleries_private/media_galleries_watch_apitest.cc', 'browser/extensions/api/messaging/native_messaging_apitest.cc', 'browser/extensions/api/metrics_private/metrics_apitest.cc', 'browser/extensions/api/module/module_apitest.cc', 'browser/extensions/api/music_manager_private/music_manager_private_browsertest.cc', 'browser/extensions/api/notifications/notifications_apitest.cc', 'browser/extensions/api/omnibox/omnibox_api_browsertest.cc', 'browser/extensions/api/page_capture/page_capture_apitest.cc', 'browser/extensions/api/permissions/permissions_apitest.cc', 'browser/extensions/api/preference/preference_apitest.cc', 'browser/extensions/api/preferences_private/preferences_private_apitest.cc', 'browser/extensions/api/processes/processes_apitest.cc', 'browser/extensions/api/proxy/proxy_apitest.cc', 'browser/extensions/api/push_messaging/push_messaging_apitest.cc', 'browser/extensions/api/push_messaging/push_messaging_canary_test.cc', 'browser/extensions/api/push_messaging/sync_setup_helper.cc', 'browser/extensions/api/reading_list_private/reading_list_private_apitest.cc', 'browser/extensions/api/screenlock_private/screenlock_private_apitest.cc', 'browser/extensions/api/serial/serial_apitest.cc', 'browser/extensions/api/sessions/sessions_apitest.cc', 'browser/extensions/api/settings_overrides/settings_overrides_browsertest.cc', 'browser/extensions/api/socket/socket_apitest.cc', 'browser/extensions/api/sockets_tcp/sockets_tcp_apitest.cc', 'browser/extensions/api/sockets_tcp_server/sockets_tcp_server_apitest.cc', 'browser/extensions/api/sockets_udp/sockets_udp_apitest.cc', 'browser/extensions/api/storage/settings_apitest.cc', 'browser/extensions/api/streams_private/streams_private_apitest.cc', 'browser/extensions/api/sync_file_system/sync_file_system_apitest.cc', 'browser/extensions/api/system_indicator/system_indicator_apitest.cc', 'browser/extensions/api/system_cpu/system_cpu_apitest.cc', 'browser/extensions/api/system_display/system_display_apitest.cc', 'browser/extensions/api/system_memory/system_memory_apitest.cc', 'browser/extensions/api/system_network/system_network_apitest.cc', 'browser/extensions/api/system_private/system_private_apitest.cc', 'browser/extensions/api/system_storage/storage_api_test_util.cc', 'browser/extensions/api/system_storage/storage_api_test_util.h', 'browser/extensions/api/system_storage/system_storage_apitest.cc', 'browser/extensions/api/system_storage/system_storage_eject_apitest.cc', 'browser/extensions/api/tab_capture/tab_capture_apitest.cc', 'browser/extensions/api/tabs/tabs_test.cc', 'browser/extensions/api/terminal/terminal_private_apitest.cc', 'browser/extensions/api/test/apitest_apitest.cc', 'browser/extensions/api/top_sites/top_sites_apitest.cc', 'browser/extensions/api/web_navigation/web_navigation_apitest.cc', 'browser/extensions/api/web_request/web_request_apitest.cc', 'browser/extensions/api/webrtc_audio_private/webrtc_audio_private_browsertest.cc', 'browser/extensions/api/webrtc_logging_private/webrtc_logging_private_apitest.cc', 'browser/extensions/api/webstore_private/webstore_private_apitest.cc', 'browser/extensions/app_background_page_apitest.cc', 'browser/extensions/app_process_apitest.cc', 'browser/extensions/background_app_browsertest.cc', 'browser/extensions/background_page_apitest.cc', 'browser/extensions/background_scripts_apitest.cc', 'browser/extensions/browsertest_util.cc', 'browser/extensions/browsertest_util.h', 'browser/extensions/browsertest_util_browsertest.cc', 'browser/extensions/chrome_app_api_browsertest.cc', 'browser/extensions/chrome_ui_overrides_browsertest.cc', 'browser/extensions/content_verifier_browsertest.cc', 'browser/extensions/content_script_apitest.cc', 'browser/extensions/content_security_policy_apitest.cc', 'browser/extensions/convert_web_app_browsertest.cc', 'browser/extensions/crazy_extension_browsertest.cc', 'browser/extensions/cross_origin_xhr_apitest.cc', 'browser/extensions/crx_installer_browsertest.cc', 'browser/extensions/docs/examples/apps/calculator_browsertest.cc', 'browser/extensions/error_console/error_console_browsertest.cc', 'browser/extensions/events_apitest.cc', 'browser/extensions/execute_script_apitest.cc', 'browser/extensions/extension_apitest.cc', 'browser/extensions/extension_apitest.h', 'browser/extensions/extension_bindings_apitest.cc', 'browser/extensions/extension_browsertest.cc', 'browser/extensions/extension_browsertest.h', 'browser/extensions/extension_test_notification_observer.cc', 'browser/extensions/extension_test_notification_observer.h', 'browser/extensions/extension_context_menu_browsertest.cc', 'browser/extensions/extension_disabled_ui_browsertest.cc', 'browser/extensions/extension_dom_clipboard_apitest.cc', 'browser/extensions/extension_fileapi_apitest.cc', 'browser/extensions/extension_functional_browsertest.cc', 'browser/extensions/extension_function_test_utils.cc', 'browser/extensions/extension_function_test_utils.h', 'browser/extensions/extension_geolocation_apitest.cc', 'browser/extensions/extension_get_views_apitest.cc', 'browser/extensions/extension_icon_source_apitest.cc', 'browser/extensions/extension_incognito_apitest.cc', 'browser/extensions/extension_install_ui_browsertest.cc', 'browser/extensions/extension_javascript_url_apitest.cc', 'browser/extensions/extension_loading_browsertest.cc', 'browser/extensions/extension_messages_apitest.cc', 'browser/extensions/extension_override_apitest.cc', 'browser/extensions/extension_resource_request_policy_apitest.cc', 'browser/extensions/extension_startup_browsertest.cc', 'browser/extensions/extension_storage_apitest.cc', 'browser/extensions/extension_storage_monitor_browsertest.cc', 'browser/extensions/extension_tabs_apitest.cc', 'browser/extensions/extension_toolbar_model_browsertest.cc', 'browser/extensions/extension_url_rewrite_browsertest.cc', 'browser/extensions/extension_view_host_factory_browsertest.cc', 'browser/extensions/extension_websocket_apitest.cc', 'browser/extensions/gpu_browsertest.cc', 'browser/extensions/isolated_app_browsertest.cc', 'browser/extensions/lazy_background_page_apitest.cc', 'browser/extensions/lazy_background_page_test_util.h', 'browser/extensions/mutation_observers_apitest.cc', 'browser/extensions/options_page_apitest.cc', 'browser/extensions/page_action_browsertest.cc', 'browser/extensions/plugin_apitest.cc', 'browser/extensions/process_management_browsertest.cc', 'browser/extensions/process_manager_browsertest.cc', 'browser/extensions/requirements_checker_browsertest.cc', 'browser/extensions/sandboxed_pages_apitest.cc', 'browser/extensions/shared_module_apitest.cc', 'browser/extensions/startup_helper_browsertest.cc', 'browser/extensions/stubs_apitest.cc', 'browser/extensions/subscribe_page_action_browsertest.cc', 'browser/extensions/test_extension_dir.cc', 'browser/extensions/test_extension_dir.h', 'browser/extensions/updater/extension_cache_fake.h', 'browser/extensions/updater/extension_cache_fake.cc', 'browser/extensions/web_contents_browsertest.cc', 'browser/extensions/webstore_inline_installer_browsertest.cc', 'browser/extensions/webstore_installer_test.cc', 'browser/extensions/webstore_installer_test.h', 'browser/extensions/webstore_startup_installer_browsertest.cc', 'browser/extensions/window_open_apitest.cc', 'browser/external_extension_browsertest.cc', 'browser/fast_shutdown_browsertest.cc', 'browser/first_run/first_run_browsertest.cc', 'browser/first_run/try_chrome_dialog_view_browsertest.cc', 'browser/geolocation/access_token_store_browsertest.cc', 'browser/geolocation/geolocation_browsertest.cc', 'browser/history/history_browsertest.cc', 'browser/history/redirect_browsertest.cc', 'browser/iframe_browsertest.cc', 'browser/importer/firefox_importer_browsertest.cc', 'browser/importer/ie_importer_browsertest_win.cc', 'browser/importer/importer_unittest_utils.cc', 'browser/importer/importer_unittest_utils.h', 'browser/infobars/infobar_extension_apitest.cc', 'browser/infobars/infobars_browsertest.cc', 'browser/invalidation/profile_invalidation_provider_factory_browsertest.cc', 'browser/lifetime/browser_close_manager_browsertest.cc', 'browser/loadtimes_extension_bindings_browsertest.cc', 'browser/locale_tests_browsertest.cc', 'browser/supervised_user/supervised_user_browsertest.cc', 'browser/supervised_user/supervised_user_resource_throttle_browsertest.cc', 'browser/supervised_user/supervised_user_service_browsertest.cc', 'browser/media/encrypted_media_browsertest.cc', 'browser/media/media_browsertest.cc', 'browser/media/media_browsertest.h', 'browser/media/chrome_media_stream_infobar_browsertest.cc', 'browser/media/chrome_webrtc_apprtc_browsertest.cc', 'browser/media/chrome_webrtc_audio_quality_browsertest.cc', 'browser/media/chrome_webrtc_browsertest.cc', 'browser/media/chrome_webrtc_disable_encryption_flag_browsertest.cc', 'browser/media/chrome_webrtc_getmediadevices_browsertest.cc', 'browser/media/chrome_webrtc_perf_browsertest.cc', 'browser/media/chrome_webrtc_typing_detection_browsertest.cc', 'browser/media/chrome_webrtc_video_quality_browsertest.cc', 'browser/media/chrome_webrtc_webcam_browsertest.cc', 'browser/media/encrypted_media_istypesupported_browsertest.cc', 'browser/media/test_license_server.cc', 'browser/media/test_license_server.h', 'browser/media/test_license_server_config.h', 'browser/media/webrtc_browsertest_base.cc', 'browser/media/webrtc_browsertest_base.h', 'browser/media/webrtc_browsertest_common.cc', 'browser/media/webrtc_browsertest_common.h', 'browser/media/webrtc_browsertest_perf.cc', 'browser/media/webrtc_browsertest_perf.h', 'browser/media/wv_test_license_server_config.cc', 'browser/media/wv_test_license_server_config.h', 'browser/media_galleries/fileapi/iapps_finder_impl_win_browsertest.cc', 'browser/media_galleries/fileapi/media_file_validator_browsertest.cc', 'browser/media_galleries/media_galleries_dialog_controller_mock.cc', 'browser/media_galleries/media_galleries_dialog_controller_mock.h', 'browser/metrics/metrics_service_browsertest.cc', 'browser/net/cookie_policy_browsertest.cc', 'browser/net/dns_probe_browsertest.cc', 'browser/net/ftp_browsertest.cc', 'browser/net/load_timing_browsertest.cc', 'browser/net/nss_context_chromeos_browsertest.cc', 'browser/net/predictor_browsertest.cc', 'browser/net/proxy_browsertest.cc', 'browser/net/websocket_browsertest.cc', 'browser/notifications/login_state_notification_blocker_chromeos_browsertest.cc', 'browser/notifications/message_center_notifications_browsertest.cc', 'browser/notifications/sync_notifier/sync_notifier_test_utils.cc', 'browser/notifications/sync_notifier/sync_notifier_test_utils.h', 'browser/plugins/npapi_infobar_browsertest.cc', 'browser/password_manager/password_manager_browsertest.cc', 'browser/performance_monitor/performance_monitor_browsertest.cc', 'browser/policy/cloud/cloud_policy_browsertest.cc', 'browser/policy/cloud/cloud_policy_manager_browsertest.cc', 'browser/policy/cloud/component_cloud_policy_browsertest.cc', 'browser/policy/cloud/device_management_service_browsertest.cc', 'browser/policy/cloud/test_request_interceptor.cc', 'browser/policy/cloud/test_request_interceptor.h', 'browser/policy/policy_browsertest.cc', 'browser/policy/policy_prefs_browsertest.cc', 'browser/prefetch/prefetch_browsertest.cc', 'browser/prefs/pref_functional_browsertest.cc', 'browser/prefs/pref_service_browsertest.cc', 'browser/prefs/synced_pref_change_registrar_browsertest.cc', 'browser/prerender/prerender_browsertest.cc', 'browser/printing/cloud_print/test/cloud_print_policy_browsertest.cc', 'browser/printing/cloud_print/test/cloud_print_proxy_process_browsertest.cc', 'browser/printing/print_preview_dialog_controller_browsertest.cc', 'browser/process_singleton_browsertest.cc', 'browser/profiles/host_zoom_map_browsertest.cc', 'browser/profiles/profile_browsertest.cc', 'browser/profiles/profile_list_desktop_browsertest.cc', 'browser/profiles/profile_manager_browsertest.cc', 'browser/profile_resetter/profile_resetter_browsertest.cc', 'browser/referrer_policy_browsertest.cc', 'browser/renderer_context_menu/render_view_context_menu_browsertest.cc', 'browser/renderer_context_menu/render_view_context_menu_browsertest_util.cc', 'browser/renderer_context_menu/render_view_context_menu_browsertest_util.h', 'browser/renderer_context_menu/render_view_context_menu_test_util.cc', 'browser/renderer_context_menu/render_view_context_menu_test_util.h', 'browser/renderer_context_menu/spellchecker_submenu_observer_browsertest.cc', 'browser/renderer_context_menu/spelling_menu_observer_browsertest.cc', 'browser/renderer_host/chrome_resource_dispatcher_host_delegate_browsertest.cc', 'browser/renderer_host/render_process_host_chrome_browsertest.cc', 'browser/renderer_host/web_cache_manager_browsertest.cc', 'browser/repost_form_warning_browsertest.cc', 'browser/resources/pdf/pdf_extension_test.cc', 'browser/safe_browsing/local_safebrowsing_test_server.cc', 'browser/safe_browsing/safe_browsing_blocking_page_test.cc', 'browser/safe_browsing/safe_browsing_service_browsertest.cc', 'browser/safe_browsing/safe_browsing_test.cc', 'browser/search/suggestions/thumbnail_manager_browsertest.cc', 'browser/service_process/service_process_control_browsertest.cc', 'browser/services/gcm/fake_gcm_profile_service.cc', 'browser/services/gcm/fake_gcm_profile_service.h', 'browser/sessions/better_session_restore_browsertest.cc', 'browser/sessions/persistent_tab_restore_service_browsertest.cc', 'browser/sessions/session_restore_browsertest.cc', 'browser/sessions/session_restore_browsertest_chromeos.cc', 'browser/sessions/tab_restore_browsertest.cc', 'browser/signin/signin_browsertest.cc', 'browser/speech/extension_api/tts_extension_apitest.cc', 'browser/spellchecker/spellcheck_service_browsertest.cc', 'browser/ssl/ssl_browser_tests.cc', 'browser/ssl/ssl_client_certificate_selector_test.cc', 'browser/ssl/ssl_client_certificate_selector_test.h', 'browser/sync_file_system/mock_local_change_processor.cc', 'browser/sync_file_system/mock_local_change_processor.h', 'browser/sync_file_system/mock_remote_file_sync_service.cc', 'browser/sync_file_system/mock_remote_file_sync_service.h', 'browser/tab_contents/view_source_browsertest.cc', 'browser/task_manager/task_manager_browsertest.cc', 'browser/task_manager/task_manager_browsertest_util.cc', 'browser/task_manager/task_manager_browsertest_util.h', 'browser/themes/theme_service_browsertest.cc', 'browser/translate/translate_browsertest.cc', 'browser/translate/translate_browser_test_utils.cc', 'browser/translate/translate_browser_test_utils.h', 'browser/translate/translate_manager_browsertest.cc', 'browser/ui/app_list/app_list_controller_browsertest.cc', 'browser/ui/app_list/app_list_service_views_browsertest.cc', 'browser/ui/app_list/search/people/people_provider_browsertest.cc', 'browser/ui/app_list/search/webstore/webstore_provider_browsertest.cc', 'browser/ui/ash/accelerator_commands_browsertest.cc', 'browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc', 'browser/ui/ash/launcher/launcher_favicon_loader_browsertest.cc', 'browser/ui/ash/shelf_browsertest.cc', 'browser/ui/ash/volume_controller_browsertest_chromeos.cc', 'browser/ui/autofill/autofill_dialog_controller_browsertest.cc', 'browser/ui/autofill/autofill_dialog_view_tester.h', 'browser/ui/autofill/mock_address_validator.cc', 'browser/ui/autofill/mock_address_validator.h', 'browser/ui/autofill/test_generated_credit_card_bubble_view.cc', 'browser/ui/autofill/test_generated_credit_card_bubble_view.h', 'browser/ui/autofill/test_generated_credit_card_bubble_controller.cc', 'browser/ui/autofill/test_generated_credit_card_bubble_controller.h', 'browser/ui/blocked_content/popup_blocker_browsertest.cc', 'browser/ui/bookmarks/bookmark_browsertest.cc', 'browser/ui/browser_browsertest.cc', 'browser/ui/browser_close_browsertest.cc', 'browser/ui/browser_command_controller_browsertest.cc', 'browser/ui/browser_navigator_browsertest.cc', 'browser/ui/browser_navigator_browsertest.h', 'browser/ui/browser_navigator_browsertest_chromeos.cc', 'browser/ui/browser_tabrestore_browsertest.cc', 'browser/ui/cocoa/accelerators_cocoa_browsertest.mm', 'browser/ui/cocoa/applescript/browsercrapplication+applescript_test.mm', 'browser/ui/cocoa/applescript/window_applescript_test.mm', 'browser/ui/cocoa/apps/app_shim_menu_controller_mac_browsertest.mm', 'browser/ui/cocoa/apps/native_app_window_cocoa_browsertest.mm', 'browser/ui/cocoa/autofill/autofill_dialog_cocoa_browsertest.mm', 'browser/ui/cocoa/autofill/autofill_dialog_view_tester_cocoa.mm', 'browser/ui/cocoa/autofill/autofill_dialog_view_tester_cocoa.h', 'browser/ui/cocoa/browser_window_cocoa_browsertest.mm', 'browser/ui/cocoa/browser_window_controller_browsertest.mm', 'browser/ui/cocoa/certificate_viewer_mac_browsertest.mm', 'browser/ui/cocoa/constrained_window/constrained_window_mac_browsertest.mm', 'browser/ui/cocoa/content_settings/collected_cookies_mac_browsertest.mm', 'browser/ui/cocoa/content_settings/content_setting_bubble_cocoa_unittest.mm', 'browser/ui/cocoa/dev_tools_controller_browsertest.mm', 'browser/ui/cocoa/extensions/extension_action_context_menu_controller_browsertest.mm', 'browser/ui/cocoa/extensions/extension_install_dialog_controller_browsertest.mm', 'browser/ui/cocoa/extensions/extension_install_prompt_test_utils.h', 'browser/ui/cocoa/extensions/extension_install_prompt_test_utils.mm', 'browser/ui/cocoa/extensions/media_galleries_dialog_cocoa_browsertest.mm', 'browser/ui/cocoa/extensions/windowed_install_dialog_controller_browsertest.mm', 'browser/ui/cocoa/find_bar/find_bar_browsertest.mm', 'browser/ui/cocoa/location_bar/zoom_decoration_browsertest.mm', 'browser/ui/cocoa/omnibox/omnibox_view_mac_browsertest.mm', 'browser/ui/cocoa/one_click_signin_bubble_controller_browsertest.mm', 'browser/ui/cocoa/one_click_signin_dialog_controller_browsertest.mm', 'browser/ui/cocoa/profiles/profile_signin_confirmation_view_controller_browsertest.mm', 'browser/ui/cocoa/ssl_client_certificate_selector_cocoa_browsertest.mm', 'browser/ui/cocoa/view_id_util_browsertest.mm', 'browser/ui/content_settings/content_setting_bubble_model_browsertest.cc', 'browser/ui/find_bar/find_bar_host_browsertest.cc', 'browser/ui/fullscreen/fullscreen_controller_browsertest.cc', 'browser/ui/global_error/global_error_service_browsertest.cc', 'browser/ui/login/login_prompt_browsertest.cc', 'browser/ui/panels/panel_extension_browsertest.cc', 'browser/ui/pdf/pdf_browsertest.cc', 'browser/ui/prefs/prefs_tab_helper_browsertest.cc', 'browser/ui/settings_window_manager_browsertest.cc', 'browser/ui/startup/startup_browser_creator_browsertest.cc', 'browser/ui/sync/one_click_signin_bubble_links_delegate_browsertest.cc', 'browser/ui/sync/profile_signin_confirmation_helper_browsertest.cc', 'browser/ui/tab_modal_confirm_dialog_browsertest.cc', 'browser/ui/tab_modal_confirm_dialog_browsertest.h', 'browser/ui/toolbar/test_toolbar_model.cc', 'browser/ui/toolbar/test_toolbar_model.h', 'browser/ui/views/autofill/autofill_dialog_view_tester_views.cc', 'browser/ui/views/autofill/autofill_dialog_view_tester_views.h', 'browser/ui/views/autofill/autofill_popup_base_view_browsertest.cc', 'browser/ui/views/frame/browser_non_client_frame_view_ash_browsertest.cc', 'browser/ui/views/frame/browser_view_browsertest.cc', 'browser/ui/views/frame/browser_window_property_manager_browsertest_win.cc', 'browser/ui/views/location_bar/zoom_bubble_view_browsertest.cc', 'browser/ui/views/profiles/avatar_menu_button_browsertest.cc', 'browser/ui/views/profiles/new_avatar_menu_button_browsertest.cc', 'browser/ui/views/profiles/profile_chooser_view_browsertest.cc', 'browser/ui/views/select_file_dialog_extension_browsertest.cc', 'browser/ui/views/toolbar/browser_actions_container_browsertest.cc', 'browser/ui/views/toolbar/toolbar_view_browsertest.cc', 'browser/ui/views/translate/translate_bubble_view_browsertest.cc', 'browser/ui/views/web_dialog_view_browsertest.cc', 'browser/ui/webui/app_list/start_page_browsertest.js', 'browser/ui/webui/bidi_checker_web_ui_test.cc', 'browser/ui/webui/bidi_checker_web_ui_test.h', 'browser/ui/webui/bookmarks_ui_browsertest.cc', 'browser/ui/webui/chrome_url_data_manager_browsertest.cc', 'browser/ui/webui/chromeos/set_time_ui_browsertest.js', 'browser/ui/webui/constrained_web_dialog_ui_browsertest.cc', 'browser/ui/webui/downloads_dom_handler_browsertest.cc', 'browser/ui/webui/downloads_ui_browsertest.cc', 'browser/ui/webui/downloads_ui_browsertest.h', 'browser/ui/webui/downloads_ui_browsertest.js', 'browser/ui/webui/extensions/chromeos/kiosk_apps_browsertest.js', 'browser/ui/webui/extensions/extension_settings_browsertest.cc', 'browser/ui/webui/extensions/extension_settings_browsertest.h', 'browser/ui/webui/extensions/extension_settings_browsertest.js', 'browser/ui/webui/help/help_browsertest.js', 'browser/ui/webui/identity_internals_ui_browsertest.cc', 'browser/ui/webui/identity_internals_ui_browsertest.h', 'browser/ui/webui/identity_internals_ui_browsertest.js', 'browser/ui/webui/inspect_ui_browsertest.cc', 'browser/ui/webui/net_internals/net_internals_ui_browsertest.cc', 'browser/ui/webui/net_internals/net_internals_ui_browsertest.h', 'browser/ui/webui/ntp/most_visited_browsertest.cc', 'browser/ui/webui/ntp/new_tab_page_sync_handler_browsertest.cc', 'browser/ui/webui/ntp/new_tab_ui_browsertest.cc', 'browser/ui/webui/options/autofill_options_browsertest.js', 'browser/ui/webui/options/browser_options_browsertest.js', 'browser/ui/webui/options/certificate_manager_browsertest.cc', 'browser/ui/webui/options/certificate_manager_browsertest.js', 'browser/ui/webui/options/clear_browser_data_browsertest.cc', 'browser/ui/webui/options/chromeos/accounts_options_browsertest.cc', 'browser/ui/webui/options/chromeos/accounts_options_browsertest.js', 'browser/ui/webui/options/chromeos/bluetooth_options_browsertest.js', 'browser/ui/webui/options/chromeos/date_time_options_browsertest.js', 'browser/ui/webui/options/chromeos/guest_mode_options_ui_browsertest.cc', 'browser/ui/webui/options/chromeos/shared_options_browsertest.cc', 'browser/ui/webui/options/content_options_browsertest.js', 'browser/ui/webui/options/content_settings_exception_area_browsertest.js', 'browser/ui/webui/options/cookies_view_browsertest.js', 'browser/ui/webui/options/edit_dictionary_browsertest.js', 'browser/ui/webui/options/font_settings_browsertest.js', 'browser/ui/webui/options/language_options_browsertest.js', 'browser/ui/webui/options/language_options_dictionary_download_browsertest.js', 'browser/ui/webui/options/manage_profile_browsertest.js', 'browser/ui/webui/options/options_browsertest.cc', 'browser/ui/webui/options/options_browsertest.js', 'browser/ui/webui/options/options_ui_browsertest.cc', 'browser/ui/webui/options/options_ui_browsertest.h', 'browser/ui/webui/options/password_manager_browsertest.js', 'browser/ui/webui/options/profile_settings_reset_browsertest.js', 'browser/ui/webui/options/preferences_browsertest.cc', 'browser/ui/webui/options/preferences_browsertest.h', 'browser/ui/webui/options/search_engine_manager_browsertest.js', 'browser/ui/webui/options/settings_app_browsertest.js', 'browser/ui/webui/options/settings_format_browsertest.js', 'browser/ui/webui/options/startup_page_list_browsertest.js', 'browser/ui/webui/password_manager_internals/password_manager_internals_ui_browsertest.cc', 'browser/ui/webui/policy_ui_browsertest.cc', 'browser/ui/webui/print_preview/print_preview_ui_browsertest.cc', 'browser/ui/webui/signin/user_manager_ui_browsertest.cc', 'browser/ui/webui/signin/inline_login_ui_browsertest.cc', 'browser/ui/webui/sync_internals_browsertest.js', 'browser/ui/webui/sync_setup_browsertest.js', 'browser/ui/webui/web_ui_test_handler.cc', 'browser/ui/webui/web_ui_test_handler.h', 'browser/unload_browsertest.cc', 'common/mac/mock_launchd.cc', 'common/mac/mock_launchd.h', 'common/time_format_browsertest.cc', 'renderer/chrome_content_renderer_client_browsertest.cc', 'renderer/autofill/autofill_renderer_browsertest.cc', 'renderer/autofill/form_autocomplete_browsertest.cc', 'renderer/autofill/form_autofill_browsertest.cc', 'renderer/autofill/page_click_tracker_browsertest.cc', 'renderer/autofill/password_autofill_agent_browsertest.cc', 'renderer/autofill/password_generation_agent_browsertest.cc', 'renderer/content_settings_observer_browsertest.cc', 'renderer/media/cast_session_browsertest.cc', 'renderer/printing/print_web_view_helper_browsertest.cc', 'renderer/safe_browsing/malware_dom_details_browsertest.cc', 'renderer/safe_browsing/phishing_classifier_browsertest.cc', 'renderer/safe_browsing/phishing_classifier_delegate_browsertest.cc', 'renderer/safe_browsing/phishing_dom_feature_extractor_browsertest.cc', 'renderer/translate/translate_helper_browsertest.cc', 'renderer/translate/translate_script_browsertest.cc', 'test/base/browser_tests_main.cc', 'test/base/chrome_render_view_test.cc', 'test/base/chrome_render_view_test.h', 'test/base/web_ui_browser_test.cc', 'test/base/web_ui_browser_test.h', 'test/base/web_ui_browser_test_browsertest.cc', 'test/base/in_process_browser_test_browsertest.cc', 'test/base/javascript_browser_test.cc', 'test/base/javascript_browser_test.h', 'test/base/tracing_browsertest.cc', 'test/base/test_chrome_web_ui_controller_factory.cc', 'test/base/test_chrome_web_ui_controller_factory.h', 'test/base/test_chrome_web_ui_controller_factory_browsertest.cc', 'test/data/chromeos/oobe_webui_browsertest.js', 'test/data/webui/about_invalidations_browsertest.js', 'test/data/webui/accessibility_audit_browsertest.js', 'test/data/webui/assertions.js', 'test/data/webui/async_gen.cc', 'test/data/webui/async_gen.h', 'test/data/webui/async_gen.js', 'test/data/webui/certificate_viewer_dialog_test.js', 'test/data/webui/certificate_viewer_ui_test-inl.h', 'test/data/webui/chrome_send_browsertest.cc', 'test/data/webui/chrome_send_browsertest.h', 'test/data/webui/chrome_send_browsertest.js', 'test/data/webui/history_browsertest.js', 'test/data/webui/history_ui_browsertest.cc', 'test/data/webui/history_ui_browsertest.h', 'test/data/webui/mock4js_browsertest.js', 'test/data/webui/net_internals/bandwidth_view.js', 'test/data/webui/net_internals/dns_view.js', 'test/data/webui/net_internals/events_view.js', 'test/data/webui/net_internals/hsts_view.js', 'test/data/webui/net_internals/log_util.js', 'test/data/webui/net_internals/log_view_painter.js', 'test/data/webui/net_internals/main.js', 'test/data/webui/net_internals/net_internals_test.js', 'test/data/webui/net_internals/prerender_view.js', 'test/data/webui/net_internals/test_view.js', 'test/data/webui/net_internals/timeline_view.js', 'test/data/webui/net_internals/waterfall_view.js', 'test/data/webui/ntp4.js', 'test/data/webui/ntp4_browsertest.cc', 'test/data/webui/ntp4_browsertest.h', 'test/data/webui/print_preview.cc', 'test/data/webui/print_preview.h', 'test/data/webui/print_preview.js', 'test/data/webui/sandboxstatus_browsertest.js', 'test/data/webui/webui_resource_browsertest.cc', 'test/gpu/gpu_feature_browsertest.cc', 'test/gpu/webgl_infobar_browsertest.cc', 'test/ppapi/ppapi_browsertest.cc', 'test/remoting/auth_browsertest.cc', 'test/remoting/launch_browsertest.cc', 'test/remoting/key_code_conv.cc', 'test/remoting/key_code_conv.h', 'test/remoting/key_code_map.h', 'test/remoting/me2me_browsertest.cc', 'test/remoting/page_load_notification_observer.cc', 'test/remoting/page_load_notification_observer.h', 'test/remoting/pin_browsertest.cc', 'test/remoting/remote_desktop_browsertest.cc', 'test/remoting/remote_desktop_browsertest.h', 'test/remoting/waiter.cc', 'test/remoting/waiter.h', # TODO(craig): Rename this and run from base_unittests when the test # is safe to run there. See http://crbug.com/78722 for details. '../base/files/file_path_watcher_browsertest.cc', ], 'rules': [ { 'rule_name': 'js2webui', 'extension': 'js', 'msvs_external_rule': 1, 'inputs': [ '<(gypv8sh)', '<(PRODUCT_DIR)/d8<(EXECUTABLE_SUFFIX)', '<(mock_js)', '<(test_api_js)', '<(js2gtest)', ], 'outputs': [ '<(INTERMEDIATE_DIR)/chrome/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_ROOT)-gen.cc', '<(PRODUCT_DIR)/test_data/chrome/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_ROOT).js', ], 'process_outputs_as_sources': 1, 'action': [ 'python', '<@(_inputs)', 'webui', '<(RULE_INPUT_PATH)', 'chrome/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_ROOT).js', '<@(_outputs)', ], }, ], 'msvs_settings': { 'VCLinkerTool': { 'conditions': [ ['incremental_chrome_dll==1', { 'UseLibraryDependencyInputs': "true", }], ], }, }, 'conditions': [ ['enable_one_click_signin==0', { 'sources!': [ 'browser/ui/sync/one_click_signin_bubble_links_delegate_browsertest.cc', ] }], ['enable_autofill_dialog==0', { 'sources!': [ 'browser/ui/autofill/autofill_dialog_controller_browsertest.cc', ] }], ['disable_nacl==0', { 'sources':[ 'browser/extensions/extension_nacl_browsertest.cc', 'browser/nacl_host/test/gdb_debug_stub_browsertest.cc', ], 'dependencies': [ # Runtime dependency. '../ppapi/native_client/src/trusted/plugin/plugin.gyp:ppGoogleNaClPluginChrome', ], 'conditions': [ ['disable_nacl_untrusted==0', { 'sources': [ 'test/nacl/nacl_browsertest.cc', 'test/nacl/nacl_browsertest_uma.cc', 'test/nacl/nacl_browsertest_util.cc', 'test/nacl/nacl_browsertest_util.h', 'test/nacl/pnacl_header_test.cc', 'test/nacl/pnacl_header_test.h', ], 'dependencies': [ 'test/data/nacl/nacl_test_data.gyp:*', '../ppapi/native_client/native_client.gyp:nacl_irt', '../ppapi/ppapi_nacl.gyp:ppapi_nacl_tests', '../ppapi/tests/extensions/extensions.gyp:ppapi_tests_extensions_background_keepalive', '../ppapi/tests/extensions/extensions.gyp:ppapi_tests_extensions_media_galleries', ], 'conditions': [ ['chromeos==1', { 'sources': [ '../third_party/liblouis/nacl_wrapper/liblouis_wrapper_browsertest.cc', ], 'dependencies': [ 'browser_chromeos', '../third_party/liblouis/liblouis_nacl.gyp:liblouis_test_data', ], }], ], }], ['OS=="win" or OS=="linux"', { 'sources': [ 'browser/nacl_host/test/nacl_gdb_browsertest.cc', ], 'dependencies': [ 'browser/nacl_host/test/mock_nacl_gdb.gyp:mock_nacl_gdb', ], }], ['OS=="win"', { # TODO(halyavin) NaCl on Windows can't open debug stub socket # in browser process as needed by this test. # See http://crbug.com/157312. 'sources!': [ 'browser/nacl_host/test/gdb_debug_stub_browsertest.cc', ], 'dependencies': [ 'chrome.gyp:chrome_nacl_win64', ], }], ['OS=="linux"', { 'dependencies': [ '../native_client/src/trusted/service_runtime/linux/nacl_bootstrap.gyp:nacl_helper_bootstrap', '../components/nacl.gyp:nacl_helper', ], }], ['chromeos==0', { 'sources!': [ 'test/data/chromeos/oobe_webui_browsertest.js', ], }], ], }], ['debug_devtools==1', { 'defines': [ 'DEBUG_DEVTOOLS=1', ], }], ['use_ash==1', { 'dependencies': [ '../ash/ash.gyp:ash_test_support', ], }], ['use_aura==1 or toolkit_views==1', { 'dependencies': [ '../ui/events/events.gyp:events_test_support', ], }], ['chromeos==0', { 'sources/': [ ['exclude', '^browser/chromeos'], ['exclude', '^browser/ui/webui/options/chromeos/'], ], 'sources!': [ 'browser/extensions/api/enterprise_platform_keys/enterprise_platform_keys_apitest_nss.cc', 'browser/extensions/api/terminal/terminal_private_apitest.cc', 'browser/invalidation/profile_invalidation_provider_factory_browsertest.cc', 'browser/net/nss_context_chromeos_browsertest.cc', 'browser/notifications/login_state_notification_blocker_chromeos_browsertest.cc', 'browser/ui/views/select_file_dialog_extension_browsertest.cc', 'test/data/webui/certificate_viewer_dialog_test.js', 'test/data/webui/certificate_viewer_ui_test-inl.h', ], }, { # chromeos==1 'sources!': [ '../apps/load_and_launch_browsertest.cc', 'browser/printing/cloud_print/test/cloud_print_policy_browsertest.cc', 'browser/printing/cloud_print/test/cloud_print_proxy_process_browsertest.cc', # chromeos does not support profile list avatar menu 'browser/profiles/profile_list_desktop_browsertest.cc', 'browser/service_process/service_process_control_browsertest.cc', 'browser/signin/signin_browsertest.cc', # chromeos does not use cross-platform panels 'browser/ui/panels/panel_extension_browsertest.cc', # chromeos does not use the desktop user manager 'browser/ui/webui/signin/user_manager_ui_browsertest.cc', ], 'dependencies': [ '../dbus/dbus.gyp:dbus_test_support', '../build/linux/system.gyp:dbus', ], }], ['configuration_policy==0', { 'sources/': [ ['exclude', '^browser/policy/'], ], 'sources!': [ 'browser/ui/webui/options/certificate_manager_browsertest.cc', 'browser/ui/webui/options/preferences_browsertest.cc', 'browser/ui/webui/policy_ui_browsertest.cc', ], }], ['input_speech==0', { 'sources/': [ ['exclude', '^browser/speech/'], ['exclude', '^../content/browser/speech/'], ], }], ['safe_browsing==1', { 'defines': [ 'FULL_SAFE_BROWSING', ], }], # TODO(sgurun) enable tests. ['safe_browsing==2', { 'sources/': [ ['exclude', '^browser/safe_browsing/'], ['exclude', '^renderer/safe_browsing/'], ], }], ['safe_browsing==0', { 'sources/': [ ['exclude', '^browser/safe_browsing/'], ['exclude', '^renderer/safe_browsing/'], ], }], ['enable_captive_portal_detection!=1', { 'sources/': [ ['exclude', '^browser/captive_portal/'], ], }], ['enable_webrtc==0', { 'sources!': [ 'browser/extensions/api/webrtc_audio_private/webrtc_audio_private_browsertest.cc', 'browser/extensions/api/webrtc_logging_private/webrtc_logging_private_apitest.cc', 'browser/media/chrome_webrtc_browsertest.cc', 'browser/media/chrome_webrtc_disable_encryption_flag_browsertest.cc', 'browser/media/chrome_webrtc_getmediadevices_browsertest.cc', ], }], ['OS=="win"', { 'sources': [ '<(SHARED_INTERMEDIATE_DIR)/chrome_version/other_version.rc', '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources/ui_unscaled_resources.rc', ], 'include_dirs': [ '<(DEPTH)/third_party/wtl/include', ], 'dependencies': [ 'chrome_version_resources', ], 'conditions': [ ['win_use_allocator_shim==1', { 'dependencies': [ '<(allocator_target)', ], }], ], }, { # else: OS != "win" 'sources!': [ 'app/chrome_command_ids.h', 'app/chrome_dll.rc', 'app/chrome_dll_resource.h', 'app/chrome_version.rc.version', ], }], ['chromeos==0 and use_aura==1', { 'sources!': [ # On Windows and Linux, we currently don't support enough of the # ash environment to run these unit tests. # # TODO: enable these on windows and linux. 'browser/chromeos/system/tray_accessibility_browsertest.cc', 'browser/ui/ash/accelerator_commands_browsertest.cc', 'browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc', 'browser/ui/ash/launcher/launcher_favicon_loader_browsertest.cc', 'browser/ui/ash/shelf_browsertest.cc', 'browser/ui/views/frame/app_non_client_frame_view_ash_browsertest.cc', 'browser/ui/views/frame/browser_non_client_frame_view_ash_browsertest.cc', ], }], ['OS=="linux"', { 'dependencies': [ '../build/linux/system.gyp:ssl', ], }], ['OS=="mac"', { # TODO(mark): We really want this for all non-static library # targets, but when we tried to pull it up to the common.gypi # level, it broke other things like the ui and startup tests. *shrug* 'xcode_settings': { 'OTHER_LDFLAGS': [ '-Wl,-ObjC', ], }, # Other platforms only need # chrome_resources.gyp:{packed_extra_resources,packed_resources}, # and can build this target standalone much faster. 'dependencies': [ 'chrome', '../components/components.gyp:breakpad_stubs', '../third_party/ocmock/ocmock.gyp:ocmock', ], 'sources': [ 'browser/renderer_host/chrome_render_widget_host_view_mac_delegate_browsertest.cc', 'browser/renderer_host/chrome_render_widget_host_view_mac_history_swiper_browsertest.mm', 'browser/spellchecker/spellcheck_message_filter_mac_browsertest.cc', ], 'sources!': [ # TODO(groby): This test depends on hunspell and we cannot run it on # Mac, which does not use hunspell by default. 'browser/spellchecker/spellcheck_service_browsertest.cc', # TODO(rouslan): This test depends on the custom dictionary UI, # which is disabled on Mac. 'browser/ui/webui/options/edit_dictionary_browsertest.js', # TODO(rouslan): This test depends on hunspell and we cannot run it # on Mac, which does use hunspell by default. 'browser/ui/webui/options/language_options_dictionary_download_browsertest.js', # ProcessSingletonMac doesn't do anything. 'browser/process_singleton_browsertest.cc', # This test depends on GetCommandLineForRelaunch, which is not # available on Mac. 'browser/printing/cloud_print/test/cloud_print_policy_browsertest.cc', # single-process mode hangs on Mac sometimes because of multiple UI # message loops. See 306348 'renderer/safe_browsing/phishing_classifier_browsertest.cc', 'renderer/safe_browsing/phishing_classifier_delegate_browsertest.cc', 'renderer/safe_browsing/phishing_dom_feature_extractor_browsertest.cc', ], }], ['OS=="mac" or OS=="win"', { 'sources': [ 'browser/media_galleries/fileapi/itunes_data_provider_browsertest.cc', 'browser/media_galleries/fileapi/picasa_data_provider_browsertest.cc', ], }], ['OS=="mac"', { 'sources': [ 'browser/media_galleries/fileapi/iphoto_data_provider_browsertest.cc', ], }], ['os_posix == 0 or chromeos == 1', { 'sources!': [ 'common/time_format_browsertest.cc', ], }], ['OS=="android"', { 'sources!': [ 'browser/policy/cloud/component_cloud_policy_browsertest.cc', 'browser/prefs/pref_hash_browsertest.cc', ], }], ['os_posix == 1 and OS != "mac" and OS != "android"', { 'conditions': [ ['use_allocator!="none"', { 'dependencies': [ '../base/allocator/allocator.gyp:allocator', ], }], ], }], ['OS=="win" or OS == "mac"', { 'dependencies': [ '../components/components.gyp:wifi_test_support', ], }], ['chromeos == 1 or OS=="win" or OS == "mac"', { 'sources': [ 'browser/extensions/api/networking_private/networking_private_apitest.cc', ], }], ['toolkit_views==1', { 'dependencies': [ '../ui/views/views.gyp:views', ], 'sources!': [ # TODO(estade): port to views. 'browser/ui/webui/constrained_web_dialog_ui_browsertest.cc', ], }, { # else: toolkit_views == 0 'sources/': [ ['exclude', '^../ui/views/'], ['exclude', '^browser/ui/views/'], ], }], ['OS!="android" and OS!="ios"', { 'dependencies': [ # build time dependency. '../v8/src/d8.gyp:d8#host', ], }], ['OS!="android" and OS!="ios" and OS!="linux"', { # npapi test plugin doesn't build on android or ios 'dependencies': [ # build time dependency. '../content/content_shell_and_tests.gyp:copy_npapi_test_plugin', ], }], ['enable_app_list==0', { 'sources/': [ ['exclude', '^browser/apps/drive/'], ['exclude', '^browser/ui/app_list/'], ['exclude', '^browser/ui/webui/app_list/'], ], }], ['enable_pepper_cdms==1', { 'dependencies': [ # Runtime dependencies. '../third_party/widevine/cdm/widevine_cdm.gyp:widevinecdmadapter', '../media/media.gyp:clearkeycdmadapter', ], }], ['enable_printing!=1', { 'sources/': [ ['exclude', '^browser/extensions/api/cloud_print_private/cloud_print_private_apitest.cc'], ['exclude', '^browser/printing/cloud_print/test/.*'], ['exclude', '^browser/printing/print_preview_dialog_controller_browsertest.cc'], ['exclude', '^browser/ui/webui/print_preview/print_preview_ui_browsertest.cc'], ['exclude', '^renderer/printing/print_web_view_helper_browsertest.cc'], ['exclude', '^test/data/webui/print_preview.cc'], ['exclude', '^test/data/webui/print_preview.h'], ['exclude', '^test/data/webui/print_preview.js'], ], }], ['enable_mdns==1', { 'sources' : [ 'browser/ui/webui/local_discovery/local_discovery_ui_browsertest.cc', ] }], [ 'use_brlapi==0', { 'sources!': [ 'browser/extensions/api/braille_display_private/braille_display_private_apitest.cc' ] }], ['branding=="Chrome"', { 'sources!': [ # crbug.com/230471 'test/data/webui/accessibility_audit_browsertest.js', # These tests depend on single process mode, which is disabled in # official builds. 'renderer/safe_browsing/phishing_classifier_browsertest.cc', 'renderer/safe_browsing/phishing_classifier_delegate_browsertest.cc', 'renderer/safe_browsing/phishing_dom_feature_extractor_browsertest.cc', ] }], ['enable_autofill_dialog!=1 or OS=="android" or OS=="ios"', { 'dependencies!': [ '../third_party/libaddressinput/libaddressinput.gyp:libaddressinput', ], }], ['use_ozone==1', { 'sources!': [ # crbug.com/362698 'browser/chromeos/input_method/input_method_engine_browsertests.cc', 'browser/extensions/api/input_ime/input_ime_apitest_chromeos.cc', ], }], ['remoting==1', { 'dependencies': [ '../remoting/remoting.gyp:remoting_webapp', ] }, { 'sources/': [ ['exclude', '^test/remoting'], ], }], ['use_x11==1', { 'dependencies': [ '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', ], }], ], # conditions }, # target browser_tests { # Executable that runs each perf browser test in a new process. 'target_name': 'performance_browser_tests', 'type': 'executable', 'dependencies': [ 'browser', 'chrome_resources.gyp:chrome_resources', 'chrome_resources.gyp:chrome_strings', 'chrome_resources.gyp:packed_extra_resources', 'chrome_resources.gyp:packed_resources', 'renderer', 'test/perf/perf_test.gyp:*', 'test_support_common', '../base/base.gyp:base', '../base/base.gyp:base_i18n', '../base/base.gyp:test_support_base', '../media/cast/cast.gyp:cast_test_utility', '../net/net.gyp:net', '../net/net.gyp:net_test_support', '../skia/skia.gyp:skia', '../sync/sync.gyp:sync', '../testing/gmock.gyp:gmock', '../testing/gtest.gyp:gtest', '../testing/perf/perf_test.gyp:*', '../third_party/icu/icu.gyp:icui18n', '../third_party/icu/icu.gyp:icuuc', '../third_party/leveldatabase/leveldatabase.gyp:leveldatabase', '../v8/tools/gyp/v8.gyp:v8', # Runtime dependencies '../third_party/mesa/mesa.gyp:osmesa', ], 'include_dirs': [ '..', ], 'defines': [ 'HAS_OUT_OF_PROC_TEST_RUNNER', ], 'sources': [ '../components/autofill/content/renderer/test_password_autofill_agent.cc', '../components/autofill/content/renderer/test_password_autofill_agent.h', '../components/autofill/content/renderer/test_password_generation_agent.cc', '../components/autofill/content/renderer/test_password_generation_agent.h', 'app/chrome_command_ids.h', 'app/chrome_dll.rc', 'app/chrome_dll_resource.h', 'app/chrome_version.rc.version', 'browser/extensions/api/tab_capture/tab_capture_performancetest.cc', 'browser/extensions/api/cast_streaming/performance_test.cc', 'browser/extensions/browsertest_util.cc', 'browser/extensions/extension_apitest.cc', 'browser/extensions/extension_browsertest.cc', 'browser/extensions/extension_test_notification_observer.cc', 'browser/extensions/updater/extension_cache_fake.h', 'browser/extensions/updater/extension_cache_fake.cc', 'test/base/browser_perf_tests_main.cc', 'test/base/chrome_render_view_test.cc', 'test/base/chrome_render_view_test.h', 'test/perf/browser_perf_test.cc', 'test/perf/browser_perf_test.h', 'test/perf/mach_ports_performancetest.cc', ], 'rules': [ { 'rule_name': 'js2webui', 'extension': 'js', 'msvs_external_rule': 1, 'inputs': [ '<(gypv8sh)', '<(PRODUCT_DIR)/d8<(EXECUTABLE_SUFFIX)', '<(mock_js)', '<(test_api_js)', '<(js2gtest)', ], 'outputs': [ '<(INTERMEDIATE_DIR)/chrome/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_ROOT)-gen.cc', '<(PRODUCT_DIR)/test_data/chrome/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_ROOT).js', ], 'process_outputs_as_sources': 1, 'action': [ 'python', '<@(_inputs)', 'webui', '<(RULE_INPUT_PATH)', 'chrome/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_ROOT).js', '<@(_outputs)', ], }, ], 'conditions': [ ['OS=="win"', { 'sources': [ '<(SHARED_INTERMEDIATE_DIR)/chrome_version/other_version.rc', '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources/ui_unscaled_resources.rc', ], 'include_dirs': [ '<(DEPTH)/third_party/wtl/include', ], 'dependencies': [ 'chrome_version_resources', ], 'conditions': [ ['win_use_allocator_shim==1', { 'dependencies': [ '<(allocator_target)', ], }], ], 'configurations': { 'Debug_Base': { 'msvs_settings': { 'VCLinkerTool': { 'LinkIncremental': '<(msvs_debug_link_nonincremental)', }, }, }, } }, { # else: OS != "win" 'sources!': [ 'app/chrome_command_ids.h', 'app/chrome_dll.rc', 'app/chrome_dll_resource.h', 'app/chrome_version.rc.version', ], }], ['use_x11==1', { 'dependencies': [ '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', ], }], ['OS=="linux"', { 'dependencies': [ '../build/linux/system.gyp:ssl', ], }], ['OS=="mac"', { # TODO(mark): We really want this for all non-static library # targets, but when we tried to pull it up to the common.gypi # level, it broke other things like the ui and startup tests. *shrug* 'xcode_settings': { 'OTHER_LDFLAGS': [ '-Wl,-ObjC', ], }, # Other platforms only need # chrome_resources.gyp:{packed_extra_resources,packed_resources}, # and can build this target standalone much faster. 'dependencies': [ 'chrome', '../components/components.gyp:breakpad_stubs', ], }, { # OS!="mac" 'sources!': [ 'test/perf/mach_ports_performancetest.cc', ], }], ['os_posix == 1 and OS != "mac" and OS != "android"', { 'conditions': [ ['use_allocator!="none"', { 'dependencies': [ '../base/allocator/allocator.gyp:allocator', ], }], ], }], ], # conditions }, # target performance_browser_tests { 'target_name': 'test_support_sync_integration', 'type': 'static_library', 'dependencies': [ 'browser', 'chrome', 'test_support_common', '../base/base.gyp:base', '../components/components.gyp:invalidation', '../components/components.gyp:invalidation_test_support', '../net/net.gyp:net', '../skia/skia.gyp:skia', '../sync/sync.gyp:sync', '../sync/sync.gyp:test_support_sync_testserver', '../sync/sync.gyp:test_support_sync_fake_server', '../ui/app_list/app_list.gyp:app_list_test_support', ], 'include_dirs': [ '..', '<(INTERMEDIATE_DIR)', '<(protoc_out_dir)', ], 'direct_dependent_settings': { 'include_dirs': [ '..', '<(INTERMEDIATE_DIR)', '<(protoc_out_dir)', ], }, 'export_dependent_settings': [ 'browser', ], 'sources': [ 'browser/sync/test/integration/apps_helper.cc', 'browser/sync/test/integration/apps_helper.h', 'browser/sync/test/integration/autofill_helper.cc', 'browser/sync/test/integration/autofill_helper.h', 'browser/sync/test/integration/bookmarks_helper.cc', 'browser/sync/test/integration/bookmarks_helper.h', 'browser/sync/test/integration/dictionary_helper.cc', 'browser/sync/test/integration/dictionary_helper.h', 'browser/sync/test/integration/dictionary_load_observer.cc', 'browser/sync/test/integration/dictionary_load_observer.h', 'browser/sync/test/integration/extension_settings_helper.cc', 'browser/sync/test/integration/extension_settings_helper.h', 'browser/sync/test/integration/extensions_helper.cc', 'browser/sync/test/integration/extensions_helper.h', 'browser/sync/test/integration/fake_server_invalidation_service.cc', 'browser/sync/test/integration/fake_server_invalidation_service.h', 'browser/sync/test/integration/multi_client_status_change_checker.cc', 'browser/sync/test/integration/multi_client_status_change_checker.h', 'browser/sync/test/integration/passwords_helper.cc', 'browser/sync/test/integration/passwords_helper.h', 'browser/sync/test/integration/p2p_invalidation_forwarder.cc', 'browser/sync/test/integration/p2p_invalidation_forwarder.h', 'browser/sync/test/integration/preferences_helper.cc', 'browser/sync/test/integration/preferences_helper.h', 'browser/sync/test/integration/profile_sync_service_harness.cc', 'browser/sync/test/integration/profile_sync_service_harness.h', 'browser/sync/test/integration/quiesce_status_change_checker.cc', 'browser/sync/test/integration/quiesce_status_change_checker.h', 'browser/sync/test/integration/retry_verifier.cc', 'browser/sync/test/integration/retry_verifier.h', 'browser/sync/test/integration/search_engines_helper.cc', 'browser/sync/test/integration/search_engines_helper.h', 'browser/sync/test/integration/sessions_helper.cc', 'browser/sync/test/integration/sessions_helper.h', 'browser/sync/test/integration/single_client_status_change_checker.cc', 'browser/sync/test/integration/single_client_status_change_checker.h', 'browser/sync/test/integration/status_change_checker.cc', 'browser/sync/test/integration/status_change_checker.h', 'browser/sync/test/integration/sync_app_helper.cc', 'browser/sync/test/integration/sync_app_helper.h', 'browser/sync/test/integration/sync_app_list_helper.cc', 'browser/sync/test/integration/sync_app_list_helper.h', 'browser/sync/test/integration/sync_datatype_helper.cc', 'browser/sync/test/integration/sync_datatype_helper.h', 'browser/sync/test/integration/sync_extension_helper.cc', 'browser/sync/test/integration/sync_extension_helper.h', 'browser/sync/test/integration/sync_integration_test_util.cc', 'browser/sync/test/integration/sync_integration_test_util.h', 'browser/sync/test/integration/sync_test.cc', 'browser/sync/test/integration/sync_test.h', 'browser/sync/test/integration/themes_helper.cc', 'browser/sync/test/integration/themes_helper.h', 'browser/sync/test/integration/typed_urls_helper.cc', 'browser/sync/test/integration/typed_urls_helper.h', 'browser/sync/test/integration/updated_progress_marker_checker.cc', 'browser/sync/test/integration/updated_progress_marker_checker.h', ], 'conditions': [ ['OS=="mac"', { # Dictionary sync is disabled on Mac. 'sources!': [ 'browser/sync/test/integration/dictionary_helper.cc', 'browser/sync/test/integration/dictionary_helper.h', 'browser/sync/test/integration/dictionary_load_observer.cc', 'browser/sync/test/integration/dictionary_load_observer.h', ], }], ['enable_app_list==0', { 'sources!': [ 'browser/sync/test/integration/sync_app_list_helper.cc', 'browser/sync/test/integration/sync_app_list_helper.h', ], }], ] }, { 'target_name': 'sync_integration_tests', 'type': 'executable', 'dependencies': [ 'chrome_resources.gyp:chrome_resources', 'chrome_resources.gyp:chrome_strings', 'chrome_resources.gyp:packed_extra_resources', 'chrome_resources.gyp:packed_resources', 'common', 'renderer', 'test_support_sync_integration', '../sync/sync.gyp:sync', '../testing/gmock.gyp:gmock', '../testing/gtest.gyp:gtest', '../third_party/icu/icu.gyp:icui18n', '../third_party/icu/icu.gyp:icuuc', '../third_party/leveldatabase/leveldatabase.gyp:leveldatabase', '../third_party/npapi/npapi.gyp:npapi', '../third_party/WebKit/public/blink.gyp:blink', ], 'include_dirs': [ '..', '<(INTERMEDIATE_DIR)', '<(protoc_out_dir)', ], # TODO(phajdan.jr): Only temporary, to make transition easier. 'defines': [ 'HAS_OUT_OF_PROC_TEST_RUNNER', ], 'sources': [ 'app/chrome_command_ids.h', 'app/chrome_dll.rc', 'app/chrome_dll_resource.h', 'app/chrome_version.rc.version', 'test/base/browser_tests_main.cc', 'test/data/resource.rc', 'browser/sync/test/integration/cross_platform_sync_test.cc', 'browser/sync/test/integration/enable_disable_test.cc', 'browser/sync/test/integration/migration_test.cc', 'browser/sync/test/integration/multiple_client_bookmarks_sync_test.cc', 'browser/sync/test/integration/multiple_client_dictionary_sync_test.cc', 'browser/sync/test/integration/multiple_client_passwords_sync_test.cc', 'browser/sync/test/integration/multiple_client_preferences_sync_test.cc', 'browser/sync/test/integration/multiple_client_sessions_sync_test.cc', 'browser/sync/test/integration/multiple_client_typed_urls_sync_test.cc', 'browser/sync/test/integration/passwords_helper.cc', 'browser/sync/test/integration/passwords_helper.h', 'browser/sync/test/integration/preferences_helper.cc', 'browser/sync/test/integration/preferences_helper.h', 'browser/sync/test/integration/search_engines_helper.cc', 'browser/sync/test/integration/search_engines_helper.h', 'browser/sync/test/integration/sessions_helper.cc', 'browser/sync/test/integration/sessions_helper.h', 'browser/sync/test/integration/single_client_app_list_sync_test.cc', 'browser/sync/test/integration/single_client_apps_sync_test.cc', 'browser/sync/test/integration/single_client_backup_rollback_test.cc', 'browser/sync/test/integration/single_client_bookmarks_sync_test.cc', 'browser/sync/test/integration/single_client_dictionary_sync_test.cc', 'browser/sync/test/integration/single_client_extensions_sync_test.cc', 'browser/sync/test/integration/single_client_managed_user_settings_sync_test.cc', 'browser/sync/test/integration/single_client_passwords_sync_test.cc', 'browser/sync/test/integration/single_client_preferences_sync_test.cc', 'browser/sync/test/integration/single_client_search_engines_sync_test.cc', 'browser/sync/test/integration/single_client_sessions_sync_test.cc', 'browser/sync/test/integration/single_client_themes_sync_test.cc', 'browser/sync/test/integration/single_client_typed_urls_sync_test.cc', 'browser/sync/test/integration/sync_auth_test.cc', 'browser/sync/test/integration/sync_errors_test.cc', 'browser/sync/test/integration/sync_exponential_backoff_test.cc', 'browser/sync/test/integration/two_client_app_list_sync_test.cc', 'browser/sync/test/integration/two_client_apps_sync_test.cc', 'browser/sync/test/integration/two_client_autofill_sync_test.cc', 'browser/sync/test/integration/two_client_bookmarks_sync_test.cc', 'browser/sync/test/integration/two_client_dictionary_sync_test.cc', 'browser/sync/test/integration/two_client_extension_settings_and_app_settings_sync_test.cc', 'browser/sync/test/integration/two_client_extensions_sync_test.cc', 'browser/sync/test/integration/two_client_passwords_sync_test.cc', 'browser/sync/test/integration/two_client_preferences_sync_test.cc', 'browser/sync/test/integration/two_client_search_engines_sync_test.cc', 'browser/sync/test/integration/two_client_sessions_sync_test.cc', 'browser/sync/test/integration/two_client_themes_sync_test.cc', 'browser/sync/test/integration/two_client_typed_urls_sync_test.cc', ], 'conditions': [ ['OS=="linux"', { 'dependencies': [ '../build/linux/system.gyp:ssl', ], }], ['OS=="mac"', { # The sync_integration_tests do not run on mac without this flag. # Search for comments about "xcode_settings" elsewhere in this file. 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-ObjC']}, # Dictionary sync is disabled on Mac. 'sources!': [ 'browser/sync/test/integration/multiple_client_dictionary_sync_test.cc', 'browser/sync/test/integration/single_client_dictionary_sync_test.cc', 'browser/sync/test/integration/two_client_dictionary_sync_test.cc', ], }], ['OS=="win"', { 'sources': [ '<(SHARED_INTERMEDIATE_DIR)/chrome_version/other_version.rc', '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources/ui_unscaled_resources.rc', ], 'include_dirs': [ '<(DEPTH)/third_party/wtl/include', ], 'dependencies': [ 'chrome_version_resources', ], 'conditions': [ ['win_use_allocator_shim==1', { 'dependencies': [ '<(allocator_target)', ], }], ], 'configurations': { 'Debug': { 'msvs_settings': { 'VCLinkerTool': { 'LinkIncremental': '<(msvs_debug_link_nonincremental)', }, }, }, }, }, { # else: OS != "win" 'sources!': [ 'app/chrome_dll.rc', 'app/chrome_version.rc.version', 'test/data/resource.rc', ], }], ['toolkit_views==1', { 'dependencies': [ '../ui/views/views.gyp:views', ], }], ['enable_printing!=0', { 'dependencies': [ '../printing/printing.gyp:printing', ], }], ['enable_app_list==0', { 'sources!': [ 'browser/sync/test/integration/single_client_app_list_sync_test.cc', 'browser/sync/test/integration/two_client_app_list_sync_test.cc', ], }], ], }, { 'target_name': 'sync_performance_tests', 'type': 'executable', 'dependencies': [ 'test/perf/perf_test.gyp:*', 'test_support_sync_integration', '../sync/sync.gyp:sync', '../testing/gmock.gyp:gmock', '../testing/gtest.gyp:gtest', ], 'include_dirs': [ '..', '<(INTERMEDIATE_DIR)', '<(protoc_out_dir)', ], 'defines': [ 'HAS_OUT_OF_PROC_TEST_RUNNER', ], 'sources': [ 'app/chrome_command_ids.h', 'app/chrome_dll.rc', 'app/chrome_dll_resource.h', 'app/chrome_version.rc.version', 'browser/sync/test/integration/performance/autofill_sync_perf_test.cc', 'browser/sync/test/integration/performance/bookmarks_sync_perf_test.cc', 'browser/sync/test/integration/performance/dictionary_sync_perf_test.cc', 'browser/sync/test/integration/performance/extensions_sync_perf_test.cc', 'browser/sync/test/integration/performance/sync_timing_helper.cc', 'browser/sync/test/integration/performance/sync_timing_helper.h', 'browser/sync/test/integration/performance/passwords_sync_perf_test.cc', 'browser/sync/test/integration/performance/sessions_sync_perf_test.cc', 'browser/sync/test/integration/performance/typed_urls_sync_perf_test.cc', 'test/base/browser_perf_tests_main.cc', 'test/data/resource.rc', ], 'conditions': [ ['OS=="linux"', { 'dependencies': [ '../build/linux/system.gyp:ssl', ], }], ['OS=="mac"', { # The sync_performance_tests do not run on mac without this flag. # Search for comments about "xcode_settings" elsewhere in this file. 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-ObjC']}, # Dictionary sync is disabled on Mac. 'sources!': [ 'browser/sync/test/integration/performance/dictionary_sync_perf_test.cc', ], }], ['OS=="win"', { 'sources': [ '<(SHARED_INTERMEDIATE_DIR)/chrome_version/other_version.rc', ], 'include_dirs': [ '<(DEPTH)/third_party/wtl/include', ], 'dependencies': [ 'chrome_version_resources', ], 'conditions': [ ['win_use_allocator_shim==1', { 'dependencies': [ '<(allocator_target)', ], }], ], 'configurations': { 'Debug': { 'msvs_settings': { 'VCLinkerTool': { 'LinkIncremental': '<(msvs_debug_link_nonincremental)', }, }, }, }, }, { # else: OS != "win" 'sources!': [ 'app/chrome_dll.rc', 'app/chrome_version.rc.version', 'test/data/resource.rc', ], }], ['toolkit_views==1', { 'dependencies': [ '../ui/views/views.gyp:views', ], }], ], }, { # Executable to measure time to load libraries. 'target_name': 'load_library_perf_tests', 'type': '<(gtest_target_type)', 'dependencies': [ '../base/base.gyp:test_support_perf', '../testing/gtest.gyp:gtest', '../testing/perf/perf_test.gyp:*', '../third_party/widevine/cdm/widevine_cdm.gyp:widevine_cdm_version_h', ], 'sources': [ 'browser/load_library_perf_test.cc', ], 'include_dirs': [ '..', '<(SHARED_INTERMEDIATE_DIR)', ], 'conditions': [ ['enable_pepper_cdms==1', { 'dependencies': [ # Runtime dependencies. '../media/media.gyp:clearkeycdmadapter', '../third_party/widevine/cdm/widevine_cdm.gyp:widevinecdmadapter', ], }], ], }, # target 'load_library_perf_tests' # temporary target to keep cros compiling until it removes references to pyauto { 'target_name': 'pyautolib', 'type': 'none', 'dependencies': [ '../base/base.gyp:base', '../base/base.gyp:run_all_unittests', '../testing/gtest.gyp:gtest', ], 'include_dirs': [ '..,' ], }, ], 'conditions': [ ['OS=="mac"', { 'targets': [ { # Tests for Mac app launcher. 'target_name': 'app_mode_app_tests', 'type': 'executable', 'product_name': 'app_mode_app_tests', 'dependencies': [ '../base/base.gyp:test_support_base', '../chrome/common_constants.gyp:common_constants', '../testing/gtest.gyp:gtest', 'chrome.gyp:chrome', # run time dependency 'app_mode_app_support', ], 'sources': [ 'common/mac/app_mode_chrome_locator_unittest.mm', 'test/base/app_mode_app_tests.cc', ], 'include_dirs': [ '..', ], 'link_settings': { 'libraries': [ '$(SDKROOT)/System/Library/Frameworks/CoreFoundation.framework', '$(SDKROOT)/System/Library/Frameworks/Foundation.framework', ], }, }, # target app_mode_app_tests ], }], ['OS!="mac"', { 'targets': [ { 'target_name': 'perf_tests', 'type': 'executable', 'dependencies': [ 'browser', 'chrome_resources.gyp:chrome_resources', 'chrome_resources.gyp:chrome_strings', 'common', 'renderer', '../content/content.gyp:content_gpu', '../content/content_shell_and_tests.gyp:test_support_content', '../base/base.gyp:base', '../base/base.gyp:test_support_base', '../base/base.gyp:test_support_perf', '../skia/skia.gyp:skia', '../testing/gtest.gyp:gtest', ], 'sources': [ 'test/perf/perftests.cc', 'test/perf/url_parse_perftest.cc', '../content/browser/net/sqlite_persistent_cookie_store_perftest.cc', ], 'conditions': [ ['use_x11==1', { 'dependencies': [ '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', ], }], ['OS=="win"', { 'configurations': { 'Debug_Base': { 'msvs_settings': { 'VCLinkerTool': { 'LinkIncremental': '<(msvs_large_module_debug_link_mode)', }, }, }, }, 'conditions': [ ['win_use_allocator_shim==1', { 'dependencies': [ '<(allocator_target)', ], }], ], }], ['toolkit_views==1', { 'dependencies': [ '../ui/views/views.gyp:views', ], }], ['os_posix == 1 and OS != "mac" and OS != "android"', { 'conditions': [ ['use_allocator!="none"', { 'dependencies': [ '../base/allocator/allocator.gyp:allocator', ], }], ], }], ['OS=="linux" and enable_webrtc==1', { 'dependencies': [ '../third_party/libjingle/libjingle.gyp:libpeerconnection', ], }], ], }, ], },], # OS!="mac" ['OS == "android"', { 'targets': [ { 'target_name': 'chrome_shell_test_apk', 'type': 'none', 'dependencies': [ 'chrome_java', 'chrome_shell_apk_java', 'chrome_java_test_support', '../base/base.gyp:base', '../base/base.gyp:base_java_test_support', '../content/content_shell_and_tests.gyp:content_java_test_support', '../sync/sync.gyp:sync_javatests', ], 'variables': { 'apk_name': 'ChromeShellTest', 'java_in_dir': 'android/shell/javatests', 'additional_src_dirs': ['android/javatests/src'], 'is_test_apk': 1, }, 'includes': [ '../build/java_apk.gypi' ], }, { 'target_name': 'chromedriver_webview_shell_apk', 'type': 'none', 'variables': { 'apk_name': 'ChromeDriverWebViewShell', 'java_in_dir': 'test/chromedriver/test/webview_shell/java', 'resource_dir': 'test/chromedriver/test/webview_shell/java/res', }, 'includes': [ '../build/java_apk.gypi' ], }, { 'target_name': 'chrome_shell_uiautomator_tests_java', 'type': 'none', 'variables': { 'java_in_dir': 'android/uiautomator_tests', }, 'dependencies': [ '../base/base.gyp:base_java_test_support', '../third_party/android_tools/android_tools.gyp:uiautomator_jar', ], 'includes': [ '../build/java.gypi' ], }, { 'target_name': 'chrome_shell_uiautomator_tests', 'type': 'none', 'dependencies': [ 'chrome_shell_uiautomator_tests_java', ], 'includes': [ '../build/uiautomator_test.gypi' ], }, { 'target_name': 'chrome_java_test_support', 'type': 'none', 'variables': { 'package_name': 'chrome_java_test_support', 'java_in_dir': '../chrome/test/android/javatests', }, 'dependencies': [ 'chrome_java', '../content/content_shell_and_tests.gyp:content_java_test_support', '../sync/sync.gyp:sync_java', '../sync/sync.gyp:sync_java_test_support', ], 'includes': [ '../build/java.gypi' ], }, ], }], ['test_isolation_mode != "noop"', { 'targets': [ { 'target_name': 'angle_unittests_run', 'type': 'none', 'dependencies': [ '../gpu/gpu.gyp:angle_unittests', ], 'includes': [ '../build/isolate.gypi', 'angle_unittests.isolate', ], 'sources': [ 'angle_unittests.isolate', ], }, { 'target_name': 'browser_tests_run', 'type': 'none', 'dependencies': [ '../content/content_shell_and_tests.gyp:copy_test_netscape_plugin', 'browser_tests', 'chrome', ], 'includes': [ '../build/isolate.gypi', 'browser_tests.isolate', ], 'sources': [ 'browser_tests.isolate', ], }, { 'target_name': 'content_gl_tests_run', 'type': 'none', 'dependencies': [ '../content/content_shell_and_tests.gyp:content_gl_tests', 'chrome_run', ], 'includes': [ '../build/isolate.gypi', 'content_gl_tests.isolate', ], 'sources': [ 'content_gl_tests.isolate', ], }, { 'target_name': 'gles2_conform_test_run', 'type': 'none', 'dependencies': [ '../gpu/gles2_conform_support/gles2_conform_test.gyp:gles2_conform_test', ], 'includes': [ '../build/isolate.gypi', 'gles2_conform_test.isolate', ], 'sources': [ 'gles2_conform_test.isolate', ], }, { 'target_name': 'gl_tests_run', 'type': 'none', 'dependencies': [ '../gpu/gpu.gyp:gl_tests', ], 'includes': [ '../build/isolate.gypi', 'gl_tests.isolate', ], 'sources': [ 'gl_tests.isolate', ], }, { 'target_name': 'interactive_ui_tests_run', 'type': 'none', 'dependencies': [ 'interactive_ui_tests', ], 'conditions': [ ['use_x11 == 1', { 'dependencies': [ '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', ], }], ], 'includes': [ '../build/isolate.gypi', 'interactive_ui_tests.isolate', ], 'sources': [ 'interactive_ui_tests.isolate', ], }, { 'target_name': 'sync_integration_tests_run', 'type': 'none', 'dependencies': [ 'sync_integration_tests', ], 'conditions': [ ['use_x11 == 1', { 'dependencies': [ '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', ], }], ], 'includes': [ '../build/isolate.gypi', 'sync_integration_tests.isolate', ], 'sources': [ 'sync_integration_tests.isolate', ], }, { 'target_name': 'tab_capture_end2end_tests_run', 'type': 'none', 'dependencies': [ 'browser_tests_run', ], 'includes': [ '../build/isolate.gypi', 'tab_capture_end2end_tests.isolate', ], 'sources': [ 'tab_capture_end2end_tests.isolate', ], }, { 'target_name': 'tab_capture_performance_tests_run', 'type': 'none', 'dependencies': [ 'performance_browser_tests', 'chrome_run', ], 'includes': [ '../build/isolate.gypi', 'tab_capture_performance_tests.isolate', ], 'sources': [ 'tab_capture_performance_tests.isolate', ], }, { 'target_name': 'telemetry_gpu_test_run', 'type': 'none', 'dependencies': [ 'chrome_run', '../tools/telemetry/telemetry.gyp:bitmaptools#host', ], 'includes': [ '../build/isolate.gypi', 'telemetry_gpu_test.isolate', ], 'sources': [ 'telemetry_gpu_test.isolate', ], }, ], }], [ 'enable_mdns == 1', { 'targets': [{ 'target_name': 'service_discovery_sniffer', 'type': 'executable', 'dependencies': [ '../net/net.gyp:net', '../base/base.gyp:base', '../base/base.gyp:test_support_base', 'utility', ], 'sources': [ 'tools/service_discovery_sniffer/service_discovery_sniffer.h', 'tools/service_discovery_sniffer/service_discovery_sniffer.cc', ], 'conditions': [ ['enable_webrtc==1', { 'dependencies': [ '../third_party/libjingle/libjingle.gyp:libjingle_webrtc' ] }], ], }] }], ], # 'conditions' }