| # Copyright 2014 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. |
| |
| import("//build/config/buildflags_paint_preview.gni") |
| import("//build/config/chrome_build.gni") |
| import("//build/config/chromeos/ui_mode.gni") |
| import("//build/config/compiler/compiler.gni") |
| import("//build/config/crypto.gni") |
| import("//build/config/features.gni") |
| import("//build/config/ui.gni") |
| import("//build/toolchain/toolchain.gni") |
| import("//build/util/version.gni") |
| import("//chrome/browser/buildflags.gni") |
| import("//chrome/browser/downgrade/buildflags.gni") |
| import("//chrome/browser/page_load_metrics/integration_tests/jsdeps.gni") |
| import("//chrome/browser/page_load_metrics/integration_tests/sources.gni") |
| import("//chrome/common/features.gni") |
| import("//chrome/services/machine_learning/features.gni") |
| import("//chrome/services/speech/buildflags.gni") |
| import("//chrome/test/base/js2gtest.gni") |
| import("//chrome/test/include_js_tests.gni") |
| import("//chromeos/assistant/assistant.gni") |
| import("//components/captive_portal/core/features.gni") |
| import("//components/feed/features.gni") |
| import("//components/gwp_asan/buildflags/buildflags.gni") |
| import("//components/nacl/features.gni") |
| import("//components/offline_pages/buildflags/features.gni") |
| import("//components/os_crypt/features.gni") |
| import("//components/signin/features.gni") |
| import("//components/spellcheck/spellcheck_build_features.gni") |
| import("//extensions/buildflags/buildflags.gni") |
| import("//mojo/public/tools/bindings/mojom.gni") |
| import("//net/features.gni") |
| import("//ppapi/buildflags/buildflags.gni") |
| import("//printing/buildflags/buildflags.gni") |
| import("//rlz/buildflags/buildflags.gni") |
| import("//testing/libfuzzer/fuzzer_test.gni") |
| import("//testing/test.gni") |
| import("//third_party/protobuf/proto_library.gni") |
| import("//third_party/widevine/cdm/widevine.gni") |
| import("//ui/base/ui_features.gni") |
| import("//ui/gl/features.gni") |
| import("//ui/views/features.gni") |
| import("//ui/webui/webui_features.gni") |
| import("//v8/gni/v8.gni") |
| |
| assert(!is_ios, "Chromium/iOS shouldn't use anything in //chrome") |
| |
| if (is_android) { |
| import("//build/config/android/rules.gni") |
| import("//chrome/android/features/dev_ui/dev_ui_module.gni") |
| import("//tools/v8_context_snapshot/v8_context_snapshot.gni") |
| } |
| |
| # This target exists to reference other test executables to bring these files |
| # into the build. |
| group("test") { |
| testonly = true |
| } |
| |
| group("policy_testserver_pyproto") { |
| # Python proto files used by chrome/browser/policy/test/policy_testserver.py |
| |
| data = [ |
| "$root_out_dir/pyproto/components/policy/proto/device_management_backend_pb2.py", |
| "$root_out_dir/pyproto/components/policy/proto/cloud_policy_pb2.py", |
| "$root_out_dir/pyproto/components/policy/proto/policy_common_definitions_pb2.py", |
| "$root_out_dir/pyproto/third_party/shell-encryption/src/serialization_pb2.py", |
| "$root_out_dir/pyproto/third_party/private_membership/src/private_membership_pb2.py", |
| "$root_out_dir/pyproto/third_party/private_membership/src/private_membership_rlwe_pb2.py", |
| ] |
| |
| if (!is_android) { |
| # Used by chrome/browser/policy/test/policy_testserver.py |
| data += [ "$root_out_dir/pyproto/components/policy/proto/chrome_extension_policy_pb2.py" ] |
| } |
| |
| if (is_chromeos_ash) { |
| # Used by chrome/browser/policy/test/policy_testserver.py |
| data += [ "$root_out_dir/pyproto/components/policy/proto/chrome_device_policy_pb2.py" ] |
| } |
| } |
| |
| if (is_android) { |
| android_library("test_support_java") { |
| testonly = true |
| deps = [ |
| "//base:base_java", |
| "//chrome/android:chrome_all_java", |
| "//components/autofill/android:autofill_java", |
| "//components/payments/content/android:java", |
| "//components/payments/mojom:mojom_java", |
| "//content/public/android:content_java", |
| "//third_party/android_deps:androidx_annotation_annotation_java", |
| "//third_party/blink/public/mojom:android_mojo_bindings_java", |
| ] |
| sources = [ "android/test_support/src/org/chromium/chrome/test_support/PaymentRequestTestBridge.java" ] |
| } |
| |
| generate_jni("test_support_jni_headers") { |
| testonly = true |
| sources = [ "android/test_support/src/org/chromium/chrome/test_support/PaymentRequestTestBridge.java" ] |
| } |
| } |
| |
| # Use a static library here because many test binaries depend on this but don't |
| # require many files from it. This makes linking more efficient. |
| static_library("test_support") { |
| defines = [] |
| testonly = true |
| |
| sources = [ |
| "../browser/autofill/automated_tests/cache_replayer.cc", |
| "../browser/autofill/automated_tests/cache_replayer.h", |
| "../browser/notifications/notification_display_service_tester.cc", |
| "../browser/notifications/notification_display_service_tester.h", |
| "../browser/notifications/stub_notification_platform_bridge.cc", |
| "../browser/notifications/stub_notification_platform_bridge.h", |
| "../browser/password_manager/password_manager_test_util.cc", |
| "../browser/password_manager/password_manager_test_util.h", |
| "../browser/permissions/crowd_deny_fake_safe_browsing_database_manager.cc", |
| "../browser/permissions/crowd_deny_fake_safe_browsing_database_manager.h", |
| "../browser/search_engines/template_url_service_factory_test_util.cc", |
| "../browser/search_engines/template_url_service_factory_test_util.h", |
| "../browser/search_engines/template_url_service_test_util.cc", |
| "../browser/search_engines/template_url_service_test_util.h", |
| "../browser/signin/identity_test_environment_profile_adaptor.cc", |
| "../browser/signin/identity_test_environment_profile_adaptor.h", |
| "base/chrome_render_view_host_test_harness.cc", |
| "base/chrome_render_view_host_test_harness.h", |
| "base/chrome_test_launcher.cc", |
| "base/chrome_test_launcher.h", |
| "base/chrome_test_suite.cc", |
| "base/chrome_test_suite.h", |
| "base/chrome_test_utils.cc", |
| "base/chrome_test_utils.h", |
| "base/chrome_unit_test_suite.cc", |
| "base/chrome_unit_test_suite.h", |
| "base/find_result_waiter.cc", |
| "base/find_result_waiter.h", |
| "base/js_test_api.cc", |
| "base/js_test_api.h", |
| "base/scoped_browser_locale.cc", |
| "base/scoped_browser_locale.h", |
| "base/scoped_testing_local_state.cc", |
| "base/scoped_testing_local_state.h", |
| "base/search_test_utils.cc", |
| "base/search_test_utils.h", |
| "base/test_launcher_utils.cc", |
| "base/test_launcher_utils.h", |
| "base/test_switches.cc", |
| "base/test_switches.h", |
| "base/testing_browser_process.cc", |
| "base/testing_browser_process.h", |
| "base/testing_browser_process_platform_part.cc", |
| "base/testing_browser_process_platform_part.h", |
| "base/testing_profile.cc", |
| "base/testing_profile.h", |
| "base/testing_profile_key.cc", |
| "base/testing_profile_key.h", |
| "base/testing_profile_manager.cc", |
| "base/testing_profile_manager.h", |
| "base/tracing.cc", |
| "base/tracing.h", |
| ] |
| |
| if (is_mac) { |
| sources += [ |
| "base/launchservices_utils_mac.h", |
| "base/launchservices_utils_mac.mm", |
| "base/scoped_bundle_swizzler_mac.h", |
| "base/scoped_bundle_swizzler_mac.mm", |
| ] |
| } |
| |
| if (is_win) { |
| sources += [ |
| "base/process_inspector_win.cc", |
| "base/process_inspector_win.h", |
| "base/process_lineage_win.cc", |
| "base/process_lineage_win.h", |
| "logging/win/file_logger.cc", |
| "logging/win/file_logger.h", |
| "logging/win/log_file_printer.cc", |
| "logging/win/log_file_printer.h", |
| "logging/win/log_file_reader.cc", |
| "logging/win/log_file_reader.h", |
| "logging/win/mof_data_parser.cc", |
| "logging/win/mof_data_parser.h", |
| "logging/win/test_log_collector.cc", |
| "logging/win/test_log_collector.h", |
| ] |
| } |
| |
| configs += [ "//build/config:precompiled_headers" ] |
| |
| deps = [ |
| "//build:chromeos_buildflags", |
| "//chrome/common/search:mojo_bindings", |
| "//components/safe_browsing/content/renderer/phishing_classifier:unit_tests_support", |
| "//components/security_interstitials/content:security_interstitial_page", |
| ] |
| |
| # New deps should go in the non-iOS section below. |
| public_deps = [ |
| "//base/test:test_support", |
| "//chrome:resources", |
| "//chrome:strings", |
| |
| #"//chrome/app/theme:theme_resources", |
| "//chrome/browser:test_support", |
| "//chrome/child", |
| "//chrome/common:non_code_constants", |
| "//chrome/common:test_support", |
| "//chrome/renderer", |
| "//chrome/utility", |
| "//components/autofill/core/browser:test_support", |
| "//components/bookmarks/test", |
| "//components/captive_portal/core:test_support", |
| "//components/consent_auditor:test_support", |
| "//components/gcm_driver:test_support", |
| "//components/gcm_driver/crypto:test_support", |
| "//components/gcm_driver/instance_id:test_support", |
| "//components/history/core/test", |
| "//components/infobars/core", |
| "//components/metrics:test_support", |
| "//components/network_session_configurator/common", |
| "//components/network_time:network_time_test_support", |
| "//components/omnibox/browser:test_support", |
| "//components/password_manager/core/browser:test_support", |
| "//components/payments/core:test_support", |
| "//components/performance_manager/test_support", |
| "//components/permissions:test_support", |
| "//components/prefs:test_support", |
| "//components/rappor:test_support", |
| "//components/safe_browsing/core/db:v4_test_util", |
| "//components/search_engines:test_support", |
| "//components/sessions:test_support", |
| "//components/signin/public/base:test_support", |
| "//components/subresource_filter/content/browser:test_support", |
| "//components/subresource_filter/core/common", |
| "//components/sync:test_support", |
| "//components/sync_preferences:test_support", |
| "//components/sync_sessions:test_support", |
| "//components/sync_user_events:test_support", |
| "//components/update_client:test_support", |
| "//components/variations:test_support", |
| "//components/web_resource:test_support", |
| "//content/public/app", |
| "//content/public/child", |
| "//content/public/common", |
| "//content/public/renderer", |
| "//content/public/utility", |
| "//content/test:test_support", |
| "//extensions/buildflags", |
| "//google_apis:test_support", |
| "//gpu/ipc/service", |
| "//ipc:test_support", |
| "//media:media_buildflags", |
| "//net", |
| "//net:test_support", |
| "//pdf", |
| "//ppapi/buildflags", |
| "//printing/buildflags", |
| "//services/cert_verifier:test_support", |
| "//skia", |
| "//sql", |
| "//sql:test_support", |
| "//testing/gmock", |
| "//testing/gtest", |
| "//third_party/leveldatabase", |
| "//ui/base", |
| "//ui/events:events_base", |
| "//ui/gfx:test_support", |
| "//ui/gl", |
| ] |
| |
| if (is_android) { |
| if (enable_vr) { |
| public_deps += [ "//chrome/browser/android/vr:test_support" ] |
| |
| # Add a dummy implementation of RegisterJni to satisfy the linker. |
| sources += [ "../browser/android/vr/register_jni_monochrome.cc" ] |
| } |
| } else { |
| public_deps += [ |
| # Android uses //chrome:chrome_android_core instead of the //chrome/app |
| # target. |
| "//chrome/app:test_support", |
| "//components/ukm:test_support", |
| "//components/ukm:ukm_test_helper", |
| "//components/zoom:test_support", |
| ] |
| sources += [ |
| "../browser/enterprise/reporting/extension_request/extension_request_report_throttler_test.cc", |
| "../browser/enterprise/reporting/extension_request/extension_request_report_throttler_test.h", |
| "../browser/ui/tabs/pinned_tab_test_utils.cc", |
| "../browser/ui/tabs/pinned_tab_test_utils.h", |
| "base/dialog_test_browser_window.cc", |
| "base/dialog_test_browser_window.h", |
| "base/test_browser_window.cc", |
| "base/test_browser_window.h", |
| ] |
| } |
| |
| if (is_linux || is_chromeos) { |
| public_deps += [ "//crypto:platform" ] |
| } |
| |
| if (is_mac) { |
| sources += [ |
| "//chrome/app/chrome_crash_reporter_client.cc", |
| "//chrome/app/chrome_crash_reporter_client_mac.mm", |
| ] |
| deps += [ "//build:branding_buildflags" ] |
| public_deps += [ |
| "//components/crash/core/app", |
| "//third_party/breakpad", |
| ] |
| } |
| |
| if (is_win) { |
| sources += [ |
| "../browser/webshare/win/fake_buffer.cc", |
| "../browser/webshare/win/fake_buffer.h", |
| "../browser/webshare/win/fake_data_transfer_manager.cc", |
| "../browser/webshare/win/fake_data_transfer_manager.h", |
| "../browser/webshare/win/fake_data_transfer_manager_interop.cc", |
| "../browser/webshare/win/fake_data_transfer_manager_interop.h", |
| "../browser/webshare/win/fake_data_writer_factory.cc", |
| "../browser/webshare/win/fake_data_writer_factory.h", |
| "../browser/webshare/win/fake_iasync_operation_with_progress.h", |
| "../browser/webshare/win/fake_random_access_stream.cc", |
| "../browser/webshare/win/fake_random_access_stream.h", |
| "../browser/webshare/win/fake_storage_file_statics.cc", |
| "../browser/webshare/win/fake_storage_file_statics.h", |
| "../browser/webshare/win/fake_uri_runtime_class_factory.cc", |
| "../browser/webshare/win/fake_uri_runtime_class_factory.h", |
| "../browser/webshare/win/scoped_fake_data_transfer_manager_interop.cc", |
| "../browser/webshare/win/scoped_fake_data_transfer_manager_interop.h", |
| "../browser/webshare/win/scoped_share_operation_fake_components.cc", |
| "../browser/webshare/win/scoped_share_operation_fake_components.h", |
| "//chrome/app/chrome_crash_reporter_client_win.cc", |
| ] |
| public_deps += [ |
| "//chrome/install_static/test:test_support", |
| "//components/crash/core/app", |
| "//third_party/wtl", |
| ] |
| libs = [ "runtimeobject.lib" ] |
| } |
| |
| if (is_chromeos_ash) { |
| sources += [ |
| "../browser/ash/accessibility/speech_monitor.cc", |
| "../browser/ash/accessibility/speech_monitor.h", |
| "../browser/chromeos/arc/tracing/arc_app_performance_tracing_test_helper.cc", |
| "../browser/chromeos/arc/tracing/arc_app_performance_tracing_test_helper.h", |
| "../browser/chromeos/file_manager/file_manager_test_util.cc", |
| "../browser/chromeos/file_manager/file_manager_test_util.h", |
| "../browser/chromeos/login/users/fake_chrome_user_manager.cc", |
| "../browser/chromeos/login/users/fake_chrome_user_manager.h", |
| "../browser/chromeos/ownership/fake_owner_settings_service.cc", |
| "../browser/chromeos/ownership/fake_owner_settings_service.h", |
| "../browser/chromeos/settings/device_settings_test_helper.cc", |
| "../browser/chromeos/settings/device_settings_test_helper.h", |
| "../browser/chromeos/settings/scoped_cros_settings_test_helper.cc", |
| "../browser/chromeos/settings/scoped_cros_settings_test_helper.h", |
| "../browser/component_updater/fake_cros_component_manager.cc", |
| "../browser/component_updater/fake_cros_component_manager.h", |
| "../browser/extensions/policy_test_utils.cc", |
| "../browser/extensions/policy_test_utils.h", |
| "../browser/ui/ash/accessibility/fake_accessibility_controller.cc", |
| "../browser/ui/ash/accessibility/fake_accessibility_controller.h", |
| "../browser/ui/webui/chromeos/login/fake_app_launch_splash_screen_handler.cc", |
| "../browser/ui/webui/chromeos/login/fake_app_launch_splash_screen_handler.h", |
| "base/browser_process_platform_part_test_api_chromeos.cc", |
| "base/browser_process_platform_part_test_api_chromeos.h", |
| |
| # Only used for Chromevox tests, so only included on Chrome OS. |
| "base/extension_js_browser_test.cc", |
| "base/extension_js_browser_test.h", |
| "base/extension_load_waiter_one_shot.cc", |
| "base/extension_load_waiter_one_shot.h", |
| ] |
| public_deps += [ |
| "//ash", |
| "//ash:test_support", |
| "//components/ownership", |
| "//components/user_manager:test_support", |
| "//ui/aura", |
| "//ui/aura:test_support", |
| "//ui/base/ime/init", |
| ] |
| deps += [ |
| "//chromeos/cryptohome", |
| "//chromeos/dbus", |
| "//chromeos/dbus/power", |
| ] |
| } |
| |
| if (is_win || is_mac || (is_linux || is_chromeos_lacros)) { |
| public_deps += [ "//ui/base:pixel_diff_test_support" ] |
| sources += [ |
| "pixel/browser_skia_gold_pixel_diff.cc", |
| "pixel/browser_skia_gold_pixel_diff.h", |
| ] |
| } |
| |
| if (use_aura) { |
| sources += [ |
| "base/test_browser_window_aura.cc", |
| "base/test_browser_window_aura.h", |
| ] |
| } |
| |
| if (toolkit_views) { |
| public_deps += [ "//ui/views:test_support" ] |
| sources += [ |
| "../browser/autofill/autofill_uitest_util.cc", |
| "../browser/autofill/autofill_uitest_util.h", |
| "../browser/ui/views/desktop_capture/desktop_media_picker_views_test_api.cc", |
| "../browser/ui/views/desktop_capture/desktop_media_picker_views_test_api.h", |
| "../browser/ui/views/media_router/app_menu_test_api.h", |
| "../browser/ui/views/media_router/app_menu_test_api_views.cc", |
| "../browser/ui/views/web_apps/frame_toolbar/web_app_frame_toolbar_test_helper.cc", |
| "../browser/ui/views/web_apps/frame_toolbar/web_app_frame_toolbar_test_helper.h", |
| "base/test_theme_provider.cc", |
| "base/test_theme_provider.h", |
| "views/accessibility_checker.cc", |
| "views/accessibility_checker.h", |
| "views/chrome_test_views_delegate.h", |
| "views/chrome_test_widget.cc", |
| "views/chrome_test_widget.h", |
| "views/chrome_views_test_base.cc", |
| "views/chrome_views_test_base.h", |
| ] |
| } |
| |
| if (enable_extensions) { |
| sources += [ |
| "../browser/extensions/browsertest_util.cc", |
| "../browser/extensions/browsertest_util.h", |
| "../browser/extensions/extension_apitest.cc", |
| "../browser/extensions/extension_apitest.h", |
| "../browser/extensions/extension_browsertest.cc", |
| "../browser/extensions/extension_browsertest.h", |
| "../browser/extensions/permissions_test_util.cc", |
| "../browser/extensions/permissions_test_util.h", |
| "../browser/extensions/test_extension_environment.cc", |
| "../browser/extensions/test_extension_environment.h", |
| "../browser/extensions/test_extension_prefs.cc", |
| "../browser/extensions/test_extension_prefs.h", |
| "../browser/ui/web_applications/test/ssl_test_utils.cc", |
| "../browser/ui/web_applications/test/ssl_test_utils.h", |
| "../browser/ui/web_applications/test/web_app_browsertest_util.cc", |
| "../browser/ui/web_applications/test/web_app_browsertest_util.h", |
| "../browser/ui/web_applications/web_app_controller_browsertest.cc", |
| "../browser/ui/web_applications/web_app_controller_browsertest.h", |
| ] |
| |
| public_deps += [ |
| "//apps:test_support", |
| "//chrome/common/extensions/api", |
| "//components/guest_view/browser:test_support", |
| "//extensions:test_support", |
| "//google_apis/drive:test_support", |
| ] |
| |
| deps += [ |
| "//build:chromeos_buildflags", |
| "//chrome/browser/web_applications:web_applications_on_extensions_test_support", |
| "//chrome/browser/web_applications:web_applications_test_support", |
| "//components/webapps/browser", |
| ] |
| allow_circular_includes_from = [ |
| "//chrome/browser/web_applications:web_applications_on_extensions_test_support", |
| "//chrome/browser/web_applications:web_applications_test_support", |
| ] |
| } |
| |
| if (enable_message_center) { |
| public_deps += [ "//ui/message_center:test_support" ] |
| } |
| |
| if (enable_offline_pages) { |
| public_deps += [ "//components/offline_pages/core:test_support" ] |
| } |
| |
| if (enable_plugins) { |
| public_deps += [ "//ppapi/shared_impl" ] |
| } |
| |
| if (enable_print_preview && !is_chromeos_ash) { |
| public_deps += [ "//chrome/service" ] |
| } |
| } |
| |
| group("telemetry_gpu_integration_test") { |
| testonly = true |
| data_deps = [ |
| "//content/test:telemetry_gpu_integration_test_support", |
| "//tools/perf/chrome_telemetry_build:telemetry_chrome_test", |
| ] |
| } |
| |
| if (is_win) { |
| source_set("credential_provider_test_utils") { |
| testonly = true |
| sources = [ |
| "../browser/ui/startup/credential_provider_signin_dialog_win_test_data.cc", |
| "../browser/ui/startup/credential_provider_signin_dialog_win_test_data.h", |
| ] |
| deps = [ "//base" ] |
| } |
| } |
| |
| if (is_android) { |
| test("android_browsertests") { |
| configs += [ "//build/config:precompiled_headers" ] |
| defines = [ |
| "HAS_OUT_OF_PROC_TEST_RUNNER", |
| "CHROME_VERSION_MAJOR=" + chrome_version_major, |
| ] |
| use_default_launcher = false |
| android_manifest = |
| "${target_gen_dir}/android_browsertests_manifest/AndroidManifest.xml" |
| android_manifest_dep = ":android_browsertests_manifest" |
| |
| deps = [ |
| ":android_browsertests_assets", |
| ":android_browsertests_java", |
| ":browser_tests_runner", |
| ":sync_integration_test_support", |
| ":sync_integration_test_support_java", |
| ":test_support", |
| ":test_support_java", |
| ":test_support_ui_android", |
| "//build:chromeos_buildflags", |
| "//chrome:chrome_android_core", |
| "//chrome/android:app_hooks_java", |
| "//chrome/browser/metrics:test_support", |
| "//chrome/browser/payments:browser_tests", |
| "//chrome/browser/privacy_budget:browser_tests", |
| "//chrome/browser/profiling_host:profiling_browsertests", |
| "//components/browser_ui/widget/android:java", |
| "//components/crash/android:crashpad_main", |
| "//components/externalauth/android:google_delegate_public_impl_java", |
| "//components/games/core/test:test_support", |
| "//components/metrics/demographics:test_support", |
| "//components/page_load_metrics/browser:test_support", |
| "//components/ukm:ukm_test_helper", |
| |
| # TODO(crbug.com/961849): This is needed for ShellManager which is what |
| # the ChromeBrowserTestsActivity is using to build the java UI. It's |
| # likely we want to replace it with something new that uses ChromeWindow |
| # and CompositorViewHolder instead. |
| "//content/shell:content_shell_lib", |
| "//content/test:android_test_message_pump_support", |
| "//testing/android/native_test:native_test_support", |
| ] |
| |
| sources = [ |
| "../browser/android/customtabs/custom_tabs_browsertest.cc", |
| "../browser/android/tab_android_browsertest.cc", |
| "../browser/android/webapk/webapk_icon_hasher_browsertest.cc", |
| "../browser/engagement/important_sites_util_browsertest.cc", |
| "../browser/games/games_service_browsertest.cc", |
| "../browser/metrics/metrics_service_user_demographics_browsertest.cc", |
| "../browser/metrics/ukm_browsertest.cc", |
| "../browser/net/cert_verify_proc_browsertest.cc", |
| "../browser/page_load_metrics/observers/ad_metrics/ad_density_intervention_android_browsertest.cc", |
| "../browser/profiles/profile_browsertest_android.cc", |
| "../browser/safe_browsing/test_safe_browsing_database_helper.cc", |
| "../browser/safe_browsing/test_safe_browsing_database_helper.h", |
| "../browser/ssl/chrome_security_state_client_browsertest.cc", |
| "../browser/ssl/crlset_browsertest.cc", |
| "../browser/subresource_filter/subresource_filter_browser_test_harness.cc", |
| "../browser/subresource_filter/subresource_filter_browser_test_harness.h", |
| "android/browsertests_apk/android_browsertests_jni_onload.cc", |
| "base/android/android_browser_test_browsertest_android.cc", |
| ] |
| |
| # Add unwind tables in android_browsertests apk to support enabling |
| # sampling profiler. The unwind tables are generated from debug info in the |
| # binary. Removing "default_symbols" and adding symbols config removes the |
| # "strip_debug" config that strips the debug info, on android_browsertests |
| # apk. |
| if (enable_arm_cfi_table) { |
| sources += [ "../common/profiler/thread_profiler_browsertest.cc" ] |
| deps += [ |
| "//chrome/android/modules/stack_unwinder/internal:java", |
| "//chrome/android/modules/stack_unwinder/internal:stack_unwinder_for_testing", |
| ] |
| configs -= [ "//build/config/compiler:default_symbols" ] |
| if (symbol_level == 2) { |
| configs += [ "//build/config/compiler:symbols" ] |
| } else { |
| configs += [ "//build/config/compiler:minimal_symbols" ] |
| } |
| add_unwind_tables_in_apk = true |
| } |
| |
| data = [ |
| "$root_gen_dir/chrome/android/chrome_apk_paks/chrome_100_percent.pak", |
| "$root_gen_dir/chrome/android/chrome_apk_paks/locales/en-US.pak", |
| "$root_gen_dir/chrome/android/chrome_apk_paks/resources.pak", |
| "$root_gen_dir/components/components_resources.pak", |
| "$root_gen_dir/components/dev_ui_components_resources.pak", |
| "$root_out_dir/browser_tests.pak", |
| "//components/test/data/payments/", |
| "//chrome/test/data/banners/", |
| "//chrome/test/data/android/customtabs/", |
| "//chrome/test/data/ssl/", |
| "//chrome/test/data/ads_observer/", |
| "//content/test/data/", |
| ] |
| } |
| |
| test("android_sync_integration_tests") { |
| configs += [ "//build/config:precompiled_headers" ] |
| defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ] |
| use_default_launcher = false |
| android_manifest = |
| "${target_gen_dir}/android_browsertests_manifest/AndroidManifest.xml" |
| android_manifest_dep = ":android_browsertests_manifest" |
| |
| deps = [ |
| ":android_browsertests_assets", |
| ":android_browsertests_java", |
| ":browser_tests_runner", |
| ":sync_integration_test_support", |
| ":sync_integration_test_support_java", |
| ":test_support", |
| ":test_support_java", |
| ":test_support_ui_android", |
| "//chrome:chrome_android_core", |
| "//chrome/android:app_hooks_java", |
| "//components/externalauth/android:google_delegate_public_impl_java", |
| "//content/test:android_test_message_pump_support", |
| "//testing/android/native_test:native_test_support", |
| ] |
| |
| sources = [ |
| "../browser/sync/test/integration/single_client_autofill_profile_sync_test.cc", |
| "../browser/sync/test/integration/single_client_typed_urls_sync_test.cc", |
| "android/browsertests_apk/android_browsertests_jni_onload.cc", |
| ] |
| |
| data = [ |
| "$root_gen_dir/chrome/android/chrome_apk_paks/chrome_100_percent.pak", |
| "$root_gen_dir/chrome/android/chrome_apk_paks/locales/en-US.pak", |
| "$root_gen_dir/chrome/android/chrome_apk_paks/resources.pak", |
| "$root_gen_dir/components/components_resources.pak", |
| "$root_gen_dir/components/dev_ui_components_resources.pak", |
| ] |
| } |
| |
| static_library("test_support_ui_android") { |
| configs += [ "//build/config:precompiled_headers" ] |
| testonly = true |
| |
| sources = [ |
| "../browser/ssl/cert_verifier_platform_browser_test.cc", |
| "../browser/ssl/cert_verifier_platform_browser_test.h", |
| "base/android/android_browser_test.cc", |
| "base/android/android_browser_test.h", |
| ] |
| public_deps = [ "//content/test:test_support" ] |
| deps = [ |
| "//chrome/browser", |
| "//content/public/browser", |
| ] |
| } |
| |
| android_assets("android_browsertests_assets") { |
| testonly = true |
| disable_compression = true |
| sources = [] |
| deps = [] |
| |
| # These are grit() rules so they are in $root_gen_dir. |
| deps += [ "//components/resources" ] |
| sources += [ |
| "$root_gen_dir/components/components_resources.pak", |
| "$root_gen_dir/components/dev_ui_components_resources.pak", |
| ] |
| |
| # These are repack() rules so they are in $root_out_dir. |
| deps += [ "//chrome:browser_tests_pak" ] |
| sources += [ "$root_out_dir/browser_tests.pak" ] |
| |
| # These are assets rules so we can just depend on them. |
| deps += [ |
| "//chrome/android:chrome_apk_pak_assets", |
| "//third_party/icu:icu_assets", |
| ] |
| |
| if (use_v8_context_snapshot) { |
| deps += [ "//tools/v8_context_snapshot:v8_context_snapshot_assets" ] |
| } else { |
| deps += [ "//v8:v8_external_startup_data_assets" ] |
| } |
| } |
| |
| android_library("android_browsertests_java") { |
| testonly = true |
| deps = [ |
| "//base:base_java", |
| "//base:base_java_test_support", |
| "//chrome/android:base_module_java", |
| "//chrome/android:chrome_all_java", |
| "//chrome/browser/tabmodel:java", |
| "//components/crash/android:handler_java", |
| "//components/crash/android:java", |
| "//components/module_installer/android:module_installer_java", |
| "//content/public/android:content_java", |
| "//content/public/test/android:android_test_message_pump_support_java", |
| "//content/shell/android:content_shell_browsertests_java", |
| "//testing/android/native_test:native_test_java", |
| "//ui/android:ui_full_java", |
| ] |
| sources = [ |
| "android/browsertests_apk/src/org/chromium/android_browsertests_apk/ChromeBrowserTestsActivity.java", |
| "android/browsertests_apk/src/org/chromium/android_browsertests_apk/ChromeBrowserTestsApplication.java", |
| "android/browsertests_apk/src/org/chromium/android_browsertests_apk/ChromeBrowserTestsInstrumentationTestRunner.java", |
| ] |
| } |
| |
| jinja_template("android_browsertests_manifest") { |
| testonly = true |
| input = "//chrome/test/android/browsertests_apk/AndroidManifest.xml.jinja2" |
| output = |
| "${target_gen_dir}/android_browsertests_manifest/AndroidManifest.xml" |
| } |
| } |
| |
| static_library("browser_tests_runner") { |
| testonly = true |
| sources = [] |
| |
| deps = [ ":test_support" ] |
| |
| if (is_chromeos_ash) { |
| sources += [ "base/browser_tests_main_chromeos.cc" ] |
| } else { |
| sources += [ "base/browser_tests_main.cc" ] |
| } |
| |
| if (is_win) { |
| deps += [ "//chrome/installer/util:strings" ] |
| } |
| } |
| |
| if (!is_android) { |
| test("browser_tests") { |
| use_xvfb = use_xvfb_in_this_config |
| |
| configs += [ "//build/config:precompiled_headers" ] |
| defines = [ |
| "HAS_OUT_OF_PROC_TEST_RUNNER", |
| "CHROME_VERSION_MAJOR=" + chrome_version_major, |
| ] |
| |
| deps = [ |
| ":browser_tests_runner", |
| ":policy_testserver_pyproto", |
| ":test_support", |
| ":test_support_ui", |
| "//base", |
| "//base:i18n", |
| "//base/test:test_support", |
| "//base/util/memory_pressure:test_support", |
| "//build:branding_buildflags", |
| "//build:chromeos_buildflags", |
| "//chrome:packed_resources", |
| "//chrome:resources", |
| "//chrome:strings", |
| "//chrome/browser", |
| "//chrome/browser/devtools:test_support", |
| "//chrome/browser/image_decoder:browser_tests", |
| "//chrome/browser/metrics:test_support", |
| "//chrome/browser/notifications/scheduler/test:test_support", |
| "//chrome/browser/payments:browser_tests", |
| "//chrome/browser/privacy_budget:browser_tests", |
| "//chrome/browser/profiling_host:profiling_browsertests", |
| "//chrome/browser/web_applications:browser_tests", |
| "//chrome/renderer", |
| "//chrome/services/machine_learning/public/cpp", |
| "//chrome/services/machine_learning/public/cpp:test_support", |
| "//chrome/services/machine_learning/public/mojom", |
| "//chrome/services/removable_storage_writer:lib", |
| "//chrome/test/data:webui_test_resources", |
| "//components/autofill/content/browser:risk_proto", |
| "//components/autofill/content/common/mojom", |
| "//components/autofill/content/renderer:test_support", |
| "//components/captive_portal/core:test_support", |
| "//components/cbor", |
| "//components/data_reduction_proxy/core/browser:test_support", |
| "//components/dom_distiller/content/browser", |
| "//components/dom_distiller/content/browser:test_support", |
| "//components/dom_distiller/content/renderer", |
| "//components/dom_distiller/core:test_support", |
| "//components/embedder_support", |
| "//components/enterprise", |
| "//components/enterprise:test_support", |
| "//components/error_page/content/browser", |
| "//components/feature_engagement/test:test_support", |
| "//components/metrics/demographics:test_support", |
| "//components/nacl/common:buildflags", |
| "//components/offline_items_collection/core/test_support", |
| "//components/optimization_guide/core:test_support", |
| "//components/page_load_metrics/browser:test_support", |
| "//components/page_load_metrics/common:test_support", |
| "//components/policy:chrome_settings_proto_generated_compile", |
| "//components/resources", |
| "//components/safe_browsing:buildflags", |
| "//components/safe_browsing/content/password_protection:test_support", |
| "//components/safe_browsing/core/db:test_database_manager", |
| "//components/services/language_detection/public/cpp", |
| "//components/services/patch/public/mojom", |
| "//components/services/quarantine:test_support", |
| "//components/signin/core/browser", |
| "//components/signin/public/base:signin_buildflags", |
| "//components/signin/public/identity_manager", |
| "//components/spellcheck:buildflags", |
| "//components/strings", |
| "//components/sync", |
| "//components/sync:test_support_model", |
| "//components/sync_device_info:test_support", |
| "//components/translate/content/browser:test_support", |
| "//components/translate/core/common", |
| "//components/webrtc", |
| "//content/test:test_support", |
| "//crypto:platform", |
| "//crypto:test_support", |
| "//device/bluetooth:mocks", |
| "//device/fido:test_support", |
| "//extensions/buildflags", |
| "//google_apis:test_support", |
| "//media:media_buildflags", |
| "//media:test_support", |
| "//media/cast:test_support", |
| "//mojo/public/cpp/system", |
| "//net", |
| "//net:test_support", |
| "//pdf:features", |
| "//ppapi/buildflags", |
| "//printing/buildflags", |
| "//rlz/buildflags", |
| "//services/device/public/cpp:test_support", |
| "//services/device/public/mojom", |
| "//services/network/public/cpp", |
| "//services/service_manager/public/cpp", |
| "//services/strings", |
| "//skia", |
| "//testing/gmock", |
| "//testing/gtest", |
| "//testing/perf", |
| "//third_party/blink/public:blink_headers", |
| "//third_party/blink/public:buildflags", |
| "//third_party/icu", |
| "//third_party/leveldatabase", |
| "//third_party/openscreen/src/cast/streaming:common", |
| "//third_party/webrtc_overrides:webrtc_component", |
| "//third_party/widevine/cdm:buildflags", |
| "//third_party/widevine/cdm:headers", |
| "//ui/accessibility:test_support", |
| "//ui/base:test_support", |
| "//ui/base/clipboard:clipboard_test_support", |
| "//ui/base/dragdrop/mojom:mojom_shared", |
| "//ui/compositor:test_support", |
| "//ui/native_theme:test_support", |
| "//ui/resources", |
| "//ui/shell_dialogs:test_support", |
| "//ui/web_dialogs:test_support", |
| "//ui/webui:test_support", |
| "//v8", |
| ] |
| |
| # Runtime dependencies |
| data_deps = [ |
| "//chrome:browser_tests_pak", |
| "//chrome/browser/resources/media/mei_preload:component", |
| "//chrome/test/data:web_ui_test_mojom_js_module", |
| "//chrome/test/data/webui:modulize", |
| "//components/policy/proto", |
| "//third_party/private_membership:private_membership_proto", |
| "//third_party/shell-encryption:serialization_proto", |
| |
| # TODO(thakis): Why do these need copying in browser_tests? |
| # content_browsertests uses the non-copied files instead. |
| "//ppapi:copy_test_files", |
| "//ppapi:copy_test_files2", |
| "//ppapi:ppapi_tests", |
| "//testing/buildbot/filters:browser_tests_filters", |
| "//testing/buildbot/filters:linux_trusty_rel_browser_tests_filters", |
| "//third_party/mesa_headers", |
| "//third_party/widevine/cdm:widevine_test_license_server", |
| "//tools/media_engagement_preload:generator", |
| ] |
| |
| if (!is_component_build) { |
| # WebRTC's frame_analyzer doesn't build correctly on component builds, |
| # because some compilers will get confused by the fact that WebRTC |
| # symbols are exported while liking a WebRTC executable (which should |
| # instead statically link WebRTC). |
| # In any case, the tests that require frame_analyzer are only run in |
| # release mode. |
| data_deps += [ "//third_party/webrtc/rtc_tools:frame_analyzer" ] |
| } |
| |
| data = [ |
| "data/", |
| "//chrome/browser/page_load_metrics/integration_tests/data/", |
| "//components/test/data/arc/", |
| "//components/test/data/autofill/", |
| "//components/test/data/payments/", |
| "//components/test/data/update_client/", |
| "//content/test/data/", |
| "//google_apis/test/", |
| "//media/test/data/", |
| "//net/tools/testserver/", |
| "//ppapi/tests/test_case.html", |
| "//ppapi/tests/test_case.html.mock-http-headers", |
| "//ppapi/tests/test_page.css", |
| "//ppapi/tests/test_page.css.mock-http-headers", |
| "//testing/test_env.py", |
| "//third_party/mocha/mocha.js", |
| "//third_party/polymer/v1_0/components-chromium/iron-test-helpers/mock-interactions.js", |
| "//third_party/pywebsocket3/src/mod_pywebsocket/", |
| "//third_party/simplejson/", |
| "//third_party/tlslite/", |
| "//ui/webui/resources/", |
| "$root_gen_dir/chrome/test/data/webui/test_util.m.js", |
| ] |
| data += js2gtest_js_libraries |
| data += metric_integration_jsdeps |
| |
| sources = [ |
| "../../apps/app_restore_service_browsertest.cc", |
| "../../apps/load_and_launch_browsertest.cc", |
| "../browser/accessibility/accessibility_labels_service_browsertest.cc", |
| "../browser/accessibility/browser_accessibility_state_browsertest.cc", |
| "../browser/accessibility/caption_controller_browsertest.cc", |
| "../browser/accessibility/image_annotation_browsertest.cc", |
| "../browser/accessibility/interstitial_accessibility_browsertest.cc", |
| "../browser/apps/guest_view/app_view_browsertest.cc", |
| "../browser/apps/guest_view/web_view_browsertest.cc", |
| "../browser/apps/platform_apps/app_browsertest.cc", |
| "../browser/apps/platform_apps/app_speech_recognition_browsertest.cc", |
| "../browser/apps/platform_apps/app_window_browsertest.cc", |
| "../browser/apps/platform_apps/event_page_browsertest.cc", |
| "../browser/apps/platform_apps/platform_app_navigation_redirector_browsertest.cc", |
| "../browser/apps/platform_apps/service_worker_browsertest.cc", |
| "../browser/autocomplete/autocomplete_browsertest.cc", |
| "../browser/autofill/autofill_autocomplete_browsertest.cc", |
| "../browser/autofill/autofill_browsertest.cc", |
| "../browser/autofill/autofill_metrics_browsertest.cc", |
| "../browser/autofill/autofill_provider_browsertest.cc", |
| "../browser/autofill/autofill_server_browsertest.cc", |
| "../browser/autofill/content_autofill_driver_browsertest.cc", |
| "../browser/autofill/form_structure_browsertest.cc", |
| "../browser/availability/availability_prober_browsertest.cc", |
| "../browser/background_fetch/background_fetch_browsertest.cc", |
| "../browser/background_sync/background_sync_browsertest.cc", |
| "../browser/background_sync/background_sync_content_setting_browsertest.cc", |
| "../browser/background_sync/background_sync_metrics_browsertest.cc", |
| "../browser/badging/test_badge_manager_delegate.cc", |
| "../browser/badging/test_badge_manager_delegate.h", |
| "../browser/banners/app_banner_manager_browsertest.cc", |
| "../browser/banners/app_banner_manager_browsertest_base.cc", |
| "../browser/banners/app_banner_manager_browsertest_base.h", |
| "../browser/banners/app_banner_manager_desktop_browsertest.cc", |
| "../browser/banners/test_app_banner_manager_desktop.cc", |
| "../browser/banners/test_app_banner_manager_desktop.h", |
| "../browser/battery/battery_metrics_browsertest.cc", |
| "../browser/bitmap_fetcher/bitmap_fetcher_browsertest.cc", |
| "../browser/bluetooth/web_bluetooth_browsertest.cc", |
| "../browser/browser_encoding_browsertest.cc", |
| "../browser/browsing_data/access_context_audit_browsertest.cc", |
| "../browser/browsing_data/browsing_data_remover_browsertest.cc", |
| "../browser/browsing_data/browsing_data_remover_browsertest_base.cc", |
| "../browser/browsing_data/browsing_data_remover_browsertest_base.h", |
| "../browser/browsing_data/chrome_browsing_data_lifetime_manager_browsertest.cc", |
| "../browser/browsing_data/counters/autofill_counter_browsertest.cc", |
| "../browser/browsing_data/counters/browsing_data_counter_utils_browsertest.cc", |
| "../browser/browsing_data/counters/cache_counter_browsertest.cc", |
| "../browser/browsing_data/counters/conditional_cache_counting_helper_browsertest.cc", |
| "../browser/browsing_data/counters/downloads_counter_browsertest.cc", |
| "../browser/browsing_data/counters/history_counter_browsertest.cc", |
| "../browser/browsing_data/counters/passwords_counter_browsertest.cc", |
| "../browser/browsing_data/counters/sync_aware_counter_browsertest.cc", |
| "../browser/browsing_data/navigation_entry_remover_browsertest.cc", |
| "../browser/chrome_back_forward_cache_browsertest.cc", |
| "../browser/chrome_content_browser_client_browsertest.cc", |
| "../browser/chrome_do_not_track_browsertest.cc", |
| "../browser/chrome_find_request_manager_browsertest.cc", |
| "../browser/chrome_navigation_browsertest.cc", |
| "../browser/chrome_origin_trials_browsertest.cc", |
| "../browser/chrome_security_exploit_browsertest.cc", |
| "../browser/chrome_service_worker_browsertest.cc", |
| "../browser/chrome_web_platform_security_metrics_browsertest.cc", |
| "../browser/chrome_worker_browsertest.cc", |
| "../browser/client_hints/client_hints_browsertest.cc", |
| "../browser/component_updater/component_patcher_operation_browsertest.cc", |
| "../browser/content_index/content_index_browsertest.cc", |
| "../browser/content_settings/content_settings_browsertest.cc", |
| "../browser/conversions/conversions_usage_restriction_trial_browsertest.cc", |
| "../browser/conversions/conversions_usecounter_browsertest.cc", |
| "../browser/crash_recovery_browsertest.cc", |
| "../browser/custom_handlers/protocol_handler_registry_browsertest.cc", |
| "../browser/data_reduction_proxy/data_reduction_proxy_browsertest.cc", |
| "../browser/data_saver/data_saver_browsertest.cc", |
| "../browser/data_saver/data_saver_holdback_browsertest.cc", |
| "../browser/data_saver/data_saver_webapis_browsertest.cc", |
| "../browser/data_saver/lite_video_browsertest.cc", |
| "../browser/data_saver/subresource_redirect_browsertest.cc", |
| "../browser/data_saver/subresource_redirect_login_robots_browsertest.cc", |
| "../browser/data_use_measurement/chrome_data_use_measurement_browsertest.cc", |
| "../browser/device_api/managed_configuration_api_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/devtools_android_bridge_browsertest.cc", |
| "../browser/devtools/device/port_forwarding_browsertest.cc", |
| "../browser/devtools/device/usb/android_usb_browsertest.cc", |
| "../browser/devtools/devtools_sanity_browsertest.cc", |
| "../browser/devtools/global_confirm_info_bar_browsertest.cc", |
| "../browser/devtools/protocol/devtools_protocol_browsertest.cc", |
| "../browser/devtools/protocol/devtools_protocol_test_support.cc", |
| "../browser/devtools/protocol/devtools_protocol_test_support.h", |
| "../browser/dom_distiller/distillable_page_utils_browsertest.cc", |
| "../browser/dom_distiller/dom_distiller_viewer_source_browsertest.cc", |
| "../browser/dom_distiller/tab_utils_browsertest.cc", |
| "../browser/domain_reliability/browsertest.cc", |
| "../browser/download/download_browsertest.cc", |
| "../browser/download/download_browsertest.h", |
| "../browser/download/download_danger_prompt_browsertest.cc", |
| "../browser/download/download_frame_policy_browsertest.cc", |
| "../browser/download/download_started_animation_browsertest.cc", |
| "../browser/download/save_page_browsertest.cc", |
| "../browser/enterprise/connectors/connectors_service_browsertest.cc", |
| "../browser/enterprise/connectors/content_analysis_delegate_browsertest.cc", |
| "../browser/enterprise/connectors/content_analysis_dialog_browsertest.cc", |
| "../browser/enterprise/reporting/report_scheduler_browsertest.cc", |
| "../browser/extensions/protocol_handler_apitest.cc", |
| "../browser/fast_shutdown_browsertest.cc", |
| "../browser/favicon/content_favicon_driver_browsertest.cc", |
| "../browser/federated_learning/floc_eligibility_browsertest.cc", |
| "../browser/federated_learning/floc_id_provider_browsertest.cc", |
| "../browser/federated_learning/floc_origin_trial_browsertest.cc", |
| "../browser/first_run/first_run_browsertest.cc", |
| "../browser/font_access/font_access_context_browsertest.cc", |
| "../browser/geolocation/geolocation_browsertest.cc", |
| "../browser/guest_view/mime_handler_view/chrome_mime_handler_view_browsertest.cc", |
| "../browser/heavy_ad_intervention/heavy_ad_helper_browsertest.cc", |
| "../browser/history/history_browsertest.cc", |
| "../browser/history/redirect_browsertest.cc", |
| "../browser/icon_loader_browsertest.cc", |
| "../browser/idle/idle_browsertest.cc", |
| "../browser/iframe_browsertest.cc", |
| "../browser/image_fetcher/image_fetcher_impl_browsertest.cc", |
| "../browser/importer/firefox_importer_browsertest.cc", |
| "../browser/importer/importer_unittest_utils.cc", |
| "../browser/importer/importer_unittest_utils.h", |
| "../browser/infobars/infobar_observer.cc", |
| "../browser/infobars/infobar_observer.h", |
| "../browser/infobars/infobars_browsertest.cc", |
| "../browser/installable/installable_manager_browsertest.cc", |
| "../browser/invalidation/profile_invalidation_provider_factory_browsertest.cc", |
| "../browser/lifetime/browser_close_manager_browsertest.cc", |
| "../browser/lifetime/browser_shutdown_browsertest.cc", |
| "../browser/lite_video/lite_video_keyed_service_browsertest.cc", |
| "../browser/loader/cors_origin_access_list_browsertest.cc", |
| "../browser/loader/signed_exchange_policy_browsertest.cc", |
| "../browser/loadtimes_extension_bindings_browsertest.cc", |
| "../browser/locale_tests_browsertest.cc", |
| "../browser/login_detection/login_detection_browsertest.cc", |
| "../browser/login_detection/password_store_sites_browsertest.cc", |
| "../browser/lookalikes/lookalike_url_navigation_throttle_browsertest.cc", |
| "../browser/media/autoplay_metrics_browsertest.cc", |
| "../browser/media/cast_mirroring_performance_browsertest.cc", |
| "../browser/media/cast_mirroring_service_host_browsertest.cc", |
| "../browser/media/defer_background_media_browsertest.cc", |
| "../browser/media/encrypted_media_browsertest.cc", |
| "../browser/media/encrypted_media_supported_types_browsertest.cc", |
| "../browser/media/feeds/media_feeds_browsertest.cc", |
| "../browser/media/history/media_history_browsertest.cc", |
| "../browser/media/media_browsertest.cc", |
| "../browser/media/media_browsertest.h", |
| "../browser/media/media_engagement_autoplay_browsertest.cc", |
| "../browser/media/media_engagement_browsertest.cc", |
| "../browser/media/test_license_server.cc", |
| "../browser/media/test_license_server.h", |
| "../browser/media/test_license_server_config.h", |
| "../browser/media/unified_autoplay_browsertest.cc", |
| "../browser/media/webrtc/media_stream_devices_controller_browsertest.cc", |
| "../browser/media/webrtc/media_stream_permission_browsertest.cc", |
| "../browser/media/webrtc/test_stats_dictionary.cc", |
| "../browser/media/webrtc/test_stats_dictionary.h", |
| "../browser/media/webrtc/test_stats_dictionary_unittest.cc", |
| "../browser/media/webrtc/webrtc_apprtc_browsertest.cc", |
| "../browser/media/webrtc/webrtc_browsertest.cc", |
| "../browser/media/webrtc/webrtc_browsertest_base.cc", |
| "../browser/media/webrtc/webrtc_browsertest_base.h", |
| "../browser/media/webrtc/webrtc_browsertest_common.cc", |
| "../browser/media/webrtc/webrtc_browsertest_common.h", |
| "../browser/media/webrtc/webrtc_browsertest_perf.cc", |
| "../browser/media/webrtc/webrtc_browsertest_perf.h", |
| "../browser/media/webrtc/webrtc_browsertest_perf_unittest.cc", |
| "../browser/media/webrtc/webrtc_desktop_capture_browsertest.cc", |
| "../browser/media/webrtc/webrtc_disable_encryption_flag_browsertest.cc", |
| "../browser/media/webrtc/webrtc_getdisplaymedia_browsertest.cc", |
| "../browser/media/webrtc/webrtc_getmediadevices_browsertest.cc", |
| "../browser/media/webrtc/webrtc_internals_integration_browsertest.cc", |
| "../browser/media/webrtc/webrtc_internals_perf_browsertest.cc", |
| "../browser/media/webrtc/webrtc_pan_tilt_zoom_browsertest.cc", |
| "../browser/media/webrtc/webrtc_stats_perf_browsertest.cc", |
| "../browser/media/webrtc/webrtc_video_display_perf_browsertest.cc", |
| "../browser/media/webrtc/webrtc_video_high_bitrate_browsertest.cc", |
| "../browser/media/webrtc/webrtc_video_quality_browsertest.cc", |
| "../browser/media/webrtc/webrtc_webcam_browsertest.cc", |
| "../browser/media/wv_test_license_server_config.cc", |
| "../browser/media/wv_test_license_server_config.h", |
| "../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/cloned_install_client_id_reset_browsertest.cc", |
| "../browser/metrics/desktop_session_duration/audible_contents_tracker_browsertest.cc", |
| "../browser/metrics/metrics_reporting_state_browsertest.cc", |
| "../browser/metrics/metrics_service_browsertest.cc", |
| "../browser/metrics/metrics_service_user_demographics_browsertest.cc", |
| "../browser/metrics/oom/out_of_memory_reporter_browsertest.cc", |
| "../browser/metrics/process_memory_metrics_emitter_browsertest.cc", |
| "../browser/metrics/startup_metrics_browsertest.cc", |
| "../browser/metrics/tab_stats_tracker_browsertest.cc", |
| "../browser/metrics/ukm_background_recorder_browsertest.cc", |
| "../browser/metrics/ukm_browsertest.cc", |
| "../browser/metrics/variations/force_field_trials_browsertest.cc", |
| "../browser/metrics/variations/variations_http_headers_browsertest.cc", |
| "../browser/navigation_predictor/navigation_predictor_browsertest.cc", |
| "../browser/navigation_predictor/navigation_predictor_preconnect_client_browsertest.cc", |
| "../browser/navigation_predictor/navigation_predictor_renderer_warmup_client_browsertest.cc", |
| "../browser/navigation_predictor/search_engine_preconnector_browsertest.cc", |
| "../browser/net/cert_verify_proc_browsertest.cc", |
| "../browser/net/chrome_accept_header_browsertest.cc", |
| "../browser/net/chrome_mojo_proxy_resolver_factory_browsertest.cc", |
| "../browser/net/chrome_network_delegate_browsertest.cc", |
| "../browser/net/chrome_network_service_browsertest.cc", |
| "../browser/net/chrome_network_service_restart_browsertest.cc", |
| "../browser/net/cookie_policy_browsertest.cc", |
| "../browser/net/cookie_store_samesite_browsertest.cc", |
| "../browser/net/dns_over_https_browsertest.cc", |
| "../browser/net/dns_probe_browsertest.cc", |
| "../browser/net/errorpage_browsertest.cc", |
| "../browser/net/ftp_browsertest.cc", |
| "../browser/net/load_timing_browsertest.cc", |
| "../browser/net/log_net_log_browsertest.cc", |
| "../browser/net/netinfo_network_quality_estimator_holdback_browsertest.cc", |
| "../browser/net/network_connection_tracker_browsertest.cc", |
| "../browser/net/network_context_configuration_browsertest.cc", |
| "../browser/net/network_quality_estimator_browsertest.cc", |
| "../browser/net/network_quality_estimator_prefs_browsertest.cc", |
| "../browser/net/network_quality_netinfo_browsertest.cc", |
| "../browser/net/network_quality_tracker_browsertest.cc", |
| "../browser/net/network_request_metrics_browsertest.cc", |
| "../browser/net/nss_context_chromeos_browsertest.cc", |
| "../browser/net/private_network_request_browsertest.cc", |
| "../browser/net/profile_network_context_service_browsertest.cc", |
| "../browser/net/profile_network_context_service_test_utils.cc", |
| "../browser/net/profile_network_context_service_test_utils.h", |
| "../browser/net/proxy_browsertest.cc", |
| "../browser/net/proxy_test_utils.cc", |
| "../browser/net/proxy_test_utils.h", |
| "../browser/net/reporting_browsertest.cc", |
| "../browser/net/samesite_cookies_policy_browsertest.cc", |
| "../browser/net/storage_test_utils.cc", |
| "../browser/net/storage_test_utils.h", |
| "../browser/net/system_network_context_manager_browsertest.cc", |
| "../browser/net/trust_token_usecounter_browsertest.cc", |
| "../browser/net/websocket_browsertest.cc", |
| "../browser/no_best_effort_tasks_browsertest.cc", |
| "../browser/no_best_effort_tasks_during_startup_browsertest.cc", |
| "../browser/notifications/scheduler/notification_schedule_service_browsertest.cc", |
| "../browser/ntp_tiles/ntp_tiles_browsertest.cc", |
| "../browser/optimization_guide/blink/blink_optimization_guide_browsertest.cc", |
| "../browser/optimization_guide/hints_fetcher_browsertest.cc", |
| "../browser/optimization_guide/optimization_guide_keyed_service_browsertest.cc", |
| "../browser/optimization_guide/prediction/machine_learning_service_browsertest.cc", |
| "../browser/optimization_guide/prediction/prediction_manager_browsertest.cc", |
| "../browser/page_load_metrics/observers/ad_metrics/ad_density_intervention_browsertest.cc", |
| "../browser/page_load_metrics/observers/ad_metrics/ads_page_load_metrics_observer_browsertest.cc", |
| "../browser/page_load_metrics/observers/ad_metrics/large_sticky_ad_intervention_browsertest.cc", |
| "../browser/page_load_metrics/observers/ad_metrics/overlay_popup_ad_intervention_browsertest.cc", |
| "../browser/page_load_metrics/observers/back_forward_cache_page_load_metrics_observer_browsertest.cc", |
| "../browser/page_load_metrics/observers/core/amp_page_load_metrics_observer_browsertest.cc", |
| "../browser/page_load_metrics/observers/data_saver_site_breakdown_metrics_observer_browsertest.cc", |
| "../browser/page_load_metrics/observers/data_use_metrics_observer_browsertest.cc", |
| "../browser/page_load_metrics/observers/foreground_duration_ukm_observer_browsertest.cc", |
| "../browser/page_load_metrics/observers/https_engagement_metrics/https_engagement_page_load_metrics_observer_browsertest.cc", |
| "../browser/page_load_metrics/observers/javascript_frameworks_ukm_observer_browsertest.cc", |
| "../browser/page_load_metrics/observers/live_tab_count_page_load_metrics_observer_browsertest.cc", |
| "../browser/page_load_metrics/observers/multi_tab_loading_page_load_metrics_observer_browsertest.cc", |
| "../browser/page_load_metrics/observers/prefetch_proxy_page_load_metrics_observer_browsertest.cc", |
| "../browser/page_load_metrics/observers/security_state_page_load_metrics_observer_browsertest.cc", |
| "../browser/page_load_metrics/observers/signed_exchange_page_load_metrics_browsertest.cc", |
| "../browser/page_load_metrics/observers/third_party_metrics_observer_browsertest.cc", |
| "../browser/page_load_metrics/observers/use_counter_page_load_metrics_observer_browsertest.cc", |
| "../browser/page_load_metrics/page_load_metrics_browsertest.cc", |
| "../browser/password_manager/credential_manager_browsertest.cc", |
| "../browser/password_manager/password_manager_browsertest.cc", |
| "../browser/pdf/pdf_extension_test.cc", |
| "../browser/pdf/pdf_extension_test_util.cc", |
| "../browser/pdf/pdf_extension_test_util.h", |
| "../browser/performance_manager/background_tab_loading_policy_browsertest.cc", |
| "../browser/performance_manager/frame_node_impl_browsertest.cc", |
| "../browser/performance_manager/mechanisms/page_discarder_browsertest.cc", |
| "../browser/performance_manager/page_load_tracker_decorator_browsertest.cc", |
| "../browser/performance_manager/tab_properties_decorator_browsertest.cc", |
| "../browser/permissions/permission_delegation_browsertest.cc", |
| "../browser/permissions/permission_manager_browsertest.cc", |
| "../browser/permissions/permission_request_manager_browsertest.cc", |
| "../browser/permissions/permissions_browsertest.cc", |
| "../browser/permissions/permissions_browsertest.h", |
| "../browser/picture_in_picture/picture_in_picture_window_controller_browsertest.cc", |
| "../browser/plugins/plugin_response_interceptor_url_loader_throttle_browsertest.cc", |
| "../browser/policy/allow_sync_xhr_in_page_dismissal_browsertest.cc", |
| "../browser/policy/autoplay_policy_browsertest.cc", |
| "../browser/policy/browsing_history_policy_browsertest.cc", |
| "../browser/policy/cast_policy_browsertest.cc", |
| "../browser/policy/certificate_transparency_policy_browsertest.cc", |
| "../browser/policy/cloud/chrome_browser_cloud_management_browsertest.cc", |
| "../browser/policy/cloud/cloud_policy_browsertest.cc", |
| "../browser/policy/cloud/cloud_policy_manager_browsertest.cc", |
| "../browser/policy/cloud/cloud_policy_test_utils.cc", |
| "../browser/policy/cloud/cloud_policy_test_utils.h", |
| "../browser/policy/cloud/component_cloud_policy_browsertest.cc", |
| "../browser/policy/cloud/device_management_service_browsertest.cc", |
| "../browser/policy/component_updater_policy_browsertest.cc", |
| "../browser/policy/content_settings_policy_browsertest.cc", |
| "../browser/policy/default_search_provider_policy_browsertest.cc", |
| "../browser/policy/developer_tools_policy_browsertest.cc", |
| "../browser/policy/download_directory_browsertest.cc", |
| "../browser/policy/force_google_safe_search_policy_browsertest.cc", |
| "../browser/policy/hide_webstore_icon_policy_browsertest.cc", |
| "../browser/policy/hsts_policy_browsertest.cc", |
| "../browser/policy/media_stream_policy_browsertest.cc", |
| "../browser/policy/policy_browsertest.cc", |
| "../browser/policy/policy_initialization_browsertest.cc", |
| "../browser/policy/policy_network_browsertest.cc", |
| "../browser/policy/policy_prefs_browsertest.cc", |
| "../browser/policy/policy_startup_browsertest.cc", |
| "../browser/policy/policy_statistics_collector_browsertest.cc", |
| "../browser/policy/policy_test_google_browsertest.cc", |
| "../browser/policy/policy_test_utils.cc", |
| "../browser/policy/policy_test_utils.h", |
| "../browser/policy/restore_on_startup_policy_browsertest.cc", |
| "../browser/policy/safe_browsing_policy_browsertest.cc", |
| "../browser/policy/signed_exchange_browsertest.cc", |
| "../browser/policy/site_isolation_policy_browsertest.cc", |
| "../browser/policy/ssl_error_overriding_allowed_policy_browsertest.cc", |
| "../browser/policy/url_blacklist_policy_browsertest.cc", |
| "../browser/policy/web_rtc_event_log_collection_allowed_policy_browsertest.cc", |
| "../browser/policy/web_rtc_local_ips_allowed_urls_policy_browsertest.cc", |
| "../browser/policy/web_rtc_udp_port_range_policy_browsertest.cc", |
| "../browser/policy/window_opener_policy_browsertest.cc", |
| "../browser/portal/portal_browsertest.cc", |
| "../browser/portal/portal_recently_audible_browsertest.cc", |
| "../browser/predictors/loading_predictor_browsertest.cc", |
| "../browser/prefetch/no_state_prefetch/prerender_nostate_prefetch_browsertest.cc", |
| "../browser/prefetch/no_state_prefetch/prerender_test_utils.cc", |
| "../browser/prefetch/no_state_prefetch/prerender_test_utils.h", |
| "../browser/prefetch/prefetch_browsertest.cc", |
| "../browser/prefetch/prefetch_proxy/prefetch_proxy_browsertest.cc", |
| "../browser/prefetch/prefetch_proxy/prefetch_proxy_test_utils.cc", |
| "../browser/prefetch/prefetch_proxy/prefetch_proxy_test_utils.h", |
| "../browser/prefetch/search_prefetch/search_prefetch_service_browsertest.cc", |
| "../browser/prefs/pref_functional_browsertest.cc", |
| "../browser/prefs/pref_service_browsertest.cc", |
| "../browser/prefs/tracked/pref_hash_browsertest.cc", |
| "../browser/previews/defer_all_script_browsertest.cc", |
| "../browser/previews/defer_all_script_priority_browsertest.cc", |
| "../browser/previews/lazyload_browsertest.cc", |
| "../browser/previews/previews_service_browser_test.cc", |
| "../browser/previews/previews_test_util.cc", |
| "../browser/previews/previews_test_util.h", |
| "../browser/privacy_sandbox/privacy_sandbox_settings_browsertest.cc", |
| "../browser/profile_resetter/profile_resetter_browsertest.cc", |
| "../browser/profiles/host_zoom_map_browsertest.cc", |
| "../browser/profiles/profile_activity_metrics_recorder_browsertest.cc", |
| "../browser/profiles/profile_browsertest.cc", |
| "../browser/profiles/profile_list_desktop_browsertest.cc", |
| "../browser/profiles/profile_manager_browsertest.cc", |
| "../browser/profiles/profile_theme_update_service_browsertest.cc", |
| "../browser/push_messaging/push_messaging_browsertest.cc", |
| "../browser/referrer_policy_browsertest.cc", |
| "../browser/renderer_context_menu/accessibility_labels_menu_observer_browsertest.cc", |
| "../browser/renderer_context_menu/mock_render_view_context_menu.cc", |
| "../browser/renderer_context_menu/mock_render_view_context_menu.h", |
| "../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/spelling_menu_observer_browsertest.cc", |
| "../browser/renderer_host/render_process_host_chrome_browsertest.cc", |
| "../browser/repost_form_warning_browsertest.cc", |
| "../browser/resource_coordinator/discard_before_unload_helper.cc", |
| "../browser/resource_coordinator/discard_before_unload_helper.h", |
| "../browser/resource_coordinator/discard_before_unload_helper_browsertest.cc", |
| "../browser/resource_coordinator/tab_activity_watcher_browsertest.cc", |
| "../browser/resource_coordinator/tab_manager_browsertest.cc", |
| "../browser/safe_browsing/client_side_detection_host_browsertest.cc", |
| "../browser/safe_browsing/client_side_detection_service_browsertest.cc", |
| "../browser/safe_browsing/cloud_content_scanning/deep_scanning_browsertest_base.cc", |
| "../browser/safe_browsing/cloud_content_scanning/deep_scanning_browsertest_base.h", |
| "../browser/safe_browsing/cloud_content_scanning/deep_scanning_test_utils.cc", |
| "../browser/safe_browsing/cloud_content_scanning/deep_scanning_test_utils.h", |
| "../browser/safe_browsing/download_protection/deep_scanning_browsertest.cc", |
| "../browser/safe_browsing/download_protection/download_protection_service_browsertest.cc", |
| "../browser/safe_browsing/test_safe_browsing_database_helper.cc", |
| "../browser/safe_browsing/test_safe_browsing_database_helper.h", |
| "../browser/safe_xml_parser_browsertest.cc", |
| "../browser/search/local_ntp_navigation_browsertest.cc", |
| "../browser/search/ntp_custom_background_enabled_policy_handler_browsertest.cc", |
| "../browser/search_engines/template_url_scraper_browsertest.cc", |
| "../browser/secure_origin_allowlist_browsertest.cc", |
| "../browser/serial/chrome_serial_browsertest.cc", |
| "../browser/sessions/better_session_restore_browsertest.cc", |
| "../browser/sessions/closed_tab_cache_browsertest.cc", |
| "../browser/sessions/session_restore_browsertest.cc", |
| "../browser/sessions/session_restore_observer_browsertest.cc", |
| "../browser/sessions/tab_restore_browsertest.cc", |
| "../browser/sessions/tab_restore_service_browsertest.cc", |
| "../browser/signin/e2e_tests/live_sign_in_test.cc", |
| "../browser/signin/e2e_tests/live_test.cc", |
| "../browser/signin/e2e_tests/live_test.h", |
| "../browser/site_isolation/chrome_site_per_process_browsertest.cc", |
| "../browser/site_isolation/chrome_site_per_process_test.cc", |
| "../browser/site_isolation/chrome_site_per_process_test.h", |
| "../browser/site_isolation/origin_agent_cluster_browsertest.cc", |
| "../browser/site_isolation/site_details_browsertest.cc", |
| "../browser/spellchecker/spellcheck_service_browsertest.cc", |
| "../browser/ssl/certificate_reporting_test_utils.cc", |
| "../browser/ssl/certificate_reporting_test_utils.h", |
| "../browser/ssl/chrome_expect_ct_reporter_browsertest.cc", |
| "../browser/ssl/connection_help_tab_helper_browsertest.cc", |
| "../browser/ssl/crlset_browsertest.cc", |
| "../browser/ssl/known_interception_disclosure_infobar_browsertest.cc", |
| "../browser/ssl/known_interception_disclosure_ui_browsertest.cc", |
| "../browser/ssl/ocsp_browsertest.cc", |
| "../browser/ssl/security_state_tab_helper_browsertest.cc", |
| "../browser/ssl/ssl_browsertest.cc", |
| "../browser/ssl/stateful_ssl_host_state_delegate_test.cc", |
| "../browser/storage/durable_storage_browsertest.cc", |
| "../browser/storage_access_api/api_browsertest.cc", |
| "../browser/subresource_filter/ad_tagging_browsertest.cc", |
| "../browser/subresource_filter/ads_intervention_manager_browsertest.cc", |
| "../browser/subresource_filter/ruleset_browsertest.cc", |
| "../browser/subresource_filter/subresource_filter_browser_test_harness.cc", |
| "../browser/subresource_filter/subresource_filter_browser_test_harness.h", |
| "../browser/subresource_filter/subresource_filter_browsertest.cc", |
| "../browser/subresource_filter/subresource_filter_devtools_browsertest.cc", |
| "../browser/subresource_filter/subresource_filter_intercepting_browsertest.cc", |
| "../browser/subresource_filter/subresource_filter_popup_browsertest.cc", |
| "../browser/subresource_filter/subresource_filter_settings_browsertest.cc", |
| "../browser/subresource_filter/subresource_filter_special_subframe_navigations_browsertest.cc", |
| "../browser/subresource_filter/subresource_filter_web_socket_browsertest.cc", |
| "../browser/subresource_filter/subresource_filter_worker_browsertest.cc", |
| "../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/navigation_metrics_recorder_browsertest.cc", |
| "../browser/tab_contents/view_source_browsertest.cc", |
| "../browser/task_manager/mock_web_contents_task_manager.cc", |
| "../browser/task_manager/mock_web_contents_task_manager.h", |
| "../browser/task_manager/providers/web_contents/background_contents_tag_browsertest.cc", |
| "../browser/task_manager/providers/web_contents/devtools_tag_browsertest.cc", |
| "../browser/task_manager/providers/web_contents/extension_tag_browsertest.cc", |
| "../browser/task_manager/providers/web_contents/subframe_task_browsertest.cc", |
| "../browser/task_manager/providers/web_contents/tab_contents_tag_browsertest.cc", |
| "../browser/task_manager/providers/worker_task_provider_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/task_manager/task_manager_tester.cc", |
| "../browser/task_manager/task_manager_tester.h", |
| "../browser/themes/theme_service_browsertest.cc", |
| "../browser/tracing/chrome_tracing_delegate_browsertest.cc", |
| "../browser/translate/language_detection_service_browsertest.cc", |
| "../browser/translate/translate_manager_browsertest.cc", |
| "../browser/translate/translate_model_service_browsertest.cc", |
| "../browser/ui/ask_google_for_suggestions_dialog_browsertest.cc", |
| "../browser/ui/autofill/payments/card_unmask_prompt_view_browsertest.cc", |
| "../browser/ui/autofill/payments/card_unmask_prompt_view_tester.h", |
| "../browser/ui/autofill/payments/save_card_bubble_controller_impl_browsertest.cc", |
| "../browser/ui/autofill/payments/save_upi_bubble_controller_impl_browsertest.cc", |
| "../browser/ui/blocked_content/popup_opener_tab_helper_browsertest.cc", |
| "../browser/ui/blocked_content/popup_tracker_browsertest.cc", |
| "../browser/ui/blocked_content/safe_browsing_triggered_popup_blocker_browsertest.cc", |
| "../browser/ui/blocked_content/tab_under_blocker_browsertest.cc", |
| "../browser/ui/bookmarks/bookmark_browsertest.cc", |
| "../browser/ui/browser_browsertest.cc", |
| "../browser/ui/browser_command_controller_browsertest.cc", |
| "../browser/ui/browser_commands_browsertest.cc", |
| "../browser/ui/browser_navigator_browsertest.cc", |
| "../browser/ui/browser_navigator_browsertest.h", |
| "../browser/ui/browser_tab_strip_model_delegate_browsertest.cc", |
| "../browser/ui/browser_tabrestore_browsertest.cc", |
| "../browser/ui/collected_cookies_browsertest.cc", |
| "../browser/ui/content_settings/content_setting_bubble_model_browsertest.cc", |
| "../browser/ui/content_settings/content_setting_image_model_browsertest.cc", |
| "../browser/ui/content_settings/framebust_block_browsertest.cc", |
| "../browser/ui/exclusive_access/fullscreen_controller_browsertest.cc", |
| "../browser/ui/exclusive_access/mouse_lock_controller_browsertest.cc", |
| "../browser/ui/extensions/application_launch_browsertest.cc", |
| "../browser/ui/extensions/extension_enable_flow_browsertest.cc", |
| "../browser/ui/extensions/extension_enable_flow_test_delegate.cc", |
| "../browser/ui/extensions/extension_enable_flow_test_delegate.h", |
| "../browser/ui/extensions/extension_message_bubble_browsertest.cc", |
| "../browser/ui/extensions/extension_message_bubble_browsertest.h", |
| "../browser/ui/extensions/hosted_app_browsertest.cc", |
| "../browser/ui/extensions/settings_overridden_params_providers_browsertest.cc", |
| "../browser/ui/find_bar/find_bar_controller_browsertest.cc", |
| "../browser/ui/find_bar/find_bar_host_browsertest.cc", |
| "../browser/ui/hats/hats_service_browsertest.cc", |
| "../browser/ui/hats/hats_survey_status_checker_browsertest.cc", |
| "../browser/ui/javascript_dialogs/javascript_dialog_browsertest.cc", |
| "../browser/ui/login/login_handler_browsertest.cc", |
| "../browser/ui/managed_ui_browsertest.cc", |
| "../browser/ui/manifest_web_app_browsertest.cc", |
| "../browser/ui/native_window_tracker_browsertest.cc", |
| "../browser/ui/omnibox/alternate_nav_infobar_delegate_browsertest.cc", |
| "../browser/ui/passwords/manage_passwords_test.cc", |
| "../browser/ui/passwords/password_generation_popup_view_browsertest.cc", |
| "../browser/ui/passwords/password_generation_popup_view_tester.h", |
| "../browser/ui/passwords/well_known_change_password_navigation_throttle_browsertest.cc", |
| "../browser/ui/permission_bubble/permission_bubble_browser_test_util.cc", |
| "../browser/ui/permission_bubble/permission_bubble_browser_test_util.h", |
| "../browser/ui/popup_browsertest.cc", |
| "../browser/ui/prefs/prefs_tab_helper_browsertest.cc", |
| "../browser/ui/profile_error_browsertest.cc", |
| "../browser/ui/renderer_event_injection_browsertest.cc", |
| "../browser/ui/search/instant_test_base.cc", |
| "../browser/ui/search/instant_test_base.h", |
| "../browser/ui/search/instant_test_utils.cc", |
| "../browser/ui/search/instant_test_utils.h", |
| "../browser/ui/search/instant_theme_browsertest.cc", |
| "../browser/ui/search/local_ntp_backgrounds_browsertest.cc", |
| "../browser/ui/search/local_ntp_browsertest.cc", |
| "../browser/ui/search/local_ntp_browsertest_base.cc", |
| "../browser/ui/search/local_ntp_browsertest_base.h", |
| "../browser/ui/search/local_ntp_doodle_browsertest.cc", |
| "../browser/ui/search/local_ntp_js_browsertest.cc", |
| "../browser/ui/search/local_ntp_one_google_bar_browsertest.cc", |
| "../browser/ui/search/local_ntp_promos_browsertest.cc", |
| "../browser/ui/search/local_ntp_suggestions_browsertest.cc", |
| "../browser/ui/search/local_ntp_voice_search_browsertest.cc", |
| "../browser/ui/search/new_tab_page_navigation_throttle_browsertest.cc", |
| "../browser/ui/search/third_party_ntp_browsertest.cc", |
| "../browser/ui/search_engines/search_engine_tab_helper_browsertest.cc", |
| "../browser/ui/startup/startup_browser_creator_browsertest.cc", |
| "../browser/ui/sync/one_click_signin_links_delegate_impl_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/tabs/pinned_tab_service_browsertest.cc", |
| "../browser/ui/test/browser_ui_browsertest.cc", |
| "../browser/ui/test/test_browser_dialog.cc", |
| "../browser/ui/test/test_browser_dialog.h", |
| "../browser/ui/test/test_browser_ui.cc", |
| "../browser/ui/test/test_browser_ui.h", |
| "../browser/ui/test/test_infobar.cc", |
| "../browser/ui/test/test_infobar.h", |
| "../browser/ui/thumbnails/thumbnail_readiness_tracker_browsertest.cc", |
| "../browser/ui/thumbnails/thumbnail_tab_helper_browsertest.cc", |
| "../browser/ui/toolbar/browser_actions_bar_browsertest.cc", |
| "../browser/ui/toolbar/browser_actions_bar_browsertest.h", |
| "../browser/ui/toolbar/toolbar_actions_model_browsertest.cc", |
| "../browser/ui/update_chrome_dialog_browsertest.cc", |
| "../browser/ui/views/apps/app_info_dialog/app_info_dialog_views_browsertest.cc", |
| "../browser/ui/views/bookmarks/bookmark_bar_view_browsertest.cc", |
| "../browser/ui/views/content_setting_bubble_contents_browsertest.cc", |
| "../browser/ui/views/content_test_utils.cc", |
| "../browser/ui/views/content_test_utils.h", |
| "../browser/ui/views/device_chooser_browsertest.cc", |
| "../browser/ui/views/eye_dropper/eye_dropper_browsertest.cc", |
| "../browser/ui/views/hats/hats_browsertest.cc", |
| "../browser/ui/views/intent_picker_bubble_view_browsertest.cc", |
| "../browser/ui/views/reader_mode/reader_mode_icon_view_browsertest.cc", |
| "../browser/ui/views/sharing/click_to_call_browsertest.cc", |
| "../browser/ui/views/sharing/remote_copy_browsertest.cc", |
| "../browser/ui/views/sharing/shared_clipboard_browsertest.cc", |
| "../browser/ui/views/sharing/sharing_browsertest.cc", |
| "../browser/ui/views/sharing/sharing_browsertest.h", |
| "../browser/ui/views/tabs/tab_search_button_browsertest.cc", |
| "../browser/ui/views/tabs/tab_strip_browsertest.cc", |
| "../browser/ui/views/web_apps/frame_toolbar/web_app_frame_toolbar_browsertest.cc", |
| "../browser/ui/views/web_apps/frame_toolbar/web_app_minimal_ui_test.cc", |
| "../browser/ui/views/web_apps/web_app_integration_browsertest.cc", |
| "../browser/ui/views/web_apps/web_app_tab_strip_browsertest.cc", |
| "../browser/ui/views/webauthn/authenticator_dialog_view_browsertest.cc", |
| "../browser/ui/views/webview_accessibility_browsertest.cc", |
| "../browser/ui/web_applications/app_browser_controller_browsertest.cc", |
| "../browser/ui/web_applications/create_shortcut_browsertest.cc", |
| "../browser/ui/web_applications/pwa_mixed_content_browsertest.cc", |
| "../browser/ui/web_applications/web_app_badging_browsertest.cc", |
| "../browser/ui/web_applications/web_app_browsertest.cc", |
| "../browser/ui/web_applications/web_app_engagement_browsertest.cc", |
| "../browser/ui/web_applications/web_app_file_handling_browsertest.cc", |
| "../browser/ui/web_applications/web_app_link_capturing_browsertest.cc", |
| "../browser/ui/web_applications/web_app_metrics_browsertest.cc", |
| "../browser/ui/web_applications/web_app_navigate_browsertest.cc", |
| "../browser/ui/web_applications/web_app_profile_deletion_browsertest.cc", |
| "../browser/ui/web_applications/web_app_ui_manager_impl_browsertest.cc", |
| "../browser/ui/web_applications/web_app_uninstall_browsertest.cc", |
| "../browser/ui/webauthn/authenticator_dialog_browsertest.cc", |
| "../browser/ui/webui/autofill_and_password_manager_internals/autofill_internals_ui_browsertest.cc", |
| "../browser/ui/webui/autofill_and_password_manager_internals/password_manager_internals_ui_browsertest.cc", |
| "../browser/ui/webui/bookmarks/bookmarks_browsertest.cc", |
| "../browser/ui/webui/bookmarks/bookmarks_browsertest.h", |
| "../browser/ui/webui/chrome_url_data_manager_browsertest.cc", |
| "../browser/ui/webui/chrome_web_ui_controller_factory_browsertest.cc", |
| "../browser/ui/webui/chrome_webui_navigation_browsertest.cc", |
| "../browser/ui/webui/commander/commander_ui_browsertest.cc", |
| "../browser/ui/webui/constrained_web_dialog_ui_browsertest.cc", |
| "../browser/ui/webui/extensions/extension_settings_browsertest.cc", |
| "../browser/ui/webui/extensions/extension_settings_browsertest.h", |
| "../browser/ui/webui/extensions/extensions_internals_browsertest.cc", |
| "../browser/ui/webui/identity_internals_ui_browsertest.cc", |
| "../browser/ui/webui/identity_internals_ui_browsertest.h", |
| "../browser/ui/webui/inspect_ui_browsertest.cc", |
| "../browser/ui/webui/interstitials/interstitial_ui_browsertest.cc", |
| "../browser/ui/webui/log_web_ui_url_browsertest.cc", |
| "../browser/ui/webui/management/management_a11y_browsertest.cc", |
| "../browser/ui/webui/management/management_a11y_browsertest.h", |
| "../browser/ui/webui/management/management_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/new_tab_page/webui_ntp_browsertest.cc", |
| "../browser/ui/webui/ntp/new_tab_ui_browsertest.cc", |
| "../browser/ui/webui/policy/policy_ui_browsertest.cc", |
| "../browser/ui/webui/prefs_internals_browsertest.cc", |
| "../browser/ui/webui/profile_helper_browsertest.cc", |
| "../browser/ui/webui/settings/settings_clear_browsing_data_handler_browsertest.cc", |
| "../browser/ui/webui/settings/settings_secure_dns_handler_browsertest.cc", |
| "../browser/ui/webui/settings/settings_ui_browsertest.cc", |
| "../browser/ui/webui/signin/user_manager_ui_browsertest.cc", |
| "../browser/ui/webui/tab_search/tab_search_ui_browsertest.cc", |
| "../browser/ui/webui/webui_load_timer_browsertest.cc", |
| "../browser/ui/webui/webui_webview_browsertest.cc", |
| "../browser/ui/zoom/zoom_controller_browsertest.cc", |
| "../browser/ukm_worker_browsertest.cc", |
| "../browser/unload_browsertest.cc", |
| "../browser/usb/usb_browsertest.cc", |
| "../browser/wake_lock/wake_lock_browsertest.cc", |
| "../browser/webauthn/authenticator_extension_browsertest.cc", |
| "../browser/window_placement/window_placement_permission_context_browsertest.cc", |
| "../common/time_format_browsertest.cc", |
| "../renderer/autofill/autofill_renderer_browsertest.cc", |
| "../renderer/autofill/fake_mojo_password_manager_driver.cc", |
| "../renderer/autofill/fake_mojo_password_manager_driver.h", |
| "../renderer/autofill/fake_password_generation_driver.cc", |
| "../renderer/autofill/fake_password_generation_driver.h", |
| "../renderer/autofill/form_autocomplete_browsertest.cc", |
| "../renderer/autofill/form_autofill_browsertest.cc", |
| "../renderer/autofill/form_control_click_detection_browsertest.cc", |
| "../renderer/autofill/page_passwords_analyser_browsertest.cc", |
| "../renderer/autofill/password_autofill_agent_browsertest.cc", |
| "../renderer/autofill/password_generation_agent_browsertest.cc", |
| "../renderer/autofill/password_generation_test_utils.cc", |
| "../renderer/autofill/password_generation_test_utils.h", |
| "../renderer/chrome_content_renderer_client_browsertest.cc", |
| "../renderer/chrome_content_settings_agent_delegate_browsertest.cc", |
| "../renderer/chrome_render_frame_observer_browsertest.cc", |
| "../renderer/lite_video/lite_video_hint_agent_browsertest.cc", |
| "../renderer/subresource_redirect/login_robots_decider_agent_browsertest.cc", |
| "../renderer/subresource_redirect/login_robots_url_loader_throttle_browsertest.cc", |
| "../renderer/subresource_redirect/public_image_hints_decider_agent_browsertest.cc", |
| "../renderer/subresource_redirect/subresource_redirect_renderer_browsertest.cc", |
| "../renderer/translate/per_frame_translate_agent_browsertest.cc", |
| "../renderer/translate/translate_agent_browsertest.cc", |
| "../renderer/translate/translate_script_browsertest.cc", |
| "base/chrome_render_view_test.cc", |
| "base/chrome_render_view_test.h", |
| "base/in_process_browser_test_browsertest.cc", |
| "base/memory_tracing_browsertest.cc", |
| "base/test_chrome_web_ui_controller_factory_browsertest.cc", |
| "base/web_ui_browser_test_browsertest.cc", |
| "data/webui/async_gen.cc", |
| "data/webui/async_gen.h", |
| "data/webui/certificate_viewer_ui_test-inl.h", |
| "data/webui/chrome_send_browsertest.cc", |
| "data/webui/chrome_send_browsertest.h", |
| "data/webui/history_ui_browsertest.cc", |
| "data/webui/history_ui_browsertest.h", |
| "data/webui/mojo/mojo_web_ui_controller_browsertest.cc", |
| "data/webui/ntp4_browsertest.cc", |
| "data/webui/ntp4_browsertest.h", |
| "data/webui/webui_resource_browsertest.cc", |
| "gpu/webgl_infobar_browsertest.cc", |
| "origin_policy/origin_policy_browsertest.cc", |
| "ppapi/ppapi_browsertest.cc", |
| "ppapi/ppapi_filechooser_browsertest.cc", |
| "v8/wasm_trap_handler_browsertest.cc", |
| ] |
| |
| # If this target is used on Android in the future, these browser/speech/* |
| # files will probably not be applicable. |
| sources += [ |
| "../browser/speech/extension_api/tts_extension_apitest.cc", |
| "../browser/speech/speech_recognition_browsertest.cc", |
| "../browser/speech/speech_recognizer_browsertest.cc", |
| ] |
| |
| if (is_mac) { |
| sources += [ |
| "../browser/app_controller_mac_browsertest.mm", |
| "../browser/apps/app_shim/app_shim_listener_browsertest_mac.mm", |
| "../browser/apps/app_shim/test/app_shim_listener_test_api_mac.cc", |
| "../browser/apps/app_shim/test/app_shim_listener_test_api_mac.h", |
| "../browser/ui/find_bar/find_bar_platform_helper_mac_browsertest.mm", |
| "../browser/ui/test/test_browser_dialog_mac.h", |
| "../browser/ui/test/test_browser_dialog_mac.mm", |
| "../common/mac/app_mode_chrome_locator_browsertest.mm", |
| "../common/mac/mock_launchd.h", |
| "../common/mac/mock_launchd.mm", |
| ] |
| } |
| |
| if (is_linux || is_chromeos) { |
| sources += [ |
| "../browser/error_reporting/webui_js_error_reporting_browsertest.cc", |
| ] |
| deps += [ "//chrome/browser/error_reporting:test_support" ] |
| } |
| |
| if (is_linux && !is_chromeos_lacros) { |
| sources += [ |
| "../browser/chrome_main_browsertest.cc", |
| "../browser/process_singleton_browsertest.cc", |
| ] |
| } |
| |
| if (is_win) { |
| sources += [ |
| "../browser/chrome_main_browsertest.cc", |
| "../browser/importer/edge_importer_browsertest_win.cc", |
| "../browser/importer/ie_importer_browsertest_win.cc", |
| "../browser/process_singleton_browsertest.cc", |
| "../browser/safe_browsing/chrome_cleaner/reporter_runner_browsertest_win.cc", |
| "../browser/ui/startup/startup_browser_creator_corrupt_profiles_browsertest_win.cc", |
| "../browser/ui/startup/startup_browser_creator_triggered_reset_browsertest_win.cc", |
| "../browser/ui/views/chrome_cleaner_dialog_browsertest_win.cc", |
| "../browser/ui/views/chrome_cleaner_reboot_dialog_browsertest_win.cc", |
| "../browser/ui/views/try_chrome_dialog_win/try_chrome_dialog_browsertest.cc", |
| ] |
| } |
| |
| if (build_with_tflite_lib) { |
| sources += [ "../browser/tflite_experiment/tflite_experiment_keyed_service_browsertest.cc" ] |
| } |
| if (is_win) { |
| data += [ "$root_out_dir/chrome_200_percent.pak" ] |
| deps += [ "//chrome/app:chrome_dll_resources" ] |
| } |
| |
| if (enable_soda) { |
| sources += |
| [ "../browser/speech/speech_recognition_service_browsertest.cc" ] |
| data_deps += [ "//third_party/soda:soda_resources" ] |
| } |
| |
| if (use_ozone) { |
| deps += [ "//ui/ozone" ] |
| } |
| |
| if (is_mac) { |
| sources += |
| [ "../browser/metrics/power/power_metrics_provider_mac_unittest.cc" ] |
| } |
| |
| if (is_chromeos_ash) { |
| data += [ |
| # TODO(GYP): figure out which of these things are |
| # actually needed and also which should be pulled in via |
| # data or data_deps and through which dependencies. |
| "//chrome/browser/chromeos/login/test/https_forwarder.py", |
| "//chrome/browser/resources/chromeos/wallpaper_manager/", |
| "//chrome/browser/resources/chromeos/zip_archiver/", |
| "//chrome/browser/resources/chromeos/zip_archiver/test/", |
| "//chromeos/test/data/", |
| "//ui/file_manager/base/", |
| "//ui/file_manager/file_manager/", |
| "//ui/file_manager/gallery/", |
| "//ui/file_manager/image_loader/", |
| "//ui/file_manager/integration_tests/", |
| "//ui/file_manager/video_player", |
| "//third_party/polymer/v1_0/components-chromium/", |
| "$root_gen_dir/ui/file_manager/file_manager/", |
| "$root_out_dir/chromevox_test_data/", |
| "$root_out_dir/content_shell.pak", |
| "$root_out_dir/resources/chromeos/", |
| ] |
| |
| data_deps += [ |
| "//ash/keyboard/ui:resources", |
| "//chrome", |
| "//testing/buildbot/filters:chromeos_filters", |
| "//ui/file_manager:unit_test_data", |
| ] |
| |
| if (use_dbus) { |
| deps += [ "//dbus:test_support" ] |
| } |
| |
| deps += [ |
| "//ash:test_support", |
| "//ash/keyboard/ui:test_support", |
| "//chrome/browser/chromeos:arc_test_support", |
| "//chrome/browser/chromeos:test_support", |
| "//chrome/browser/media/router:test_support", |
| "//chrome/browser/resources/chromeos/accessibility:browser_tests", |
| "//chrome/browser/ui/ash/holding_space:browser_tests", |
| "//chrome/services/file_util/public/cpp:browser_tests", |
| "//chromeos:test_support", |
| "//chromeos/components/drivefs:test_support", |
| "//chromeos/components/media_app_ui:browser_test_support", |
| "//chromeos/dbus:test_support", |
| "//chromeos/dbus/services:test_support", |
| "//chromeos/dbus/session_manager", |
| "//chromeos/services/machine_learning/public/cpp:test_support", |
| "//components/arc:arc_test_support", |
| "//components/exo:test_support", |
| "//components/prefs", |
| "//components/user_manager:test_support", |
| "//mojo/core/embedder", |
| "//services/audio/public/cpp:test_support", |
| "//services/network/public/mojom", |
| "//services/preferences/public/cpp", |
| "//services/preferences/public/mojom", |
| "//services/service_manager/public/cpp", |
| "//third_party/blink/public/common", |
| "//ui/events/devices:test_support", |
| "//url", |
| ] |
| |
| sources += [ |
| "../browser/apps/app_service/notifications_browsertest.cc", |
| "../browser/apps/app_service/web_apps_base_browsertest.cc", |
| "../browser/policy/accessibility_policy_browsertest.cc", |
| "../browser/policy/arc_policy_browsertest.cc", |
| "../browser/policy/assistant_policy_browsertest.cc", |
| "../browser/policy/audio_output_allowed_browsertest.cc", |
| "../browser/policy/login_policy_test_base_browsertest.cc", |
| "../browser/policy/note_taking_on_lock_screen_policy_browsertest.cc", |
| "../browser/policy/suggested_content_policy_browsertest.cc", |
| "../browser/policy/system_features_policy_browsertest.cc", |
| "../browser/renderer_context_menu/quick_answers_menu_observer_browsertest.cc", |
| "../browser/ui/webui/nearby_share/nearby_share_dialog_ui_browsertest.cc", |
| "../browser/webshare/chromeos/sharesheet_client_browsertest.cc", |
| ] |
| } |
| |
| if (!is_chromeos_ash) { |
| sources += [ |
| "../browser/policy/native_messaging_policy_browsertest.cc", |
| "../browser/ui/views/accessibility/accessibility_focus_highlight_browsertest.cc", |
| ] |
| } |
| |
| if (include_js_tests) { |
| deps += [ |
| "//chrome/browser/resources:browser_tests_js", |
| "//chrome/test/data/webui:browser_tests_js_mojo_lite_webui", |
| "//chrome/test/data/webui:browser_tests_js_mojo_webui", |
| "//chrome/test/data/webui:browser_tests_js_webui", |
| ] |
| if (is_chromeos_ash) { |
| deps += [ |
| "//chrome/browser/resources/gaia_auth_host:browser_tests", |
| "//chromeos/components/help_app_ui:browser_tests_js", |
| "//chromeos/components/media_app_ui:browser_tests_js", |
| "//chromeos/components/system_apps:browser_tests", |
| ] |
| |
| if (!is_official_build) { |
| deps += [ |
| "//chromeos/components/sample_system_web_app_ui:browser_tests_js", |
| "//chromeos/components/telemetry_extension_ui/test:browser_tests_js", |
| ] |
| } |
| } |
| } |
| |
| if (!is_fuchsia) { |
| deps += [ ":sync_integration_test_support" ] |
| } |
| |
| if (!is_mac) { |
| data_deps += [ "//chrome:packed_resources" ] |
| sources += |
| [ "../browser/policy/full_screen_allowed_policy_browsertest.cc" ] |
| } |
| |
| if (enable_captive_portal_detection) { |
| sources += |
| [ "../browser/ssl/captive_portal_blocking_page_browsertest.cc" ] |
| } |
| |
| if (!is_chromeos_ash) { |
| sources += [ |
| "../browser/external_protocol/external_protocol_handler_browsertest.cc", |
| "../browser/external_protocol/external_protocol_policy_browsertest.cc", |
| "../browser/lifetime/application_lifetime_browsertest.cc", |
| "../browser/policy/promotional_tabs_enabled_policy_browsertest.cc", |
| "../browser/ui/signin_reauth_view_controller_browsertest.cc", |
| ] |
| } |
| |
| if (is_win || is_chromeos_ash) { |
| sources += [ "../browser/webshare/share_service_browsertest.cc" ] |
| } |
| |
| if (enable_dice_support) { |
| sources += [ |
| "../browser/policy/cloud/user_policy_signin_service_browsertest.cc", |
| "../browser/signin/dice_browsertest.cc", |
| "../browser/signin/dice_web_signin_interceptor_browsertest.cc", |
| "../browser/unified_consent/unified_consent_browsertest.cc", |
| ] |
| if (is_win) { |
| sources += [ "../browser/signin/signin_util_win_browsertest.cc" ] |
| } |
| } else { |
| sources += [ "../browser/signin/mirror_browsertest.cc" ] |
| } |
| if (!enable_one_click_signin) { |
| sources -= [ "../browser/ui/sync/one_click_signin_links_delegate_impl_browsertest.cc" ] |
| } |
| if (enable_nacl) { |
| sources += [ |
| "../browser/extensions/extension_nacl_browsertest.cc", |
| "../browser/nacl_host/test/gdb_debug_stub_browsertest.cc", |
| "nacl/nacl_browsertest.cc", |
| "nacl/nacl_browsertest_uma.cc", |
| "nacl/nacl_browsertest_util.cc", |
| "nacl/nacl_browsertest_util.h", |
| "nacl/pnacl_header_test.cc", |
| "nacl/pnacl_header_test.h", |
| ] |
| deps += [ "//components/nacl/renderer/plugin:nacl_trusted_plugin" ] |
| |
| data_deps += [ |
| "//chrome/test/data/nacl", |
| "//ppapi:ppapi_nacl_tests_all", |
| "//ppapi/native_client:irt", |
| "//ppapi/tests/extensions", |
| ] |
| if (is_chromeos_ash) { |
| sources += [ |
| "../browser/ui/views/extensions/request_file_system_dialog_browsertest.cc", |
| "//third_party/liblouis/wasm/liblouis_wrapper_browsertest.cc", |
| ] |
| deps += [ "//chrome/browser/chromeos" ] |
| data_deps += [ |
| "//components/nacl/loader:nacl_helper", |
| "//ppapi/native_client:irt", |
| "//third_party/liblouis:liblouis_test_data", |
| ] |
| if (enable_nacl_nonsfi) { |
| data_deps += [ "//components/nacl/loader:helper_nonsfi" ] |
| } |
| } |
| |
| if (is_win || is_linux || is_chromeos) { |
| sources += [ "../browser/nacl_host/test/nacl_gdb_browsertest.cc" ] |
| data_deps += [ "//chrome/browser/nacl_host/test:mock_nacl_gdb" ] |
| } |
| if (is_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" ] |
| } |
| if (is_linux || is_chromeos) { |
| data_deps += [ "//components/nacl/loader:nacl_helper" ] |
| |
| if (enable_nacl_nonsfi) { |
| data_deps += [ "//components/nacl/loader:helper_nonsfi" ] |
| } |
| } |
| } |
| |
| deps += [ "//components/subresource_redirect:test_support" ] |
| |
| if (enable_extensions) { |
| sources += [ |
| "../browser/apps/platform_apps/api/browser/browser_apitest.cc", |
| "../browser/apps/platform_apps/api/media_galleries/media_galleries_apitest.cc", |
| "../browser/apps/platform_apps/api/media_galleries/media_galleries_watch_apitest.cc", |
| "../browser/apps/platform_apps/api/music_manager_private/music_manager_private_browsertest.cc", |
| "../browser/apps/platform_apps/api/sync_file_system/sync_file_system_apitest.cc", |
| "../browser/apps/platform_apps/api/sync_file_system/sync_file_system_browsertest.cc", |
| "../browser/apps/platform_apps/app_browsertest_util.cc", |
| "../browser/apps/platform_apps/app_browsertest_util.h", |
| "../browser/apps/platform_apps/audio_focus_web_contents_observer_browsertest.cc", |
| "../browser/extensions/active_tab_apitest.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/alarms/alarms_apitest.cc", |
| "../browser/extensions/api/autofill_private/autofill_private_apitest.cc", |
| "../browser/extensions/api/automation/automation_apitest.cc", |
| "../browser/extensions/api/bookmarks/bookmark_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/browsing_data/browsing_data_test.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/declarative_content/request_content_script_apitest.cc", |
| "../browser/extensions/api/declarative_content/set_icon_apitest.cc", |
| "../browser/extensions/api/declarative_net_request/declarative_net_request_apitest.cc", |
| "../browser/extensions/api/declarative_net_request/declarative_net_request_browsertest.cc", |
| "../browser/extensions/api/desktop_capture/desktop_capture_apitest.cc", |
| "../browser/extensions/api/developer_private/developer_private_apitest.cc", |
| "../browser/extensions/api/downloads/downloads_api_browsertest.cc", |
| "../browser/extensions/api/extension_action/browser_action_apitest.cc", |
| "../browser/extensions/api/extension_action/browser_action_browsertest.cc", |
| "../browser/extensions/api/extension_action/extension_action_apitest.cc", |
| "../browser/extensions/api/extension_action/page_action_apitest.cc", |
| "../browser/extensions/api/extension_action/test_extension_action_api_observer.cc", |
| "../browser/extensions/api/extension_action/test_extension_action_api_observer.h", |
| "../browser/extensions/api/extension_action/test_icon_image_observer.cc", |
| "../browser/extensions/api/extension_action/test_icon_image_observer.h", |
| "../browser/extensions/api/feedback_private/feedback_browsertest.cc", |
| "../browser/extensions/api/file_system/file_system_apitest.cc", |
| "../browser/extensions/api/font_settings/font_settings_apitest.cc", |
| "../browser/extensions/api/gcm/gcm_apitest.cc", |
| "../browser/extensions/api/history/history_apitest.cc", |
| "../browser/extensions/api/i18n/i18n_apitest.cc", |
| "../browser/extensions/api/identity/identity_apitest.cc", |
| "../browser/extensions/api/identity/identity_private_apitest.cc", |
| "../browser/extensions/api/idle/idle_get_auto_lock_delay_apitest.cc", |
| "../browser/extensions/api/idltest/idltest_apitest.cc", |
| "../browser/extensions/api/image_writer_private/image_writer_private_apitest.cc", |
| "../browser/extensions/api/image_writer_private/test_utils.cc", |
| "../browser/extensions/api/image_writer_private/test_utils.h", |
| "../browser/extensions/api/instance_id/instance_id_apitest.cc", |
| "../browser/extensions/api/management/management_api_browsertest.cc", |
| "../browser/extensions/api/management/management_api_non_persistent_apitest.cc", |
| "../browser/extensions/api/management/management_apitest.cc", |
| "../browser/extensions/api/management/management_browsertest.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/page_capture/page_capture_apitest.cc", |
| "../browser/extensions/api/passwords_private/passwords_private_apitest.cc", |
| "../browser/extensions/api/permissions/permissions_apitest.cc", |
| "../browser/extensions/api/preference/preference_apitest.cc", |
| "../browser/extensions/api/processes/processes_apitest.cc", |
| "../browser/extensions/api/proxy/proxy_apitest.cc", |
| "../browser/extensions/api/resources_private/resources_private_apitest.cc", |
| "../browser/extensions/api/runtime/runtime_apitest.cc", |
| "../browser/extensions/api/scripting/scripting_apitest.cc", |
| "../browser/extensions/api/search/search_api_apitest.cc", |
| "../browser/extensions/api/sessions/sessions_apitest.cc", |
| "../browser/extensions/api/settings_overrides/settings_overrides_browsertest.cc", |
| "../browser/extensions/api/settings_private/settings_private_apitest.cc", |
| "../browser/extensions/api/socket/socket_apitest.cc", |
| "../browser/extensions/api/storage/settings_apitest.cc", |
| "../browser/extensions/api/system_indicator/system_indicator_apitest.cc", |
| "../browser/extensions/api/system_private/system_private_apitest.cc", |
| "../browser/extensions/api/tab_capture/tab_capture_apitest.cc", |
| "../browser/extensions/api/tab_capture/tab_capture_performance_test_base.cc", |
| "../browser/extensions/api/tab_capture/tab_capture_performance_test_base.h", |
| "../browser/extensions/api/tab_capture/tab_capture_performancetest.cc", |
| "../browser/extensions/api/tab_groups/tab_groups_api_apitest.cc", |
| "../browser/extensions/api/tabs/tabs_test.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_from_web_accessible_resource_browsertest.cc", |
| "../browser/extensions/api/webrtc_logging_private/webrtc_logging_private_apitest.cc", |
| "../browser/extensions/api/webrtc_logging_private/webrtc_logging_private_browsertest.cc", |
| "../browser/extensions/api/webstore_private/webstore_private_apitest.cc", |
| "../browser/extensions/api_binding_perf_browsertest.cc", |
| "../browser/extensions/app_background_page_apitest.cc", |
| "../browser/extensions/app_process_apitest.cc", |
| "../browser/extensions/app_window_overrides_browsertest.cc", |
| "../browser/extensions/autoplay_browsertest.cc", |
| "../browser/extensions/background_header_browsertest.cc", |
| "../browser/extensions/background_page_apitest.cc", |
| "../browser/extensions/background_scripts_apitest.cc", |
| "../browser/extensions/background_xhr_browsertest.cc", |
| "../browser/extensions/calculator_app_browsertest.cc", |
| "../browser/extensions/chrome_app_api_browsertest.cc", |
| "../browser/extensions/chrome_test_extension_loader_browsertest.cc", |
| "../browser/extensions/chrome_theme_url_browsertest.cc", |
| "../browser/extensions/content_capabilities_browsertest.cc", |
| "../browser/extensions/content_script_apitest.cc", |
| "../browser/extensions/content_security_policy_apitest.cc", |
| "../browser/extensions/content_verifier_browsertest.cc", |
| "../browser/extensions/content_verifier_hash_fetch_behavior_browsertest.cc", |
| "../browser/extensions/content_verifier_test_utils.cc", |
| "../browser/extensions/content_verifier_test_utils.h", |
| "../browser/extensions/corb_and_cors_extension_browsertest.cc", |
| "../browser/extensions/cross_origin_xhr_apitest.cc", |
| "../browser/extensions/crx_installer_browsertest.cc", |
| "../browser/extensions/error_console/error_console_browsertest.cc", |
| "../browser/extensions/events_apitest.cc", |
| "../browser/extensions/execute_script_apitest.cc", |
| "../browser/extensions/extension_action_runner_browsertest.cc", |
| "../browser/extensions/extension_bindings_apitest.cc", |
| "../browser/extensions/extension_bookmarklet_browsertest.cc", |
| "../browser/extensions/extension_browsertest_browsertest.cc", |
| "../browser/extensions/extension_context_menu_browsertest.cc", |
| "../browser/extensions/extension_csp_bypass_browsertest.cc", |
| "../browser/extensions/extension_disabled_ui_browsertest.cc", |
| "../browser/extensions/extension_dom_apitest.cc", |
| "../browser/extensions/extension_dom_clipboard_apitest.cc", |
| "../browser/extensions/extension_fileapi_apitest.cc", |
| "../browser/extensions/extension_function_registration_test.cc", |
| "../browser/extensions/extension_function_test_utils.cc", |
| "../browser/extensions/extension_function_test_utils.h", |
| "../browser/extensions/extension_functional_browsertest.cc", |
| "../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_prompt_browsertest.cc", |
| "../browser/extensions/extension_install_prompt_test_helper.cc", |
| "../browser/extensions/extension_install_prompt_test_helper.h", |
| "../browser/extensions/extension_install_ui_browsertest.cc", |
| "../browser/extensions/extension_loading_browsertest.cc", |
| "../browser/extensions/extension_management_test_util.cc", |
| "../browser/extensions/extension_management_test_util.h", |
| "../browser/extensions/extension_messages_apitest.cc", |
| "../browser/extensions/extension_modules_apitest.cc", |
| "../browser/extensions/extension_override_apitest.cc", |
| "../browser/extensions/extension_resource_request_policy_apitest.cc", |
| "../browser/extensions/extension_samesite_cookies_browsertest.cc", |
| "../browser/extensions/extension_startup_browsertest.cc", |
| "../browser/extensions/extension_storage_apitest.cc", |
| "../browser/extensions/extension_tab_util_browsertest.cc", |
| "../browser/extensions/extension_tabs_apitest.cc", |
| "../browser/extensions/extension_unload_browsertest.cc", |
| "../browser/extensions/extension_untrusted_webui_apitest.cc", |
| "../browser/extensions/extension_url_loader_throttle_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/extension_webui_apitest.cc", |
| "../browser/extensions/extension_with_management_policy_apitest.cc", |
| "../browser/extensions/extension_with_management_policy_apitest.h", |
| "../browser/extensions/extensions_disabled_browsertest.cc", |
| "../browser/extensions/external_install_error_browsertest.cc", |
| "../browser/extensions/fetch_apitest.cc", |
| "../browser/extensions/file_iframe_apitest.cc", |
| "../browser/extensions/google_docs_offline_ukm_browsertest.cc", |
| "../browser/extensions/gpu_browsertest.cc", |
| "../browser/extensions/identifiability_metrics_test_util.cc", |
| "../browser/extensions/identifiability_metrics_test_util.h", |
| "../browser/extensions/isolated_app_browsertest.cc", |
| "../browser/extensions/isolated_world_csp_browsertest.cc", |
| "../browser/extensions/lazy_background_page_apitest.cc", |
| "../browser/extensions/lazy_background_page_test_util.h", |
| "../browser/extensions/manifest_v3_browsertest.cc", |
| "../browser/extensions/mixin_based_extension_apitest.cc", |
| "../browser/extensions/mixin_based_extension_apitest.h", |
| "../browser/extensions/mutation_observers_apitest.cc", |
| "../browser/extensions/native_bindings_apitest.cc", |
| "../browser/extensions/navigation_observer_browsertest.cc", |
| "../browser/extensions/options_page_apitest.cc", |
| "../browser/extensions/page_action_browsertest.cc", |
| "../browser/extensions/process_management_browsertest.cc", |
| "../browser/extensions/process_manager_browsertest.cc", |
| "../browser/extensions/renderer_initialization_browsertest.cc", |
| "../browser/extensions/sandboxed_pages_apitest.cc", |
| "../browser/extensions/script_executor_browsertest.cc", |
| "../browser/extensions/service_worker_apitest.cc", |
| "../browser/extensions/service_worker_messaging_apitest.cc", |
| "../browser/extensions/shared_module_apitest.cc", |
| "../browser/extensions/shared_worker_apitest.cc", |
| "../browser/extensions/startup_helper_browsertest.cc", |
| "../browser/extensions/stubs_apitest.cc", |
| "../browser/extensions/subscribe_page_action_browsertest.cc", |
| "../browser/extensions/test_resources_browsertest.cc", |
| "../browser/extensions/updater/extension_update_client_base_browsertest.cc", |
| "../browser/extensions/updater/extension_update_client_base_browsertest.h", |
| "../browser/extensions/updater/update_service_browsertest.cc", |
| "../browser/extensions/user_script_listener_browsertest.cc", |
| "../browser/extensions/view_extension_source_browsertest.cc", |
| "../browser/extensions/wake_event_page_apitest.cc", |
| "../browser/extensions/wasm_app_browsertest.cc", |
| "../browser/extensions/web_contents_browsertest.cc", |
| "../browser/extensions/webstore_installer_browsertest.cc", |
| "../browser/extensions/webstore_installer_test.cc", |
| "../browser/extensions/webstore_installer_test.h", |
| "../browser/extensions/webstore_reinstaller_browsertest.cc", |
| "../browser/extensions/window_open_apitest.cc", |
| "../browser/extensions/worker_apitest.cc", |
| "../browser/notifications/notification_permission_context_apitest.cc", |
| "../browser/policy/extension_force_install_mixin.cc", |
| "../browser/policy/extension_force_install_mixin.h", |
| "../browser/policy/extension_policy_browsertest.cc", |
| "../browser/safe_browsing/settings_reset_prompt/default_settings_fetcher_browsertest.cc", |
| "../browser/safe_browsing/settings_reset_prompt/settings_reset_prompt_test_utils.cc", |
| "../browser/safe_browsing/settings_reset_prompt/settings_reset_prompt_test_utils.h", |
| "../browser/ui/views/extensions/extension_dialog_browsertest.cc", |
| "../browser/ui/views/web_apps/pwa_confirmation_bubble_view_browsertest.cc", |
| "../browser/ui/views/web_apps/web_app_confirmation_view_browsertest.cc", |
| "../browser/ui/web_applications/test/system_web_app_ui_browsertest.cc", |
| "../browser/ui/web_applications/test/web_app_navigation_browsertest.cc", |
| "../browser/ui/web_applications/test/web_app_navigation_browsertest.h", |
| ] |
| |
| if (enable_autofill_assistant_api) { |
| sources += [ "../browser/extensions/api/autofill_assistant_private/autofill_assistant_private_apitest.cc" ] |
| } |
| |
| if (enable_background_mode) { |
| sources += [ "../browser/extensions/background_app_browsertest.cc" ] |
| } |
| |
| if (is_win) { |
| sources += [ |
| "../browser/safe_browsing/chrome_cleaner/chrome_cleaner_dialog_controller_impl_browsertest_win.cc", |
| "../browser/safe_browsing/chrome_cleaner/chrome_cleaner_reboot_dialog_controller_impl_browsertest_win.cc", |
| "../browser/safe_browsing/chrome_cleaner/mock_chrome_cleaner_controller_win.cc", |
| "../browser/safe_browsing/chrome_cleaner/mock_chrome_cleaner_controller_win.h", |
| "../browser/safe_browsing/chrome_cleaner/settings_resetter_browsertest_win.cc", |
| "../browser/safe_browsing/settings_reset_prompt/settings_reset_dependency_browsertest_win.cc", |
| "../browser/safe_browsing/settings_reset_prompt/settings_reset_prompt_model_browsertest_win.cc", |
| ] |
| } |
| |
| if (is_chromeos_ash) { |
| sources += [ |
| "../browser/accessibility/accessibility_extension_api_browsertest.cc", |
| "../browser/apps/platform_apps/api/arc_apps_private/arc_apps_private_apitest.cc", |
| "../browser/extensions/api/bluetooth_low_energy/bluetooth_low_energy_apitest_chromeos.cc", |
| "../browser/extensions/api/crash_report_private/crash_report_private_apitest.cc", |
| "../browser/extensions/api/enterprise_device_attributes/enterprise_device_attributes_apitest.cc", |
| "../browser/extensions/api/enterprise_networking_attributes/enterprise_networking_attributes_apitest.cc", |
| "../browser/extensions/api/enterprise_platform_keys/enterprise_platform_keys_apitest_nss.cc", |
| "../browser/extensions/api/file_system/file_system_apitest_chromeos.cc", |
| "../browser/extensions/api/force_installed_affiliated_extension_apitest.cc", |
| "../browser/extensions/api/force_installed_affiliated_extension_apitest.h", |
| "../browser/extensions/api/input_ime/input_ime_apitest_chromeos.cc", |
| "../browser/extensions/api/platform_keys/platform_keys_apitest_nss.cc", |
| "../browser/extensions/api/platform_keys/platform_keys_test_base.cc", |
| "../browser/extensions/api/platform_keys/platform_keys_test_base.h", |
| "../browser/extensions/api/system_display/system_display_chromeos_apitest.cc", |
| "../browser/extensions/api/terminal/terminal_private_apitest.cc", |
| "../browser/extensions/api/terminal/terminal_private_browsertest.cc", |
| "../browser/extensions/clipboard_extension_apitest_chromeos.cc", |
| ] |
| |
| deps += [ "//chrome/browser/error_reporting:test_support" ] |
| } |
| |
| deps += [ |
| "//build:chromeos_buildflags", |
| "//chrome/browser/devtools:test_support", |
| "//chrome/common/extensions/api", |
| "//chrome/services/media_gallery_util/public/cpp:browser_tests", |
| "//chrome/test/media_router:browser_tests", |
| "//components/content_settings/core/test:test_support", |
| "//components/guest_view/browser:test_support", |
| "//components/keep_alive_registry", |
| "//components/media_router/browser:test_support", |
| "//components/web_package:test_support", |
| "//google_apis/drive:test_support", |
| |
| # TODO(rockot) bug 505926: The chrome_extensions_browsertests target |
| # should be deleted and this line removed. See the |
| # chrome_extensions_browsertests target for more. |
| "//extensions:chrome_extensions_browsertests", |
| "//extensions/browser:test_support", |
| "//extensions/common/api", |
| ] |
| |
| if (enable_autofill_assistant_api) { |
| deps += [ |
| "//components/autofill_assistant/browser:extensions_test_support", |
| ] |
| } |
| |
| data += [ |
| "//chrome/test/data/extensions/", |
| "//extensions/test/data/", |
| ] |
| } |
| |
| if (use_aura) { |
| sources += [ |
| "../browser/ui/aura/accessibility/automation_manager_aura_browsertest.cc", |
| "../browser/ui/test/test_app_window_icon_observer.cc", |
| "../browser/ui/test/test_app_window_icon_observer.h", |
| ] |
| } |
| if (use_aura || toolkit_views) { |
| deps += [ "//ui/events:test_support" ] |
| } |
| if (toolkit_views) { |
| sources += [ |
| "../browser/ui/global_error/global_error_browsertest.cc", |
| "../browser/ui/global_error/global_error_service_browsertest.cc", |
| "../browser/ui/media_router/presentation_receiver_window_controller_browsertest.cc", |
| "../browser/ui/views/autofill/autofill_popup_base_view_browsertest.cc", |
| "../browser/ui/views/autofill/payments/card_unmask_prompt_view_tester_views.cc", |
| "../browser/ui/views/autofill/payments/card_unmask_prompt_view_tester_views.h", |
| "../browser/ui/views/autofill/payments/credit_card_access_manager_browsertest.cc", |
| "../browser/ui/views/autofill/payments/local_card_migration_browsertest.cc", |
| "../browser/ui/views/autofill/payments/save_card_bubble_views_browsertest.cc", |
| "../browser/ui/views/autofill/payments/virtual_card_selection_dialog_browsertest.cc", |
| "../browser/ui/views/autofill/payments/webauthn_dialog_browsertest.cc", |
| "../browser/ui/views/bookmarks/bookmark_bubble_view_browsertest.cc", |
| "../browser/ui/views/bookmarks/bookmark_editor_view_browsertest.cc", |
| "../browser/ui/views/bubble/webui_bubble_manager_browsertest.cc", |
| "../browser/ui/views/certificate_selector_dialog_browsertest.cc", |
| "../browser/ui/views/collected_cookies_views_browsertest.cc", |
| "../browser/ui/views/desktop_capture/desktop_media_picker_views_browsertest.cc", |
| "../browser/ui/views/extensions/extension_install_blocked_dialog_view_browsertest.cc", |
| "../browser/ui/views/extensions/extension_install_dialog_view_browsertest.cc", |
| "../browser/ui/views/extensions/extension_installed_bubble_view_browsertest.cc", |
| "../browser/ui/views/extensions/extension_message_bubble_view_browsertest.cc", |
| "../browser/ui/views/extensions/extension_uninstall_dialog_view_browsertest.cc", |
| "../browser/ui/views/extensions/extensions_menu_view_browsertest.cc", |
| "../browser/ui/views/extensions/extensions_toolbar_browsertest.cc", |
| "../browser/ui/views/extensions/extensions_toolbar_browsertest.h", |
| "../browser/ui/views/extensions/extensions_toolbar_container_browsertest.cc", |
| "../browser/ui/views/extensions/media_galleries_dialog_views_browsertest.cc", |
| "../browser/ui/views/extensions/settings_overridden_dialog_view_browsertest.cc", |
| "../browser/ui/views/external_protocol_dialog_browsertest.cc", |
| "../browser/ui/views/file_system_access/file_system_access_browsertest.cc", |
| "../browser/ui/views/file_system_access/file_system_access_permission_view_browsertest.cc", |
| "../browser/ui/views/file_system_access/file_system_access_restricted_directory_dialog_view_browsertest.cc", |
| "../browser/ui/views/file_system_access/file_system_access_usage_bubble_view_browsertest.cc", |
| "../browser/ui/views/folder_upload_confirmation_view_browsertest.cc", |
| "../browser/ui/views/frame/browser_frame_browsertest.cc", |
| "../browser/ui/views/frame/browser_non_client_frame_view_browsertest.cc", |
| "../browser/ui/views/frame/browser_root_view_browsertest.cc", |
| "../browser/ui/views/frame/browser_view_browsertest.cc", |
| "../browser/ui/views/frame/system_web_app_non_client_frame_view_browsertest.cc", |
| "../browser/ui/views/hung_renderer_view_browsertest.cc", |
| "../browser/ui/views/importer/import_lock_dialog_view_browsertest.cc", |
| "../browser/ui/views/location_bar/content_setting_bubble_dialog_browsertest.cc", |
| "../browser/ui/views/location_bar/custom_tab_bar_view_browsertest.cc", |
| "../browser/ui/views/location_bar/location_bar_view_browsertest.cc", |
| "../browser/ui/views/location_bar/location_icon_view_browsertest.cc", |
| "../browser/ui/views/location_bar/permission_chip_browsertest.cc", |
| "../browser/ui/views/location_bar/zoom_bubble_view_browsertest.cc", |
| "../browser/ui/views/media_router/cast_dialog_view_browsertest.cc", |
| "../browser/ui/views/media_router/media_router_dialog_controller_views_browsertest.cc", |
| "../browser/ui/views/media_router/media_router_ui_browsertest.cc", |
| "../browser/ui/views/media_router/presentation_receiver_window_view_browsertest.cc", |
| "../browser/ui/views/omnibox/omnibox_popup_contents_view_browsertest.cc", |
| "../browser/ui/views/omnibox/omnibox_suggestion_button_row_browsertest.cc", |
| "../browser/ui/views/page_action/pwa_install_view_browsertest.cc", |
| "../browser/ui/views/page_action/zoom_view_browsertest.cc", |
| "../browser/ui/views/page_info/page_info_bubble_view_browsertest.cc", |
| "../browser/ui/views/page_info/page_info_bubble_view_sync_browsertest.cc", |
| "../browser/ui/views/page_info/safety_tip_page_info_bubble_view_browsertest.cc", |
| "../browser/ui/views/passwords/password_bubble_browsertest.cc", |
| "../browser/ui/views/passwords/password_dialog_view_browsertest.cc", |
| "../browser/ui/views/passwords/password_generation_popup_view_tester_views.cc", |
| "../browser/ui/views/passwords/password_generation_popup_view_tester_views.h", |
| "../browser/ui/views/payments/contact_info_editor_view_controller_browsertest.cc", |
| "../browser/ui/views/payments/credit_card_editor_view_controller_browsertest.cc", |
| "../browser/ui/views/payments/cvc_unmask_view_controller_browsertest.cc", |
| "../browser/ui/views/payments/empty_update_browsertest.cc", |
| "../browser/ui/views/payments/error_message_view_controller_browsertest.cc", |
| "../browser/ui/views/payments/modifiers_browsertest.cc", |
| "../browser/ui/views/payments/order_summary_view_controller_browsertest.cc", |
| "../browser/ui/views/payments/payment_handler_change_payment_method_browsertest.cc", |
| "../browser/ui/views/payments/payment_handler_icon_refetch_browsertest.cc", |
| "../browser/ui/views/payments/payment_handler_window_size_browsertest.cc", |
| "../browser/ui/views/payments/payment_method_view_controller_browsertest.cc", |
| "../browser/ui/views/payments/payment_request_blob_url_browsertest.cc", |
| "../browser/ui/views/payments/payment_request_browsertest.cc", |
| "../browser/ui/views/payments/payment_request_browsertest_base.cc", |
| "../browser/ui/views/payments/payment_request_browsertest_base.h", |
| "../browser/ui/views/payments/payment_request_can_make_payment_metrics_browsertest.cc", |
| "../browser/ui/views/payments/payment_request_completion_status_metrics_browsertest.cc", |
| "../browser/ui/views/payments/payment_request_data_url_browsertest.cc", |
| "../browser/ui/views/payments/payment_request_journey_logger_browsertest.cc", |
| "../browser/ui/views/payments/payment_request_missing_fields_metrics_browsertest.cc", |
| "../browser/ui/views/payments/payment_request_no_update_with_browsertest.cc", |
| "../browser/ui/views/payments/payment_request_payment_app_browsertest.cc", |
| "../browser/ui/views/payments/payment_request_payment_response_browsertest.cc", |
| "../browser/ui/views/payments/payment_request_retry_browsertest.cc", |
| "../browser/ui/views/payments/payment_request_shipping_address_instance_browsertest.cc", |
| "../browser/ui/views/payments/payment_request_show_promise_browsertest.cc", |
| "../browser/ui/views/payments/payment_request_update_with_browsertest.cc", |
| "../browser/ui/views/payments/payment_request_use_stats_browsertest.cc", |
| "../browser/ui/views/payments/payment_sheet_view_controller_browsertest.cc", |
| "../browser/ui/views/payments/profile_list_view_controller_browsertest.cc", |
| "../browser/ui/views/payments/secure_payment_confirmation_dialog_view_browsertest.cc", |
| "../browser/ui/views/payments/shipping_address_editor_view_controller_browsertest.cc", |
| "../browser/ui/views/payments/shipping_option_view_controller_browsertest.cc", |
| "../browser/ui/views/permission_bubble/permission_prompt_bubble_view_browsertest.cc", |
| "../browser/ui/views/profiles/profile_menu_view_browsertest.cc", |
| "../browser/ui/views/qrcode_generator/qrcode_generator_bubble_browsertest.cc", |
| "../browser/ui/views/read_later/read_later_button_browsertest.cc", |
| "../browser/ui/views/safe_browsing/password_reuse_modal_warning_dialog_browsertest.cc", |
| "../browser/ui/views/select_file_dialog_extension_browsertest.cc", |
| "../browser/ui/views/session_crashed_bubble_view_browsertest.cc", |
| "../browser/ui/views/status_bubble_views_browsertest.cc", |
| "../browser/ui/views/sync/inline_login_ui_browsertest.cc", |
| "../browser/ui/views/sync/profile_signin_confirmation_dialog_views_browsertest.cc", |
| "../browser/ui/views/tab_sharing/tab_sharing_ui_views_browsertest.cc", |
| "../browser/ui/views/tabs/tab_group_editor_bubble_view_browsertest.cc", |
| "../browser/ui/views/tabs/tab_hover_card_bubble_view_browsertest.cc", |
| "../browser/ui/views/task_manager_view_browsertest.cc", |
| "../browser/ui/views/toolbar/browser_actions_container_browsertest.cc", |
| "../browser/ui/views/translate/translate_bubble_test_utils_views.cc", |
| "../browser/ui/views/translate/translate_bubble_view_browsertest.cc", |
| "../browser/ui/views/translate/translate_language_browsertest.cc", |
| "../browser/ui/views/user_education/feature_promo_dialog_browsertest.cc", |
| "../browser/ui/views/web_apps/web_app_uninstall_dialog_browsertest.cc", |
| ] |
| if (is_win) { |
| sources += [ "../browser/ui/views/frame/glass_browser_frame_view_browsertest_win.cc" ] |
| } |
| if (is_mac) { |
| sources += [ |
| "../browser/ui/views/status_bubble_views_browsertest_mac.h", |
| "../browser/ui/views/status_bubble_views_browsertest_mac.mm", |
| ] |
| } |
| if (!is_chromeos_ash) { |
| sources += [ |
| "../browser/ui/views/bookmarks/bookmark_bubble_sign_in_delegate_browsertest.cc", |
| "../browser/ui/views/frame/opaque_browser_frame_view_browsertest.cc", |
| "../browser/ui/views/policy/enterprise_startup_dialog_view_browsertest.cc", |
| "../browser/ui/views/profiles/dice_web_signin_interception_bubble_view_browsertest.cc", |
| "../browser/ui/views/profiles/profile_customization_bubble_view_browsertest.cc", |
| "../browser/ui/views/relaunch_notification/relaunch_recommended_bubble_view_browsertest.cc", |
| "../browser/ui/views/relaunch_notification/relaunch_required_dialog_view_browsertest.cc", |
| "../browser/ui/views/toolbar/outdated_upgrade_bubble_view_browsertest.cc", |
| "../browser/ui/views/toolbar/toolbar_account_icon_container_browsertest.cc", |
| ] |
| } |
| if (enable_supervised_users) { |
| sources += [ "../browser/ui/views/extensions/extension_install_dialog_view_supervised_browsertest.cc" ] |
| } |
| deps += [ |
| "//ui/views", |
| "//url", |
| ] |
| } |
| |
| if ((!is_android || enable_vr) && !is_ios) { |
| sources += [ "../browser/ui/views/payments/payment_handler_header_view_ui_browsertest.cc" ] |
| } |
| |
| if ((is_linux || is_chromeos) && !is_component_build) { |
| # Set rpath to find the CDM adapter even in a non-component build. |
| configs += [ "//build/config/gcc:rpath_for_built_shared_libraries" ] |
| } |
| |
| if (is_chrome_branded) { |
| data += |
| [ "//chrome/browser/internal/resources/signin/test_accounts.json" ] |
| sources += [ "../browser/chrome_plugin_browsertest.cc" ] |
| } |
| |
| # Browser tests for functionality that is only intended to be present in |
| # ash-chrome, not lacros-chrome. |
| if (is_chromeos_ash && !is_chromeos_lacros) { |
| sources += |
| [ "../browser/chromeos/crosapi/screen_manager_ash_browsertest.cc" ] |
| } |
| |
| # NOTE: This is the main "browser_tests" section for |is_chromeos_ash|. |
| if (is_chromeos_ash) { |
| sources += [ |
| "../browser/apps/platform_apps/app_window_interactive_uitest_base.cc", |
| "../browser/apps/platform_apps/app_window_interactive_uitest_base.h", |
| "../browser/ash/accessibility/accessibility_common_browsertest.cc", |
| "../browser/ash/accessibility/accessibility_manager_browsertest.cc", |
| "../browser/ash/accessibility/dictation_browsertest.cc", |
| "../browser/ash/accessibility/magnification_controller_browsertest.cc", |
| "../browser/ash/accessibility/magnification_manager_browsertest.cc", |
| "../browser/ash/accessibility/select_to_speak_browsertest.cc", |
| "../browser/ash/accessibility/spoken_feedback_app_list_browsertest.cc", |
| "../browser/ash/accessibility/spoken_feedback_browsertest.cc", |
| "../browser/ash/accessibility/spoken_feedback_browsertest.h", |
| "../browser/ash/accessibility/sticky_keys_browsertest.cc", |
| "../browser/ash/accessibility/switch_access_browsertest.cc", |
| "../browser/ash/accessibility/touch_exploration_controller_browsertest.cc", |
| "../browser/ash/account_manager/account_manager_policy_controller_browsertest.cc", |
| "../browser/chrome_main_browsertest.cc", |
| "../browser/chromeos/app_mode/arc/arc_kiosk_app_manager_browsertest.cc", |
| "../browser/chromeos/app_mode/kiosk_app_manager_browsertest.cc", |
| "../browser/chromeos/app_mode/kiosk_app_update_service_browsertest.cc", |
| "../browser/chromeos/app_mode/kiosk_crash_restore_browsertest.cc", |
| "../browser/chromeos/app_mode/web_app/web_kiosk_app_data_browsertest.cc", |
| "../browser/chromeos/apps/apk_web_app_installer_browsertest.cc", |
| "../browser/chromeos/arc/accessibility/arc_accessibility_helper_bridge_browsertest.cc", |
| "../browser/chromeos/arc/auth/arc_active_directory_enrollment_token_fetcher_browsertest.cc", |
| "../browser/chromeos/arc/auth/arc_auth_service_browsertest.cc", |
| "../browser/chromeos/arc/auth/arc_robot_auth_code_fetcher_browsertest.cc", |
| "../browser/chromeos/arc/enterprise/cert_store/cert_store_service_browsertest.cc", |
| "../browser/chromeos/arc/intent_helper/arc_settings_service_browsertest.cc", |
| "../browser/chromeos/arc/intent_helper/custom_tab_session_impl_browsertest.cc", |
| "../browser/chromeos/arc/session/arc_session_manager_browsertest.cc", |
| "../browser/chromeos/arc/user_session/arc_user_session_service_browsertest.cc", |
| "../browser/chromeos/attestation/attestation_policy_browsertest.cc", |
| "../browser/chromeos/base/locale_util_browsertest.cc", |
| "../browser/chromeos/child_accounts/family_user_device_metrics_browsertest.cc", |
| "../browser/chromeos/child_accounts/parent_access_code/parent_access_service_browsertest.cc", |
| "../browser/chromeos/child_accounts/parent_access_code/parent_access_test_utils.cc", |
| "../browser/chromeos/child_accounts/parent_access_code/parent_access_test_utils.h", |
| "../browser/chromeos/child_accounts/screen_time_controller_browsertest.cc", |
| "../browser/chromeos/child_accounts/time_limit_test_utils.cc", |
| "../browser/chromeos/child_accounts/time_limits/app_time_browsertest.cc", |
| "../browser/chromeos/child_accounts/time_limits/app_time_limits_allowlist_policy_test_utils.cc", |
| "../browser/chromeos/child_accounts/time_limits/app_time_limits_allowlist_policy_test_utils.h", |
| "../browser/chromeos/child_accounts/time_limits/app_time_limits_policy_builder.cc", |
| "../browser/chromeos/child_accounts/time_limits/app_time_limits_policy_builder.h", |
| "../browser/chromeos/child_accounts/time_limits/web_time_calculation_browsertest.cc", |
| "../browser/chromeos/child_accounts/time_limits/web_time_limit_enforcer_browsertest.cc", |
| "../browser/chromeos/chrome_content_browser_client_chromeos_part_browsertest.cc", |
| "../browser/chromeos/crostini/crostini_browser_test_util.cc", |
| "../browser/chromeos/crostini/crostini_browser_test_util.h", |
| "../browser/chromeos/crostini/crostini_browsertest.cc", |
| "../browser/chromeos/customization/customization_document_browsertest.cc", |
| "../browser/chromeos/customization/customization_wallpaper_downloader_browsertest.cc", |
| "../browser/chromeos/dbus/cryptohome_key_delegate_service_provider_browsertest.cc", |
| "../browser/chromeos/dbus/proxy_resolution_service_provider_browsertest.cc", |
| "../browser/chromeos/display/display_prefs_browsertest.cc", |
| "../browser/chromeos/display/quirks_browsertest.cc", |
| "../browser/chromeos/drive/drive_integration_service_browsertest.cc", |
| "../browser/chromeos/extensions/accessibility_features_apitest.cc", |
| "../browser/chromeos/extensions/action_handlers/action_handlers_apitest.cc", |
| "../browser/chromeos/extensions/autotest_private/autotest_private_apitest.cc", |
| "../browser/chromeos/extensions/default_keyboard_extension_browser_test.cc", |
| "../browser/chromeos/extensions/default_keyboard_extension_browser_test.h", |
| "../browser/chromeos/extensions/echo_private_apitest.cc", |
| "../browser/chromeos/extensions/file_manager/file_browser_handler_api_test.cc", |
| "../browser/chromeos/extensions/file_manager/file_manager_private_apitest.cc", |
| "../browser/chromeos/extensions/file_system_provider/file_system_provider_apitest.cc", |
| "../browser/chromeos/extensions/incoming_native_messaging_apitest.cc", |
| "../browser/chromeos/extensions/info_private_apitest.cc", |
| "../browser/chromeos/extensions/input_method_apitest_chromeos.cc", |
| "../browser/chromeos/extensions/login_screen/login/login_apitest.cc", |
| "../browser/chromeos/extensions/login_screen/login_screen_apitest_base.cc", |
| "../browser/chromeos/extensions/login_screen/login_screen_apitest_base.h", |
| "../browser/chromeos/extensions/login_screen/login_screen_i18n_apitest.cc", |
| "../browser/chromeos/extensions/login_screen/login_screen_ui/login_screen_ui_apitest.cc", |
| "../browser/chromeos/extensions/login_screen/login_state/login_state_apitest.cc", |
| "../browser/chromeos/extensions/login_screen/login_state/session_state_changed_event_dispatcher_apitest.cc", |
| "../browser/chromeos/extensions/login_screen/storage_apitest.cc", |
| "../browser/chromeos/extensions/users_private/users_private_apitest.cc", |
| "../browser/chromeos/extensions/wallpaper_apitest.cc", |
| "../browser/chromeos/extensions/wallpaper_manager_browsertest.cc", |
| "../browser/chromeos/extensions/wallpaper_private_apitest.cc", |
| "../browser/chromeos/file_manager/audio_player_browsertest.cc", |
| "../browser/chromeos/file_manager/devtools_listener.cc", |
| "../browser/chromeos/file_manager/devtools_listener.h", |
| "../browser/chromeos/file_manager/devtools_listener_browsertest.cc", |
| "../browser/chromeos/file_manager/external_filesystem_apitest.cc", |
| "../browser/chromeos/file_manager/file_manager_base_jstest.cc", |
| "../browser/chromeos/file_manager/file_manager_browsertest.cc", |
| "../browser/chromeos/file_manager/file_manager_browsertest_base.cc", |
| "../browser/chromeos/file_manager/file_manager_browsertest_base.h", |
| "../browser/chromeos/file_manager/file_manager_jstest.cc", |
| "../browser/chromeos/file_manager/file_manager_jstest_base.cc", |
| "../browser/chromeos/file_manager/file_manager_jstest_base.h", |
| "../browser/chromeos/file_manager/file_manager_uitest.cc", |
| "../browser/chromeos/file_manager/file_tasks_browsertest.cc", |
| "../browser/chromeos/file_manager/gallery_browsertest.cc", |
| "../browser/chromeos/file_manager/gallery_jstest.cc", |
| "../browser/chromeos/file_manager/image_loader_jstest.cc", |
| "../browser/chromeos/file_manager/video_player_browsertest.cc", |
| "../browser/chromeos/file_manager/video_player_jstest.cc", |
| "../browser/chromeos/first_run/drive_first_run_browsertest.cc", |
| "../browser/chromeos/full_restore/app_launch_handler_browsertest.cc", |
| "../browser/chromeos/input_method/input_method_engine_browsertests.cc", |
| "../browser/chromeos/input_method/native_input_method_engine_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/kerberos/kerberos_credentials_manager_factory_browsertest.cc", |
| "../browser/chromeos/lock_screen_apps/note_taking_browsertest.cc", |
| "../browser/chromeos/logging_browsertest.cc", |
| "../browser/chromeos/login/accessibility_browsertest.cc", |
| "../browser/chromeos/login/active_directory_login_browsertest.cc", |
| "../browser/chromeos/login/app_mode/auto_launched_kiosk_browsertest.cc", |
| "../browser/chromeos/login/app_mode/kiosk_browsertest.cc", |
| "../browser/chromeos/login/app_mode/kiosk_launch_controller_browsertest.cc", |
| "../browser/chromeos/login/app_mode/web_kiosk_browsertest.cc", |
| "../browser/chromeos/login/arc_terms_of_service_browsertest.cc", |
| "../browser/chromeos/login/challenge_response_auth_keys_loader_browsertest.cc", |
| "../browser/chromeos/login/configuration_based_oobe_browsertest.cc", |
| "../browser/chromeos/login/crash_restore_browsertest.cc", |
| "../browser/chromeos/login/debug_overlay_browsertest.cc", |
| "../browser/chromeos/login/demo_mode/demo_app_launcher_browsertest.cc", |
| "../browser/chromeos/login/demo_mode/demo_session_browsertest.cc", |
| "../browser/chromeos/login/demo_mode/demo_setup_browsertest.cc", |
| "../browser/chromeos/login/demo_mode/demo_setup_test_utils.cc", |
| "../browser/chromeos/login/demo_mode/demo_setup_test_utils.h", |
| "../browser/chromeos/login/device_family_link_allowed_policy_browsertest.cc", |
| "../browser/chromeos/login/enable_debugging_browsertest.cc", |
| "../browser/chromeos/login/encryption_migration_browsertest.cc", |
| "../browser/chromeos/login/enrollment/enrollment_local_policy_server_browsertest.cc", |
| "../browser/chromeos/login/enrollment/enrollment_screen_browsertest.cc", |
| "../browser/chromeos/login/enrollment/hands_off_enrollment_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/enterprise_enrollment_browsertest.cc", |
| "../browser/chromeos/login/error_screen_browsertest.cc", |
| "../browser/chromeos/login/eula_browsertest.cc", |
| "../browser/chromeos/login/existing_user_controller_browsertest.cc", |
| "../browser/chromeos/login/guest_login_browsertest.cc", |
| "../browser/chromeos/login/hid_detection_browsertest.cc", |
| "../browser/chromeos/login/lock/fingerprint_unlock_browsertest.cc", |
| "../browser/chromeos/login/lock/lock_screen_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_auth_recorder_browsertest.cc", |
| "../browser/chromeos/login/login_browsertest.cc", |
| "../browser/chromeos/login/login_manager_test.cc", |
| "../browser/chromeos/login/login_manager_test.h", |
| "../browser/chromeos/login/login_screen_extensions_lifetime_manager_browsertest.cc", |
| "../browser/chromeos/login/login_screen_policy_browsertest.cc", |
| "../browser/chromeos/login/login_ui_browsertest.cc", |
| "../browser/chromeos/login/login_ui_hide_supervised_users_browsertest.cc", |
| "../browser/chromeos/login/login_ui_keyboard_browsertest.cc", |
| "../browser/chromeos/login/login_ui_shelf_visibility_browsertest.cc", |
| "../browser/chromeos/login/login_utils_browsertest.cc", |
| "../browser/chromeos/login/oobe_browsertest.cc", |
| "../browser/chromeos/login/oobe_interactive_ui_test.cc", |
| "../browser/chromeos/login/oobe_localization_browsertest.cc", |
| "../browser/chromeos/login/password_change_browsertest.cc", |
| "../browser/chromeos/login/proxy_auth_dialog_browsertest.cc", |
| "../browser/chromeos/login/quick_unlock/pin_migration_browsertest.cc", |
| "../browser/chromeos/login/reset_browsertest.cc", |
| "../browser/chromeos/login/saml/password_change_extension_browsertest.cc", |
| "../browser/chromeos/login/saml/password_change_success_detection_browsertest.cc", |
| "../browser/chromeos/login/saml/saml_browsertest.cc", |
| "../browser/chromeos/login/saml/security_token_saml_browsertest.cc", |
| "../browser/chromeos/login/saml/test_client_cert_saml_idp_mixin.cc", |
| "../browser/chromeos/login/saml/test_client_cert_saml_idp_mixin.h", |
| "../browser/chromeos/login/screens/app_downloading_screen_browsertest.cc", |
| "../browser/chromeos/login/screens/assistant_optin_flow_screen_browsertest.cc", |
| "../browser/chromeos/login/screens/edu_coexistence_login_browsertest.cc", |
| "../browser/chromeos/login/screens/family_link_notice_browsertest.cc", |
| "../browser/chromeos/login/screens/fingerprint_setup_browsertest.cc", |
| "../browser/chromeos/login/screens/gesture_navigation_screen_browsertest.cc", |
| "../browser/chromeos/login/screens/hid_detection_screen_browsertest.cc", |
| "../browser/chromeos/login/screens/marketing_opt_in_screen_browsertest.cc", |
| "../browser/chromeos/login/screens/mock_arc_terms_of_service_screen.cc", |
| "../browser/chromeos/login/screens/mock_arc_terms_of_service_screen.h", |
| "../browser/chromeos/login/screens/mock_demo_preferences_screen.cc", |
| "../browser/chromeos/login/screens/mock_demo_preferences_screen.h", |
| "../browser/chromeos/login/screens/mock_demo_setup_screen.cc", |
| "../browser/chromeos/login/screens/mock_demo_setup_screen.h", |
| "../browser/chromeos/login/screens/mock_enable_adb_sideloading_screen.cc", |
| "../browser/chromeos/login/screens/mock_enable_adb_sideloading_screen.h", |
| "../browser/chromeos/login/screens/mock_enable_debugging_screen.cc", |
| "../browser/chromeos/login/screens/mock_enable_debugging_screen.h", |
| "../browser/chromeos/login/screens/mock_eula_screen.cc", |
| "../browser/chromeos/login/screens/mock_eula_screen.h", |
| "../browser/chromeos/login/screens/mock_wrong_hwid_screen.cc", |
| "../browser/chromeos/login/screens/mock_wrong_hwid_screen.h", |
| "../browser/chromeos/login/screens/multidevice_setup_screen_browsertest.cc", |
| "../browser/chromeos/login/screens/network_screen_browsertest.cc", |
| "../browser/chromeos/login/screens/packaged_license_screen_browsertest.cc", |
| "../browser/chromeos/login/screens/parental_handoff_screen_browsertest.cc", |
| "../browser/chromeos/login/screens/pin_setup_screen_browsertest.cc", |
| "../browser/chromeos/login/screens/recommend_apps/scoped_test_recommend_apps_fetcher_factory.cc", |
| "../browser/chromeos/login/screens/recommend_apps/scoped_test_recommend_apps_fetcher_factory.h", |
| "../browser/chromeos/login/screens/recommend_apps_screen_browsertest.cc", |
| "../browser/chromeos/login/screens/supervision_transition_screen_browsertest.cc", |
| "../browser/chromeos/login/screens/sync_consent_browsertest.cc", |
| "../browser/chromeos/login/screens/terms_of_service_screen_browsertest.cc", |
| "../browser/chromeos/login/screens/update_required_screen_browsertest.cc", |
| "../browser/chromeos/login/screens/update_screen_browsertest.cc", |
| "../browser/chromeos/login/screens/user_creation_screen_browsertest.cc", |
| "../browser/chromeos/login/screens/user_selection_screen_browsertest.cc", |
| "../browser/chromeos/login/screens/welcome_screen_browsertest.cc", |
| "../browser/chromeos/login/screens/wrong_hwid_screen_browsertest.cc", |
| "../browser/chromeos/login/security_token_login_browsertest.cc", |
| "../browser/chromeos/login/session/chrome_session_manager_browsertest.cc", |
| "../browser/chromeos/login/session_login_browsertest.cc", |
| "../browser/chromeos/login/signin/device_id_browsertest.cc", |
| "../browser/chromeos/login/signin/oauth2_browsertest.cc", |
| "../browser/chromeos/login/test/active_directory_login_mixin.cc", |
| "../browser/chromeos/login/test/active_directory_login_mixin.h", |
| "../browser/chromeos/login/test/device_state_mixin.cc", |
| "../browser/chromeos/login/test/device_state_mixin.h", |
| "../browser/chromeos/login/test/enrollment_helper_mixin.cc", |
| "../browser/chromeos/login/test/enrollment_helper_mixin.h", |
| "../browser/chromeos/login/test/enrollment_ui_mixin.cc", |
| "../browser/chromeos/login/test/enrollment_ui_mixin.h", |
| "../browser/chromeos/login/test/fake_eula_mixin.cc", |
| "../browser/chromeos/login/test/fake_eula_mixin.h", |
| "../browser/chromeos/login/test/guest_session_mixin.cc", |
| "../browser/chromeos/login/test/guest_session_mixin.h", |
| "../browser/chromeos/login/test/hid_controller_mixin.cc", |
| "../browser/chromeos/login/test/hid_controller_mixin.h", |
| "../browser/chromeos/login/test/kiosk_test_helpers.cc", |
| "../browser/chromeos/login/test/kiosk_test_helpers.h", |
| "../browser/chromeos/login/test/network_portal_detector_mixin.cc", |
| "../browser/chromeos/login/test/network_portal_detector_mixin.h", |
| "../browser/chromeos/login/test/offline_login_test_mixin.cc", |
| "../browser/chromeos/login/test/offline_login_test_mixin.h", |
| "../browser/chromeos/login/test/oobe_base_test.cc", |
| "../browser/chromeos/login/test/oobe_base_test.h", |
| "../browser/chromeos/login/test/oobe_screens_utils.cc", |
| "../browser/chromeos/login/test/oobe_screens_utils.h", |
| "../browser/chromeos/login/test/oobe_window_visibility_waiter.cc", |
| "../browser/chromeos/login/test/oobe_window_visibility_waiter.h", |
| "../browser/chromeos/login/test/user_adding_screen_utils.cc", |
| "../browser/chromeos/login/test/user_adding_screen_utils.h", |
| "../browser/chromeos/login/test/webview_content_extractor.cc", |
| "../browser/chromeos/login/test/webview_content_extractor.h", |
| "../browser/chromeos/login/ui/captive_portal_window_browsertest.cc", |
| "../browser/chromeos/login/ui/login_feedback_browsertest.cc", |
| "../browser/chromeos/login/ui/login_web_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_policy_browsertest.cc", |
| "../browser/chromeos/login/webview_login_browsertest.cc", |
| "../browser/chromeos/login/wizard_controller_browsertest.cc", |
| "../browser/chromeos/net/device_event_log_error_browsertest.cc", |
| "../browser/chromeos/net/network_portal_detector_impl_browsertest.cc", |
| "../browser/chromeos/network_change_manager_client_browsertest.cc", |
| "../browser/chromeos/platform_keys/key_permissions/key_permissions_manager_browsertest.cc", |
| "../browser/chromeos/platform_keys/platform_keys_service_browsertest.cc", |
| "../browser/chromeos/platform_keys/platform_keys_service_test_util.cc", |
| "../browser/chromeos/platform_keys/platform_keys_service_test_util.h", |
| "../browser/chromeos/plugin_vm/plugin_vm_test_helper.cc", |
| "../browser/chromeos/policy/affiliation_mixin.cc", |
| "../browser/chromeos/policy/affiliation_mixin.h", |
| "../browser/chromeos/policy/affiliation_test_helper.cc", |
| "../browser/chromeos/policy/affiliation_test_helper.h", |
| "../browser/chromeos/policy/blocking_login_browsertest.cc", |
| "../browser/chromeos/policy/browser_policy_connector_chromeos_browsertest.cc", |
| "../browser/chromeos/policy/component_active_directory_policy_browsertest.cc", |
| "../browser/chromeos/policy/device_cloud_external_data_policy_observer_browsertest.cc", |
| "../browser/chromeos/policy/device_cloud_policy_browsertest.cc", |
| "../browser/chromeos/policy/device_display_cros_browser_test.cc", |
| "../browser/chromeos/policy/device_display_cros_browser_test.h", |
| "../browser/chromeos/policy/device_local_account_browsertest.cc", |
| "../browser/chromeos/policy/device_login_screen_policy_browsertest.cc", |
| "../browser/chromeos/policy/device_policy_cloud_external_data_manager_browsertest.cc", |
| "../browser/chromeos/policy/device_policy_cros_browser_test.cc", |
| "../browser/chromeos/policy/device_policy_cros_browser_test.h", |
| "../browser/chromeos/policy/device_quirks_policy_browsertest.cc", |
| "../browser/chromeos/policy/device_system_use_24hour_clock_browsertest.cc", |
| "../browser/chromeos/policy/display_resolution_handler_browsertest.cc", |
| "../browser/chromeos/policy/display_rotation_default_handler_browsertest.cc", |
| "../browser/chromeos/policy/dlp/data_transfer_dlp_controller_browsertest.cc", |
| "../browser/chromeos/policy/dlp/dlp_content_manager_browsertest.cc", |
| "../browser/chromeos/policy/dlp/dlp_rules_manager_impl_browsertest.cc", |
| "../browser/chromeos/policy/dlp/dlp_rules_manager_test_utils.cc", |
| "../browser/chromeos/policy/dlp/dlp_rules_manager_test_utils.h", |
| "../browser/chromeos/policy/dlp/mock_dlp_content_manager.cc", |
| "../browser/chromeos/policy/dlp/mock_dlp_content_manager.h", |
| "../browser/chromeos/policy/external_data_handlers/device_wilco_dtc_configuration_external_data_handler_browsertest.cc", |
| "../browser/chromeos/policy/force_maximize_on_first_run_chromeos_browsertest.cc", |
| "../browser/chromeos/policy/login_policy_test_base.cc", |
| "../browser/chromeos/policy/login_policy_test_base.h", |
| "../browser/chromeos/policy/login_screen_accessibility_policy_browsertest.cc", |
| "../browser/chromeos/policy/login_screen_default_policy_browsertest.cc", |
| "../browser/chromeos/policy/minimum_version_policy_handler_browsertest.cc", |
| "../browser/chromeos/policy/network_policy_application_browsertest.cc", |
| "../browser/chromeos/policy/policy_certs_browsertest.cc", |
| "../browser/chromeos/policy/power_policy_browsertest.cc", |
| "../browser/chromeos/policy/restore_on_startup_browsertest_chromeos.cc", |
| "../browser/chromeos/policy/signin_profile_extensions_policy_browsertest.cc", |
| "../browser/chromeos/policy/signin_profile_extensions_policy_test_base.cc", |
| "../browser/chromeos/policy/signin_profile_extensions_policy_test_base.h", |
| "../browser/chromeos/policy/site_isolation_flag_handling_browsertest.cc", |
| "../browser/chromeos/policy/status_collector/child_status_collector_browsertest.cc", |
| "../browser/chromeos/policy/status_collector/device_status_collector_browsertest.cc", |
| "../browser/chromeos/policy/system_proxy_manager_browsertest.cc", |
| "../browser/chromeos/policy/unaffiliated_arc_allowed_browsertest.cc", |
| "../browser/chromeos/policy/user_affiliation_browsertest.cc", |
| "../browser/chromeos/policy/user_cloud_external_data_manager_browsertest.cc", |
| "../browser/chromeos/policy/user_cloud_policy_manager_chromeos_browsertest.cc", |
| "../browser/chromeos/policy/variations_service_policy_browsertest.cc", |
| "../browser/chromeos/preferences_chromeos_browsertest.cc", |
| "../browser/chromeos/printing/history/test_print_job_history_service_observer.cc", |
| "../browser/chromeos/printing/history/test_print_job_history_service_observer.h", |
| "../browser/chromeos/printing/test_cups_print_job_manager.cc", |
| "../browser/chromeos/printing/test_cups_print_job_manager.h", |
| "../browser/chromeos/printing/test_cups_printers_manager.cc", |
| "../browser/chromeos/printing/test_cups_printers_manager.h", |
| "../browser/chromeos/printing/test_printer_configurer.cc", |
| "../browser/chromeos/printing/test_printer_configurer.h", |
| "../browser/chromeos/profiles/profile_helper_browsertest.cc", |
| "../browser/chromeos/remote_apps/remote_apps_impl_browsertest.cc", |
| "../browser/chromeos/remote_apps/remote_apps_manager_browsertest.cc", |
| "../browser/chromeos/scoped_test_system_nss_key_slot_mixin.cc", |
| "../browser/chromeos/scoped_test_system_nss_key_slot_mixin.h", |
| "../browser/chromeos/shutdown_policy_browsertest.cc", |
| "../browser/chromeos/startup_settings_cache_browsertest.cc", |
| "../browser/chromeos/system/device_disabling_browsertest.cc", |
| "../browser/chromeos/system/tray_accessibility_browsertest.cc", |
| "../browser/chromeos/web_applications/camera_app_integration_browsertest.cc", |
| "../browser/chromeos/web_applications/diagnostics_app_integration_browsertest.cc", |
| "../browser/chromeos/web_applications/help_app_integration_browsertest.cc", |
| "../browser/chromeos/web_applications/media_app_integration_browsertest.cc", |
| "../browser/chromeos/web_applications/print_management_app_integration_browsertest.cc", |
| "../browser/chromeos/web_applications/scanning_app_integration_browsertest.cc", |
| "../browser/chromeos/web_applications/settings_app_integration_browsertest.cc", |
| "../browser/chromeos/web_applications/system_web_app_integration_test.cc", |
| "../browser/chromeos/web_applications/system_web_app_integration_test.h", |
| "../browser/chromeos/wilco_dtc_supportd/wilco_dtc_supportd_web_request_service_browsertest.cc", |
| "../browser/device_api/device_attribute_api_browsertest.cc", |
| "../browser/download/notification/download_notification_browsertest.cc", |
| "../browser/drive/drive_notification_manager_factory_browsertest.cc", |
| "../browser/extensions/api/certificate_provider/certificate_provider_apitest.cc", |
| "../browser/extensions/api/networking_private/networking_private_apitest.cc", |
| "../browser/extensions/api/networking_private/networking_private_chromeos_apitest.cc", |
| "../browser/extensions/api/settings_private/settings_private_browsertest_chromeos.cc", |
| "../browser/extensions/api/vpn_provider/vpn_provider_apitest.cc", |
| "../browser/extensions/chromeos_component_extensions_browsertest.cc", |
| "../browser/metrics/chromeos_metrics_provider_browsertest.cc", |
| "../browser/metrics/family_link_user_metrics_provider_browsertest.cc", |
| "../browser/metrics/family_user_metrics_provider_browsertest.cc", |
| "../browser/metrics/majority_age_user_metrics_provider_browsertest.cc", |
| "../browser/notifications/notification_platform_bridge_chromeos_browsertest.cc", |
| "../browser/process_singleton_browsertest.cc", |
| "../browser/resources/chromeos/zip_archiver/test/zip_archiver_jstest.cc", |
| "../browser/sessions/session_restore_browsertest_chromeos.cc", |
| "../browser/signin/chromeos_mirror_account_consistency_browsertest.cc", |
| "../browser/ui/app_list/app_list_client_impl_browsertest.cc", |
| "../browser/ui/app_list/app_service/app_service_app_item_browsertest.cc", |
| "../browser/ui/app_list/arc/arc_usb_host_permission_browsertest.cc", |
| "../browser/ui/app_list/chrome_app_list_model_updater_browsertest.cc", |
| "../browser/ui/app_list/search/app_list_search_browsertest.cc", |
| "../browser/ui/ash/accelerator_commands_browsertest.cc", |
| "../browser/ui/ash/assistant/assistant_context_browsertest.cc", |
| "../browser/ui/ash/back_gesture_browsertest.cc", |
| "../browser/ui/ash/capture_mode_browsertest.cc", |
| "../browser/ui/ash/chrome_new_window_client_browsertest.cc", |
| "../browser/ui/ash/chrome_screenshot_grabber_browsertest.cc", |
| "../browser/ui/ash/clipboard_history_browsertest.cc", |
| "../browser/ui/ash/holding_space/holding_space_thumbnail_loader_browsertest.cc", |
| "../browser/ui/ash/keyboard/keyboard_controller_browsertest.cc", |
| "../browser/ui/ash/keyboard/keyboard_end_to_end_browsertest.cc", |
| "../browser/ui/ash/launcher/app_service/app_service_app_window_browsertest.cc", |
| "../browser/ui/ash/launcher/app_service/app_service_shelf_context_menu_browsertest.cc", |
| "../browser/ui/ash/launcher/app_shortcut_launcher_item_controller_browsertest.cc", |
| "../browser/ui/ash/launcher/arc_app_launcher_browsertest.cc", |
| "../browser/ui/ash/launcher/browser_shortcut_launcher_item_controller_browsertest.cc", |
| "../browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc", |
| "../browser/ui/ash/launcher/chrome_launcher_controller_test_util.cc", |
| "../browser/ui/ash/launcher/chrome_launcher_controller_test_util.h", |
| "../browser/ui/ash/multi_user/test_multi_user_window_manager.cc", |
| "../browser/ui/ash/multi_user/test_multi_user_window_manager.h", |
| "../browser/ui/ash/recording_service_browsertest.cc", |
| "../browser/ui/ash/screen_orientation_delegate_chromeos_browsertest.cc", |
| "../browser/ui/ash/sharesheet/sharesheet_bubble_view_browsertest.cc", |
| "../browser/ui/ash/shelf_browsertest.cc", |
| "../browser/ui/ash/system_tray_client_browsertest.cc", |
| "../browser/ui/ash/system_tray_tray_cast_browsertest_media_router_chromeos.cc", |
| "../browser/ui/ash/tab_scrubber_browsertest.cc", |
| "../browser/ui/ash/tablet_mode_page_behavior_browsertest.cc", |
| "../browser/ui/ash/volume_controller_browsertest.cc", |
| "../browser/ui/browser_finder_chromeos_browsertest.cc", |
| "../browser/ui/browser_navigator_browsertest_chromeos.cc", |
| "../browser/ui/settings_window_manager_browsertest_chromeos.cc", |
| "../browser/ui/views/apps/app_dialog/app_dialog_view_browsertest.cc", |
| "../browser/ui/views/apps/app_dialog/app_uninstall_dialog_view_browsertest.cc", |
| "../browser/ui/views/apps/chrome_native_app_window_views_aura_ash_browsertest.cc", |
| "../browser/ui/views/arc_app_dialog_view_browsertest.cc", |
| "../browser/ui/views/borealis/borealis_installer_view_browsertest.cc", |
| "../browser/ui/views/crostini/crostini_ansible_software_config_view_browsertest.cc", |
| "../browser/ui/views/crostini/crostini_dialogue_browser_test_util.cc", |
| "../browser/ui/views/crostini/crostini_dialogue_browser_test_util.h", |
| "../browser/ui/views/crostini/crostini_force_close_view_browsertest.cc", |
| "../browser/ui/views/crostini/crostini_package_install_failure_view_browsertest.cc", |
| "../browser/ui/views/crostini/crostini_recovery_view_browsertest.cc", |
| "../browser/ui/views/crostini/crostini_uninstaller_view_browsertest.cc", |
| "../browser/ui/views/crostini/crostini_update_component_view_browsertest.cc", |
| "../browser/ui/views/crostini/crostini_update_filesystem_view_browsertest.cc", |
| "../browser/ui/views/extensions/extension_dialog_bounds_browsertest.cc", |
| "../browser/ui/views/frame/browser_frame_ash_browsertest.cc", |
| "../browser/ui/views/frame/browser_non_client_frame_view_chromeos_browsertest.cc", |
| "../browser/ui/views/frame/immersive_mode_controller_chromeos_browsertest.cc", |
| "../browser/ui/views/frame/system_menu_model_builder_browsertest_chromeos.cc", |
| "../browser/ui/views/frame/top_controls_slide_controller_chromeos_browsertest.cc", |
| "../browser/ui/views/intent_picker_bubble_view_browsertest_chromeos.cc", |
| "../browser/ui/views/plugin_vm/plugin_vm_installer_view_browsertest.cc", |
| "../browser/ui/views/supervised_user/extension_install_blocked_by_parent_dialog_view_browsertest.cc", |
| "../browser/ui/views/supervised_user/parent_permission_dialog_view_browsertest.cc", |
| "../browser/ui/views/web_apps/web_app_ash_interactive_ui_test.cc", |
| "../browser/ui/web_applications/web_app_guest_session_browsertest_chromeos.cc", |
| "../browser/ui/web_applications/web_share_target_browsertest.cc", |
| "../browser/ui/webui/chromeos/add_supervision/add_supervision_metrics_recorder_browsertest.cc", |
| "../browser/ui/webui/chromeos/add_supervision/add_supervision_ui_browsertest.cc", |
| "../browser/ui/webui/chromeos/bluetooth_pairing_dialog_browsertest-inl.h", |
| "../browser/ui/webui/chromeos/crostini_upgrader/crostini_upgrader_dialog_browsertest.cc", |
| "../browser/ui/webui/chromeos/edu_coexistence_login_handler_browsertest.cc", |
| "../browser/ui/webui/chromeos/login/js_calls_container_test_api.cc", |
| "../browser/ui/webui/chromeos/login/js_calls_container_test_api.h", |
| "../browser/ui/webui/chromeos/login/oobe_display_chooser_browsertest.cc", |
| "../browser/ui/webui/chromeos/login/testapi/oobe_test_api_browsertest.cc", |
| "../browser/ui/webui/chromeos/machine_learning/machine_learning_internals_browsertest.cc", |
| "../browser/ui/webui/chromeos/machine_learning/machine_learning_internals_browsertest.h", |
| "../browser/ui/webui/chromeos/smb_shares/smb_credentials_dialog_browsertest.cc", |
| "../browser/ui/webui/chromeos/system_web_dialog_browsertest.cc", |
| "../browser/ui/webui/settings/chromeos/account_manager_handler_browsertest.cc", |
| "../browser/ui/webui/settings/chromeos/device_power_handler_browsertest.cc", |
| "../browser/ui/window_sizer/window_sizer_chromeos_uitest.cc", |
| "base/interactive_test_utils.cc", |
| "base/interactive_test_utils.h", |
| "base/interactive_test_utils_aura.cc", |
| "base/interactive_test_utils_aura.h", |
| "base/interactive_test_utils_views.cc", |
| ] |
| data += [ "../browser/resources/chromeos/accessibility/switch_access/test_support.js" ] |
| if (!is_official_build) { |
| sources += [ |
| "../browser/chromeos/web_applications/sample_system_web_app_integration_browsertest.cc", |
| "../browser/chromeos/web_applications/telemetry_extension_integration_browsertest.cc", |
| ] |
| } |
| if (use_cups) { |
| sources += [ |
| "../browser/chromeos/extensions/printing/fake_print_job_controller.cc", |
| "../browser/chromeos/extensions/printing/fake_print_job_controller.h", |
| "../browser/chromeos/extensions/printing/printing_apitest.cc", |
| "../browser/chromeos/extensions/printing_metrics/print_job_finished_event_dispatcher_apitest.cc", |
| "../browser/chromeos/extensions/printing_metrics/printing_metrics_apitest.cc", |
| ] |
| deps += [ "//printing:test_support" ] |
| } |
| if (enable_assistant_integration_tests) { |
| sources += [ |
| "../browser/ui/ash/assistant/assistant_browsertest.cc", |
| "../browser/ui/ash/assistant/assistant_test_mixin.cc", |
| "../browser/ui/ash/assistant/assistant_test_mixin.h", |
| "../browser/ui/ash/assistant/assistant_timers_browsertest.cc", |
| "../browser/ui/ash/assistant/assistant_web_view_impl_browsertest.cc", |
| ] |
| |
| deps += [ |
| "//chrome/browser/ui/ash/assistant/test_support", |
| "//chromeos/assistant/internal:internal", |
| "//chromeos/assistant/test_support", |
| ] |
| |
| data += [ "//chromeos/assistant/internal/test_data/" ] |
| |
| data_deps += |
| [ "//chromeos/assistant/internal:build_fake_s3_server_main" ] |
| } |
| sources -= [ |
| "../../apps/load_and_launch_browsertest.cc", |
| "../browser/policy/policy_startup_browsertest.cc", |
| |
| # chromeos does not support profile list avatar menu |
| "../browser/profiles/profile_list_desktop_browsertest.cc", |
| "../browser/ui/views/external_protocol_dialog_browsertest.cc", |
| |
| # chromeos does not use the profile chooser view |
| "../browser/ui/views/profiles/profile_menu_view_browsertest.cc", |
| |
| # inline login UI is disabled on chromeos |
| "../browser/ui/views/sync/inline_login_ui_browsertest.cc", |
| "../browser/ui/views/sync/profile_signin_confirmation_dialog_views_browsertest.cc", |
| "../browser/ui/webui/profile_helper_browsertest.cc", |
| |
| # chromeos does not use the desktop user manager |
| "../browser/ui/webui/signin/user_manager_ui_browsertest.cc", |
| |
| # chromeos does not support machine level user cloud policies |
| "../browser/enterprise/reporting/report_scheduler_browsertest.cc", |
| "../browser/policy/cloud/chrome_browser_cloud_management_browsertest.cc", |
| ] |
| |
| deps += [ |
| "//chromeos/components/media_app_ui:buildflags", |
| "//chromeos/ui/frame:test_support", |
| "//components/crash/content/browser/error_reporting:mock_crash_endpoint", |
| ] |
| } else { # !is_chromeos_ash |
| sources -= [ |
| "../browser/invalidation/profile_invalidation_provider_factory_browsertest.cc", |
| "../browser/net/nss_context_chromeos_browsertest.cc", |
| "data/webui/certificate_viewer_ui_test-inl.h", |
| ] |
| sources += [ "../browser/profiles/profile_window_browsertest.cc" ] |
| if (toolkit_views) { |
| sources -= [ |
| "../browser/ui/views/select_file_dialog_extension_browsertest.cc", |
| ] |
| } |
| } |
| if (safe_browsing_mode == 1) { |
| sources += [ |
| "../browser/safe_browsing/ad_redirect_trigger_browsertest.cc", |
| "../browser/safe_browsing/certificate_reporting_service_browsertest.cc", |
| "../browser/safe_browsing/chrome_password_protection_service_browsertest.cc", |
| "../browser/safe_browsing/chrome_password_protection_service_sync_browsertest.cc", |
| "../browser/safe_browsing/safe_browsing_blocking_page_test.cc", |
| "../browser/safe_browsing/safe_browsing_navigation_observer_browsertest.cc", |
| "../browser/safe_browsing/safe_browsing_service_browsertest.cc", |
| "../browser/safe_browsing/v4_embedded_test_server_browsertest.cc", |
| "../browser/ssl/sct_reporting_service_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/safe_browsing/threat_dom_details_browsertest.cc", |
| ] |
| } |
| if (enable_captive_portal_detection) { |
| sources += [ "../browser/captive_portal/captive_portal_browsertest.cc" ] |
| } |
| |
| if (is_mac) { |
| deps += [ "//third_party/ocmock" ] |
| data_deps += [ |
| "//chrome", |
| "//chrome:chrome_framework", |
| ] |
| sources += [ |
| "../browser/policy/cloud/chrome_browser_cloud_management_browsertest_mac_util.h", |
| "../browser/policy/cloud/chrome_browser_cloud_management_browsertest_mac_util.mm", |
| "../browser/renderer_host/chrome_render_widget_host_view_mac_history_swiper_browsertest.mm", |
| "../browser/spellchecker/spell_check_host_chrome_impl_mac_browsertest.cc", |
| "../browser/ui/cocoa/accelerators_cocoa_browsertest.mm", |
| "../browser/ui/cocoa/applescript/bookmark_applescript_utils_test.h", |
| "../browser/ui/cocoa/applescript/bookmark_applescript_utils_test.mm", |
| "../browser/ui/cocoa/applescript/bookmark_folder_applescript_browsertest.mm", |
| "../browser/ui/cocoa/applescript/bookmark_item_applescript_browsertest.mm", |
| "../browser/ui/cocoa/applescript/browsercrapplication+applescript_test.mm", |
| "../browser/ui/cocoa/applescript/tab_applescript_browsertest.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/browser_window_mac_browsertest.mm", |
| "../browser/ui/cocoa/renderer_context_menu/render_view_context_menu_mac_cocoa_browsertest.mm", |
| "../browser/ui/cocoa/share_menu_controller_browsertest.mm", |
| "../browser/ui/cocoa/task_manager_mac_browsertest.mm", |
| "../browser/ui/cocoa/touchbar/browser_window_touch_bar_controller_browsertest.mm", |
| "../browser/ui/views/frame/browser_non_client_frame_view_mac_browsertest.cc", |
| "../common/profiler/thread_profiler_browsertest.cc", |
| |
| # TODO(crbug/845389): Re-Enable the following, which were temporarily |
| # omitted from the build, but are still in use. |
| # "../browser/ui/cocoa/page_info/page_info_bubble_views_mac_browsertest.mm", |
| ] |
| 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", |
| |
| # TaskManagerView is not used or built on Mac. |
| "../browser/ui/views/task_manager_view_browsertest.cc", |
| ] |
| |
| if (safe_browsing_mode == 1) { |
| sources -= [ |
| # 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", |
| ] |
| } |
| } |
| if (is_win) { |
| sources += [ |
| "../browser/chrome_browser_main_win_browsertest.cc", |
| "../browser/printing/pdf_to_emf_converter_browsertest.cc", |
| "../browser/spellchecker/spell_check_host_chrome_impl_win_browsertest.cc", |
| "../browser/ui/startup/credential_provider_signin_dialog_win_browsertest.cc", |
| "../browser/ui/views/settings_reset_prompt_dialog_browsertest.cc", |
| "../browser/ui/views/uninstall_view_browsertest.cc", |
| ] |
| |
| if (target_cpu == "x64") { |
| sources += [ "../common/profiler/thread_profiler_browsertest.cc" ] |
| } |
| |
| configs += [ "//build/config/win:delayloads" ] |
| |
| deps += [ |
| "//chrome:other_version", |
| "//chrome/app:command_ids", |
| "//chrome/test:credential_provider_test_utils", |
| "//third_party/wtl", |
| "//ui/resources", |
| ] |
| |
| if (is_chrome_branded) { |
| deps += [ "//chrome/browser/win/conflicts:browser_tests" ] |
| } |
| } |
| if (is_mac || is_win) { |
| sources += [ |
| "../browser/extensions/api/networking_private/networking_private_apitest.cc", |
| "../browser/extensions/api/networking_private/networking_private_service_client_apitest.cc", |
| ] |
| deps += [ "//components/wifi:test_support" ] |
| } |
| if (is_linux || is_chromeos || is_win) { |
| sources += [ |
| # This test is for the spelling options submenu that's only for Windows, |
| # ChromeOS, and Linux. |
| "../browser/renderer_context_menu/spelling_options_submenu_observer_browsertest.cc", |
| ] |
| } |
| if (!is_posix || is_chromeos_ash) { |
| sources -= [ "../common/time_format_browsertest.cc" ] |
| } |
| |
| if (is_mac || is_win || (is_linux || is_chromeos_lacros)) { |
| sources += [ |
| # Tests for non mobile and non CrOS (includes Linux, Win, Mac). |
| "../browser/browser_switcher/browser_switcher_browsertest.cc", |
| "../browser/browser_switcher/browser_switcher_service_browsertest.cc", |
| "../browser/browser_switcher/ieem_sitelist_parser_browsertest.cc", |
| "../browser/extensions/api/image_writer_private/image_writer_utility_client_browsertest.cc", |
| "../browser/policy/audio_sandbox_enabled_browsertest.cc", |
| "../browser/profiles/profile_statistics_browsertest.cc", |
| ] |
| } |
| if (is_mac || is_win || is_chromeos_ash) { |
| sources += [ "../browser/extensions/api/networking_cast_private/networking_cast_private_apitest.cc" ] |
| } |
| if (((is_linux || is_chromeos_lacros) && !is_chromeos_lacros) || is_mac) { |
| sources += |
| [ "../browser/first_run/first_run_internal_posix_browsertest.cc" ] |
| } |
| if (enable_service_discovery) { |
| sources += [ "../browser/extensions/api/mdns/mdns_apitest.cc" ] |
| } |
| |
| if (enable_supervised_users) { |
| sources += [ |
| "../browser/supervised_user/navigation_finished_waiter.cc", |
| "../browser/supervised_user/navigation_finished_waiter.h", |
| "../browser/supervised_user/permission_request_creator_mock.cc", |
| "../browser/supervised_user/permission_request_creator_mock.h", |
| "../browser/supervised_user/supervised_user_navigation_throttle_browsertest.cc", |
| "../browser/supervised_user/supervised_user_service_browsertest.cc", |
| "../browser/supervised_user/supervised_user_url_filter_browsertest.cc", |
| ] |
| deps += [ "//chrome/browser/supervised_user:test_support" ] |
| if (enable_extensions) { |
| sources += [ |
| "../browser/supervised_user/supervised_user_extension_browsertest.cc", |
| ] |
| } |
| } |
| if ((is_linux || is_chromeos) && is_asan && is_lsan) { |
| # TODO(crbug.com/793426): Fix the flakiness on Linux Asan Lsan bot. |
| sources -= [ "../browser/media/encrypted_media_browsertest.cc" ] |
| } |
| if (enable_library_cdms) { |
| # Runtime dependencies. |
| data_deps += [ |
| "//media/cdm/library_cdm/clear_key_cdm", |
| "//third_party/widevine/cdm", |
| ] |
| } |
| if (enable_basic_printing && |
| (is_win || is_mac || is_linux || is_chromeos)) { |
| sources += [ "../browser/printing/print_backend_browsertest.cc" ] |
| deps += [ |
| "//chrome/services/printing:lib", |
| "//printing:test_support", |
| ] |
| } |
| if (enable_print_preview) { |
| sources += [ |
| "../browser/printing/pdf_nup_converter_client_browsertest.cc", |
| "../browser/printing/print_browsertest.cc", |
| "../browser/printing/print_preview_dialog_controller_browsertest.cc", |
| "../browser/printing/print_preview_pdf_generated_browsertest.cc", |
| "../browser/printing/pwg_raster_converter_browsertest.cc", |
| "../browser/ui/webui/print_preview/print_preview_ui_browsertest.cc", |
| ] |
| if (!is_mac && !is_chromeos_ash && !is_chromeos_lacros) { |
| sources += [ |
| # This test depends on GetCommandLineForRelaunch, which is not |
| # available on Mac. It is also not intended to run on ChromeOS. |
| "../browser/printing/cloud_print/test/cloud_print_policy_browsertest.cc", |
| ] |
| } |
| if (!is_chromeos_ash) { |
| sources += [ |
| # Not intended to run on ChromeOS. |
| "../browser/printing/cloud_print/test/cloud_print_proxy_process_browsertest.cc", |
| "../browser/service_process/service_process_control_browsertest.cc", |
| ] |
| } |
| } |
| if (enable_paint_preview) { |
| sources += [ |
| "../browser/paint_preview/paint_preview_browsertest.cc", |
| "../browser/paint_preview/paint_preview_compositor_browsertest.cc", |
| ] |
| deps += [ |
| "//components/paint_preview/browser", |
| "//components/paint_preview/browser:test_support", |
| "//components/paint_preview/common", |
| "//components/paint_preview/common:test_utils", |
| "//components/services/paint_preview_compositor/public/mojom", |
| ] |
| } |
| if (use_brlapi) { |
| deps += [ "//third_party/libbrlapi" ] |
| } else if (enable_extensions) { |
| sources -= [ "../browser/extensions/api/braille_display_private/braille_display_private_apitest.cc" ] |
| } |
| if (is_chrome_branded && safe_browsing_mode == 1 && !is_mac) { |
| sources -= [ |
| # 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", |
| ] |
| } |
| |
| if (use_aura) { |
| if (enable_wifi_display) { |
| sources += [ |
| "../../extensions/browser/api/display_source/display_source_apitestbase.cc", |
| "../../extensions/browser/api/display_source/display_source_apitestbase.h", |
| "../browser/extensions/api/display_source/display_source_wifi_display_apitest.cc", |
| ] |
| } |
| } |
| |
| if (is_chromeos_ash || ((is_linux || is_chromeos_lacros) && use_dbus)) { |
| sources += [ "../browser/extensions/api/bluetooth_low_energy/bluetooth_low_energy_apitest.cc" ] |
| } |
| |
| if (toolkit_views && !is_chromeos_ash) { |
| sources += |
| [ "../browser/ui/screen_capture_notification_ui_browsertest.cc" ] |
| } |
| |
| if (trial_comparison_cert_verifier_supported) { |
| sources += |
| [ "../browser/net/trial_comparison_cert_verifier_browsertest.cc" ] |
| } |
| |
| if (enable_webui_tab_strip) { |
|