| # Copyright 2014 The Chromium Authors |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| import("//build/cipd/cipd.gni") |
| 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/features.gni") |
| import("//build/config/ozone.gni") |
| import("//build/config/ui.gni") |
| import("//build/toolchain/toolchain.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/browser/sync/test/integration/sync_integration_tests_sources.gni") |
| import("//chrome/common/features.gni") |
| |
| import("//chrome/services/speech/buildflags/buildflags.gni") |
| import("//chrome/test/include_js_tests.gni") |
| import("//chrome/version.gni") |
| import("//chromeos/ash/components/assistant/assistant.gni") |
| import("//components/allocation_recorder/testing/testing.gni") |
| import("//components/captive_portal/core/features.gni") |
| import("//components/compose/features.gni") |
| import("//components/enterprise/buildflags/buildflags.gni") |
| import("//components/feed/features.gni") |
| import("//components/lens/features.gni") |
| import("//components/nacl/features.gni") |
| import("//components/offline_pages/buildflags/features.gni") |
| import("//components/optimization_guide/features.gni") |
| import("//components/os_crypt/sync/features.gni") |
| import("//components/safe_browsing/buildflags.gni") |
| import("//components/soda/buildflags.gni") |
| import("//components/spellcheck/spellcheck_build_features.gni") |
| import("//crypto/features.gni") |
| import("//extensions/buildflags/buildflags.gni") |
| import("//mojo/public/tools/bindings/mojom.gni") |
| import("//net/features.gni") |
| import("//pdf/features.gni") |
| import("//ppapi/buildflags/buildflags.gni") |
| import("//printing/buildflags/buildflags.gni") |
| import("//rlz/buildflags/buildflags.gni") |
| import("//services/screen_ai/buildflags/features.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") |
| assert(!is_fuchsia, "Fuchsia 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("//third_party/jni_zero/jni_zero.gni") |
| import("//tools/perf/chrome_telemetry_build/android_browser_types.gni") |
| } |
| |
| if (is_chromeos_ash && include_js2gtest_tests) { |
| import("//chrome/test/base/ash/js2gtest.gni") |
| } |
| |
| # This target exists to reference other test executables to bring these files |
| # into the build. |
| group("test") { |
| testonly = true |
| deps = [ |
| "fuzzing:test", |
| "//chrome/test/variations:variations_desktop_smoke_tests", |
| ] |
| } |
| |
| if (is_android) { |
| android_library("test_support_java") { |
| testonly = true |
| deps = [ |
| "//chrome/android:chrome_all_java", |
| "//chrome/browser/feedback/android:java", |
| "//chrome/browser/profiles/android:java", |
| "//chrome/browser/ui/android/hats/test:test_support_java", |
| "//components/autofill/android:autofill_java", |
| "//components/messages/android/test:test_support_java", |
| "//components/metrics:metrics_java", |
| "//components/payments/content/android:java", |
| "//components/payments/mojom:mojom_java", |
| "//content/public/android:content_java", |
| "//third_party/androidx:androidx_annotation_annotation_java", |
| "//third_party/blink/public/mojom:android_mojo_bindings_java", |
| "//third_party/jni_zero:jni_zero_java", |
| ] |
| srcjar_deps = [ ":test_support_jni_headers" ] |
| sources = [ |
| "android/test_support/src/org/chromium/chrome/test_support/FamilyInfoFeedbackSourceTestBridge.java", |
| "android/test_support/src/org/chromium/chrome/test_support/PaymentRequestTestBridge.java", |
| "android/test_support/src/org/chromium/chrome/test_support/ToolbarManagerTestHelper.java", |
| ] |
| } |
| |
| generate_jni("test_support_jni_headers") { |
| testonly = true |
| sources = [ |
| "android/test_support/src/org/chromium/chrome/test_support/FamilyInfoFeedbackSourceTestBridge.java", |
| "android/test_support/src/org/chromium/chrome/test_support/PaymentRequestTestBridge.java", |
| "android/test_support/src/org/chromium/chrome/test_support/ToolbarManagerTestHelper.java", |
| ] |
| } |
| } |
| |
| static_library("chrome_test_launcher") { |
| testonly = true |
| sources = [ |
| "base/chrome_test_launcher.cc", |
| "base/chrome_test_launcher.h", |
| ] |
| |
| deps = [ ":test_support" ] |
| |
| if (is_mac) { |
| deps += [ "//chrome/app_shim" ] |
| } |
| |
| if (is_chromeos_ash) { |
| deps += [ "//chrome/browser/ash/crosapi:test_support" ] |
| } |
| } |
| |
| # 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 = [] |
| deps = [] |
| testonly = true |
| |
| sources = [ |
| "../browser/autofill/automated_tests/cache_replayer.cc", |
| "../browser/autofill/automated_tests/cache_replayer.h", |
| "../browser/component_updater/privacy_sandbox_attestations_component_installer_test_util.cc", |
| "../browser/component_updater/privacy_sandbox_attestations_component_installer_test_util.h", |
| "../browser/dips/dips_test_utils.cc", |
| "../browser/dips/dips_test_utils.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/optimization_guide/mock_optimization_guide_keyed_service.cc", |
| "../browser/optimization_guide/mock_optimization_guide_keyed_service.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/policy/messaging_layer/public/report_client_test_util.cc", |
| "../browser/policy/messaging_layer/public/report_client_test_util.h", |
| "../browser/policy/messaging_layer/upload/file_upload_job_test_util.cc", |
| "../browser/policy/messaging_layer/upload/file_upload_job_test_util.h", |
| "../browser/policy/messaging_layer/util/reporting_server_connector_test_util.cc", |
| "../browser/policy/messaging_layer/util/reporting_server_connector_test_util.h", |
| "../browser/policy/messaging_layer/util/test_request_payload.cc", |
| "../browser/policy/messaging_layer/util/test_request_payload.h", |
| "../browser/policy/messaging_layer/util/test_response_payload.cc", |
| "../browser/policy/messaging_layer/util/test_response_payload.h", |
| "../browser/profiles/keep_alive/profile_keep_alive_waiter.cc", |
| "../browser/profiles/keep_alive/profile_keep_alive_waiter.h", |
| "../browser/profiles/profile_test_util.cc", |
| "../browser/profiles/profile_test_util.h", |
| "../browser/safe_browsing/test_safe_browsing_database_helper.cc", |
| "../browser/safe_browsing/test_safe_browsing_database_helper.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/sharing/fake_device_info.cc", |
| "../browser/sharing/fake_device_info.h", |
| "../browser/sharing/mock_sharing_service.cc", |
| "../browser/sharing/mock_sharing_service.h", |
| "../browser/signin/identity_test_environment_profile_adaptor.cc", |
| "../browser/signin/identity_test_environment_profile_adaptor.h", |
| "../browser/signin/test_signin_client_builder.cc", |
| "../browser/signin/test_signin_client_builder.h", |
| "../browser/subresource_filter/subresource_filter_browser_test_harness.cc", |
| "../browser/subresource_filter/subresource_filter_browser_test_harness.h", |
| "../browser/tpcd/experiment/mock_experiment_manager.cc", |
| "../browser/tpcd/experiment/mock_experiment_manager.h", |
| "../browser/tpcd/support/trial_test_utils.cc", |
| "../browser/tpcd/support/trial_test_utils.h", |
| "../browser/ui/autofill/payments/virtual_card_enroll_bubble_controller_impl_test_api.h", |
| "base/chrome_render_view_host_test_harness.cc", |
| "base/chrome_render_view_host_test_harness.h", |
| "base/chrome_render_view_test.cc", |
| "base/chrome_render_view_test.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/fake_profile_manager.cc", |
| "base/fake_profile_manager.h", |
| "base/find_result_waiter.cc", |
| "base/find_result_waiter.h", |
| "base/profile_deletion_observer.cc", |
| "base/profile_deletion_observer.h", |
| "base/profile_destruction_waiter.cc", |
| "base/profile_destruction_waiter.h", |
| "base/profile_waiter.cc", |
| "base/profile_waiter.h", |
| "base/scoped_browser_locale.cc", |
| "base/scoped_browser_locale.h", |
| "base/scoped_metrics_service_for_synthetic_trials.cc", |
| "base/scoped_metrics_service_for_synthetic_trials.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", |
| "base/web_feature_histogram_tester.cc", |
| "base/web_feature_histogram_tester.h", |
| ] |
| |
| if (!is_android) { |
| sources += [ |
| "../browser/preloading/preview/preview_test_util.cc", |
| "../browser/preloading/preview/preview_test_util.h", |
| ] |
| } |
| |
| if (is_chromeos && is_chromeos_device) { |
| sources += [ |
| "base/chromeos/crosier/chromeos_integration_test_mixin.cc", |
| "base/chromeos/crosier/chromeos_integration_test_mixin.h", |
| "base/chromeos/crosier/chromeos_test_launcher.cc", |
| "base/chromeos/crosier/chromeos_test_launcher.h", |
| "base/chromeos/crosier/chromeos_test_suite.cc", |
| "base/chromeos/crosier/chromeos_test_suite.h", |
| "base/chromeos/crosier/power_manager_emitter.cc", |
| "base/chromeos/crosier/power_manager_emitter.h", |
| "base/chromeos/crosier/upstart.cc", |
| "base/chromeos/crosier/upstart.h", |
| ] |
| |
| if (is_chromeos_ash) { |
| sources += [ |
| "base/chromeos/crosier/chromeos_integration_login_mixin.cc", |
| "base/chromeos/crosier/chromeos_integration_login_mixin.h", |
| "base/chromeos/crosier/supervised_user_login_delegate.cc", |
| "base/chromeos/crosier/supervised_user_login_delegate.h", |
| ] |
| |
| deps += [ "//ui/ozone/platform/drm:ui_controls" ] |
| |
| if (is_chrome_branded) { |
| sources += [ |
| "base/chromeos/crosier/adb_helper.cc", |
| "base/chromeos/crosier/adb_helper.h", |
| "base/chromeos/crosier/chromeos_integration_arc_mixin.cc", |
| "base/chromeos/crosier/chromeos_integration_arc_mixin.h", |
| ] |
| } |
| } |
| |
| deps += [ |
| "base/chromeos/crosier/helper:common", |
| "//chromeos/dbus/power:power_manager_proto", |
| ] |
| } |
| |
| if (enable_extensions) { |
| sources += [ |
| "../browser/apps/platform_apps/app_browsertest_util.cc", |
| "../browser/apps/platform_apps/app_browsertest_util.h", |
| "../browser/extensions/extension_service_test_base.cc", |
| "../browser/extensions/extension_service_test_base.h", |
| "../browser/extensions/extension_service_test_with_install.cc", |
| "../browser/extensions/extension_service_test_with_install.h", |
| "../browser/extensions/extension_service_user_test_base.cc", |
| "../browser/extensions/extension_service_user_test_base.h", |
| "../browser/ui/webui/extensions/extension_settings_test_base.cc", |
| "../browser/ui/webui/extensions/extension_settings_test_base.h", |
| ] |
| |
| deps += [ |
| "//chrome/browser/apps/app_service", |
| "//components/media_router/browser:test_support", |
| "//components/media_router/common:test_support", |
| "//extensions/renderer", |
| ] |
| } |
| |
| if (toolkit_views) { |
| sources += [ |
| "../browser/ui/views/external_protocol_dialog_test_harness.cc", |
| "../browser/ui/views/external_protocol_dialog_test_harness.h", |
| ] |
| } |
| |
| if (is_chrome_branded && |
| (is_mac || is_win || (is_posix && !is_android && !is_chromeos_ash))) { |
| sources += [ "base/scoped_channel_override.h" ] |
| if (is_mac) { |
| sources += [ "base/scoped_channel_override_mac.cc" ] |
| } else if (is_win) { |
| sources += [ "base/scoped_channel_override_win.cc" ] |
| } else if (is_posix && !is_android && !is_chromeos_ash) { |
| sources += [ "base/scoped_channel_override_posix.cc" ] |
| } |
| } |
| |
| configs += [ "//build/config:precompiled_headers" ] |
| |
| deps += [ |
| "//build:chromeos_buildflags", |
| "//chrome/app:command_ids", |
| "//chrome/browser/autofill", |
| "//chrome/browser/permissions", |
| "//chrome/browser/policy/messaging_layer/proto:log_upload_event_proto", |
| "//chrome/browser/policy/messaging_layer/storage_selector", |
| "//chrome/browser/ui/color:color_headers", |
| "//chrome/browser/ui/webui:configs", |
| "//chrome/common/search:mojo_bindings", |
| "//components/autofill/content/renderer:test_support", |
| "//components/blocked_content:blocked_content", |
| "//components/content_settings/browser", |
| "//components/enterprise:enterprise", |
| "//components/infobars/content", |
| "//components/network_session_configurator/common:common", |
| "//components/privacy_sandbox:features", |
| "//components/privacy_sandbox:tracking_protection_prefs", |
| "//components/privacy_sandbox/privacy_sandbox_attestations/proto:proto", |
| "//components/reporting/storage:test_support", |
| "//components/reporting/util:status_macros", |
| "//components/reporting/util:test_callbacks_support", |
| "//components/safe_browsing/content/renderer/phishing_classifier:unit_tests_support", |
| "//components/safe_browsing/core/browser/db:v4_database", |
| "//components/safe_browsing/core/common", |
| "//components/security_interstitials/content:security_interstitial_page", |
| "//components/security_interstitials/core:unsafe_resource", |
| "//components/segmentation_platform/public", |
| "//components/segmentation_platform/public:test_support", |
| "//components/spellcheck/renderer", |
| "//components/subresource_filter/core/browser:test_support", |
| "//components/subresource_filter/core/common:test_support", |
| "//components/tpcd/metadata", |
| "//components/ukm:test_support", |
| "//components/user_education/common", |
| "//components/user_manager", |
| "//components/web_package", |
| "//components/webapps/browser:browser", |
| "//components/webapps/common", |
| "//ui/webui", |
| ] |
| |
| # New deps should go in the non-iOS section below. |
| public_deps = [ |
| "//base/test:test_support", |
| "//chrome:resources", |
| "//chrome:strings", |
| "//chrome/browser:browser_process", |
| "//chrome/browser:test_support", |
| "//chrome/browser/safe_browsing", |
| "//chrome/browser/sharing/proto", |
| "//chrome/child", |
| "//chrome/common:non_code_constants", |
| "//chrome/common:test_support", |
| "//chrome/renderer", |
| "//chrome/utility", |
| "//components/bookmarks/test", |
| "//components/browsing_topics:test_support", |
| "//components/captive_portal/core:test_support", |
| "//components/consent_auditor:test_support", |
| "//components/content_settings/core/browser", |
| "//components/crash/core/app", |
| "//components/custom_handlers/", |
| "//components/device_reauth:test_support", |
| "//components/domain_reliability", |
| "//components/find_in_page", |
| "//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:content", |
| "//components/metrics:test_support", |
| "//components/network_session_configurator/common", |
| "//components/network_time", |
| "//components/network_time:network_time_test_support", |
| "//components/omnibox/browser:test_support", |
| "//components/optimization_guide/core:features", |
| "//components/optimization_guide/core:prediction", |
| "//components/os_crypt/async/browser:test_support", |
| "//components/os_crypt/sync", |
| "//components/page_content_annotations/core", |
| "//components/page_content_annotations/core:test_support", |
| "//components/password_manager/core/browser:test_support", |
| "//components/password_manager/core/browser/features:password_features", |
| "//components/payments/core:test_support", |
| "//components/performance_manager/test_support", |
| "//components/permissions", |
| "//components/permissions:test_support", |
| "//components/policy/core/browser", |
| "//components/policy/core/common:test_support", |
| "//components/prefs:test_support", |
| "//components/privacy_sandbox:test_support", |
| "//components/profile_metrics", |
| "//components/safe_browsing/core/browser/db:database_manager", |
| "//components/safe_browsing/core/browser/db:v4_test_util", |
| "//components/safe_browsing/core/browser/tailored_security_service:tailored_security_service", |
| "//components/search_engines:test_support", |
| "//components/services/storage:storage", |
| "//components/services/storage:test_support", |
| "//components/sessions:test_support", |
| "//components/signin/public/base:test_support", |
| "//components/startup_metric_utils", |
| "//components/subresource_filter/content/browser", |
| "//components/subresource_filter/content/browser:test_support", |
| "//components/subresource_filter/core/browser", |
| "//components/subresource_filter/core/common", |
| "//components/supervised_user/core/common", |
| "//components/sync:test_support", |
| "//components/sync_preferences", |
| "//components/sync_preferences:test_support", |
| "//components/sync_sessions:test_support", |
| "//components/sync_user_events:test_support", |
| "//components/update_client:test_support", |
| "//components/user_education/test", |
| "//components/user_prefs", |
| "//components/variations:test_support", |
| "//components/web_resource:test_support", |
| "//components/webdata_services", |
| "//components/zoom", |
| "//components/zoom: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", |
| "//ppapi/buildflags", |
| "//printing/buildflags", |
| "//services/data_decoder/public/cpp:test_support", |
| "//services/device/public/cpp:test_support", |
| "//services/device/public/cpp/geolocation", |
| "//services/test/echo:lib", |
| "//skia", |
| "//sql", |
| "//sql:test_support", |
| "//testing/gmock", |
| "//testing/gtest", |
| "//third_party/leveldatabase", |
| "//ui/base", |
| "//ui/base:test_support", |
| "//ui/base/emoji", |
| "//ui/events:events_base", |
| "//ui/gfx:test_support", |
| "//ui/gl", |
| ] |
| |
| data = [] |
| data_deps = [] |
| |
| if (enable_pdf) { |
| sources += [ |
| "../browser/pdf/pdf_extension_test_base.cc", |
| "../browser/pdf/pdf_extension_test_base.h", |
| "../browser/pdf/test_pdf_viewer_stream_manager.cc", |
| "../browser/pdf/test_pdf_viewer_stream_manager.h", |
| ] |
| |
| deps += [ |
| "../browser/pdf", |
| "../browser/pdf:pdf_extension_test_utils", |
| "//pdf:features", |
| ] |
| } |
| |
| if (enable_printing) { |
| sources += [ |
| "../browser/printing/print_test_utils.cc", |
| "../browser/printing/print_test_utils.h", |
| ] |
| |
| if (is_chromeos) { |
| sources += [ |
| "chromeos/printing/fake_local_printer_chromeos.cc", |
| "chromeos/printing/fake_local_printer_chromeos.h", |
| "chromeos/printing/mock_local_printer_chromeos.cc", |
| "chromeos/printing/mock_local_printer_chromeos.h", |
| ] |
| if (use_cups) { |
| sources += [ |
| "../browser/extensions/api/printing/fake_print_job_controller.cc", |
| "../browser/extensions/api/printing/fake_print_job_controller.h", |
| "../browser/extensions/api/printing/printing_test_utils.cc", |
| "../browser/extensions/api/printing/printing_test_utils.h", |
| ] |
| public_deps += [ |
| "//chrome/services/printing/public/mojom", |
| "//chromeos/printing:printing", |
| "//printing/backend:test_support", |
| ] |
| } |
| } |
| |
| public_deps += [ |
| "//printing", |
| "//printing/backend", |
| "//printing/mojom", |
| ] |
| } |
| |
| if (enable_print_preview) { |
| sources += [ |
| "../browser/printing/browser_printing_context_factory_for_test.cc", |
| "../browser/printing/browser_printing_context_factory_for_test.h", |
| ] |
| public_deps += [ "//printing:test_support" ] |
| } |
| |
| if (enable_supervised_users) { |
| public_deps += [ |
| "//chrome/browser/supervised_user:test_support", |
| "//components/supervised_user/core/browser", |
| "//components/supervised_user/core/browser/proto", |
| "//components/supervised_user/core/common", |
| "//components/supervised_user/test_support", |
| ] |
| } |
| |
| if (is_chromeos_lacros && also_build_ash_chrome) { |
| data_deps += [ |
| "//chrome/test:test_ash_chrome(//build/toolchain/linux:ash_clang_x64)", |
| ] |
| } |
| |
| if (is_chromeos_ash && also_build_lacros_chrome) { |
| data_deps += [ |
| # TODO(crbug.com/1480917): Try to drop building ordinary Lacros binary. |
| "//chrome:chrome(//build/toolchain/linux:lacros_clang_x64)", |
| "//chrome/test:test_lacros_chrome(//build/toolchain/linux:lacros_clang_x64)", |
| ] |
| } |
| |
| if (is_linux) { |
| data_deps += [ "//components/crash/core/app:chrome_crashpad_handler" ] |
| } |
| |
| if (is_android) { |
| public_deps += [ |
| ":test_support_ui_android", |
| "//chrome:chrome_android_core", |
| "//components/feed/core/v2:feed_core_stubs", |
| ] |
| |
| sources += [ |
| "../browser/installable/ml_promotion_browsertest_base.cc", |
| "../browser/installable/ml_promotion_browsertest_base.h", |
| ] |
| |
| allow_circular_includes_from = [ ":test_support_ui_android" ] |
| } else { |
| public_deps += [ |
| # Android uses //chrome:chrome_android_core instead of the //chrome/app |
| # target. |
| ":test_support_ui", |
| "//chrome/app:test_support", |
| "//chrome/browser:test_support", |
| "//chrome/browser/web_applications", |
| "//components/crx_file", |
| "//components/enterprise/common/proto:connectors_proto", |
| "//components/keep_alive_registry", |
| "//components/pref_registry", |
| "//components/renderer_context_menu", |
| "//components/services/app_service/public/cpp:test_support", |
| "//components/storage_monitor", |
| "//components/storage_monitor:test_support", |
| "//components/ukm:test_support", |
| "//components/ukm:ukm_test_helper", |
| "//components/web_modal", |
| "//ui/compositor:test_support", |
| "//ui/snapshot", |
| ] |
| |
| if (enable_extensions) { |
| public_deps += [ |
| "//chrome/browser/extensions:test_support", |
| "//extensions/browser:test_support", |
| "//extensions/common:test_support", |
| ] |
| } |
| |
| deps += [ |
| "//chrome/browser/apps/link_capturing", |
| "//components/constrained_window", |
| "//components/performance_manager", |
| "//components/performance_manager/test_support:test_support_common", |
| "//components/segmentation_platform/public:public", |
| ] |
| |
| sources += [ |
| "../browser/badging/test_badge_manager_delegate.cc", |
| "../browser/badging/test_badge_manager_delegate.h", |
| "../browser/banners/test_app_banner_manager_desktop.cc", |
| "../browser/banners/test_app_banner_manager_desktop.h", |
| "../browser/download/download_browsertest_utils.cc", |
| "../browser/download/download_browsertest_utils.h", |
| "../browser/installable/ml_promotion_browsertest_base.cc", |
| "../browser/installable/ml_promotion_browsertest_base.h", |
| "../browser/performance_manager/test_support/fake_frame_throttling_delegate.cc", |
| "../browser/performance_manager/test_support/fake_frame_throttling_delegate.h", |
| "../browser/performance_manager/test_support/fake_memory_saver_mode_delegate.cc", |
| "../browser/performance_manager/test_support/fake_memory_saver_mode_delegate.h", |
| "../browser/performance_manager/test_support/fake_power_monitor_source.cc", |
| "../browser/performance_manager/test_support/fake_power_monitor_source.h", |
| "../browser/performance_manager/test_support/fake_render_tuning_delegate.cc", |
| "../browser/performance_manager/test_support/fake_render_tuning_delegate.h", |
| "../browser/performance_manager/test_support/page_discarding_utils.cc", |
| "../browser/performance_manager/test_support/page_discarding_utils.h", |
| "../browser/performance_manager/test_support/site_data_utils.cc", |
| "../browser/performance_manager/test_support/site_data_utils.h", |
| "../browser/performance_manager/test_support/test_user_performance_tuning_manager_environment.cc", |
| "../browser/performance_manager/test_support/test_user_performance_tuning_manager_environment.h", |
| "../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_test_util.cc", |
| "../browser/renderer_context_menu/render_view_context_menu_test_util.h", |
| "../browser/signin/signin_browser_test_base.h", |
| "../browser/themes/test/theme_service_changed_waiter.cc", |
| "../browser/themes/test/theme_service_changed_waiter.h", |
| "../browser/ui/performance_controls/test_support/battery_saver_browser_test_mixin.h", |
| "../browser/ui/performance_controls/test_support/memory_metrics_refresh_waiter.cc", |
| "../browser/ui/performance_controls/test_support/memory_metrics_refresh_waiter.h", |
| "../browser/ui/performance_controls/test_support/memory_saver_browser_test_mixin.h", |
| "../browser/ui/performance_controls/test_support/memory_saver_interactive_test_mixin.h", |
| "../browser/ui/performance_controls/test_support/resource_usage_collector_observer.cc", |
| "../browser/ui/performance_controls/test_support/resource_usage_collector_observer.h", |
| "../browser/ui/performance_controls/test_support/webui_interactive_test_mixin.h", |
| "../browser/ui/profiles/profile_ui_test_utils.h", |
| "../browser/ui/safety_hub/safety_hub_test_util.cc", |
| "../browser/ui/safety_hub/safety_hub_test_util.h", |
| "../browser/ui/tabs/pinned_tab_test_utils.cc", |
| "../browser/ui/tabs/pinned_tab_test_utils.h", |
| "../browser/ui/test/pixel_test_configuration_mixin.cc", |
| "../browser/ui/test/pixel_test_configuration_mixin.h", |
| "../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/views/performance_controls/test_support/discard_mock_navigation_handle.cc", |
| "../browser/ui/views/performance_controls/test_support/discard_mock_navigation_handle.h", |
| "../browser/ui/views/performance_controls/test_support/memory_saver_unit_test_mixin.h", |
| "../browser/ui/webui/identity_internals_ui_browsertest.cc", |
| "../browser/ui/webui/identity_internals_ui_browsertest.h", |
| "../browser/ui/webui/net_internals/net_internals_ui_browsertest.cc", |
| "../browser/ui/webui/net_internals/net_internals_ui_browsertest.h", |
| "../test/base/browser_with_test_window_test.cc", |
| "../test/base/browser_with_test_window_test.h", |
| "base/dialog_test_browser_window.cc", |
| "base/dialog_test_browser_window.h", |
| "base/test_browser_window.cc", |
| "base/test_browser_window.h", |
| ] |
| allow_circular_includes_from = [ ":test_support_ui" ] |
| } |
| |
| if (use_nss_certs) { |
| public_configs = [ "//build/config/linux/nss" ] |
| } |
| |
| if (is_mac) { |
| sources += [ |
| "//chrome/app/chrome_crash_reporter_client.cc", |
| "//chrome/app/chrome_crash_reporter_client_mac.mm", |
| "base/launchservices_utils_mac.h", |
| "base/launchservices_utils_mac.mm", |
| "base/scoped_bundle_swizzler_mac.h", |
| "base/scoped_bundle_swizzler_mac.mm", |
| ] |
| deps += [ |
| "//build:branding_buildflags", |
| "//chrome/app_shim", |
| "//components/upload_list", |
| ] |
| public_deps += [ "//components/crash/core/app" ] |
| } |
| |
| if (use_aura) { |
| deps += [ "//ui/events:test_support" ] |
| } |
| |
| 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", |
| "base/process_inspector_win.cc", |
| "base/process_inspector_win.h", |
| "base/process_lineage_win.cc", |
| "base/process_lineage_win.h", |
| ] |
| deps += [ "//chrome/chrome_elf:constants" ] |
| public_deps += [ |
| "//chrome/chrome_elf:crash", |
| "//chrome/install_static/test:test_support", |
| "//components/crash/core/app", |
| "//third_party/wtl", |
| ] |
| libs = [ "runtimeobject.lib" ] |
| } |
| |
| if (is_chromeos) { |
| sources += [ |
| "../browser/app_mode/test/accelerator_helpers.cc", |
| "../browser/apps/app_service/metrics/website_metrics_browser_test_mixin.cc", |
| "../browser/apps/app_service/metrics/website_metrics_browser_test_mixin.h", |
| "../browser/certificate_provider/test_certificate_provider_extension.cc", |
| "../browser/certificate_provider/test_certificate_provider_extension.h", |
| "../browser/extensions/policy_test_utils.cc", |
| "../browser/extensions/policy_test_utils.h", |
| "../browser/ui/chromeos/test_util.cc", |
| "../browser/ui/chromeos/test_util.h", |
| "../browser/ui/views/frame/immersive_mode_tester.cc", |
| "../browser/ui/views/frame/immersive_mode_tester.h", |
| "base/chromeos/crosier/annotations.cc", |
| "base/chromeos/crosier/annotations.h", |
| "base/chromeos/crosier/aura_window_title_observer.cc", |
| "base/chromeos/crosier/aura_window_title_observer.h", |
| "base/chromeos/crosier/crosier_util.cc", |
| "base/chromeos/crosier/crosier_util.h", |
| ] |
| |
| if (is_chrome_branded && is_chromeos_ash) { |
| sources += [ |
| "base/chromeos/crosier/gaia_host_util.cc", |
| "base/chromeos/crosier/gaia_host_util.h", |
| "base/chromeos/crosier/test_accounts.cc", |
| "base/chromeos/crosier/test_accounts.h", |
| ] |
| data += [ |
| "../browser/internal/resources/chromeos/crosier/test_accounts.json", |
| ] |
| } |
| |
| deps += [ |
| "base/chromeos/crosier:proto", |
| "//base/test:proto_test_support", |
| "//chrome/browser/chromeos", |
| "//chromeos/components/mgs", |
| "//chromeos/dbus/constants", |
| ] |
| public_deps += [ "//chromeos/constants" ] |
| } |
| |
| if (is_chromeos_ash) { |
| sources += [ |
| "../browser/accessibility/media_app/test/test_ax_media_app_untrusted_handler.cc", |
| "../browser/accessibility/media_app/test/test_ax_media_app_untrusted_handler.h", |
| "../browser/ash/login/app_mode/test/ash_accelerator_helpers.cc", |
| "../browser/ash/login/lock/screen_locker_tester.cc", |
| "../browser/ash/login/lock/screen_locker_tester.h", |
| "../browser/ash/login/saml/lockscreen_reauth_dialog_test_helper.cc", |
| "../browser/ash/login/saml/lockscreen_reauth_dialog_test_helper.h", |
| "../browser/ash/login/test/network_portal_detector_mixin.cc", |
| "../browser/ash/login/test/network_portal_detector_mixin.h", |
| "../browser/ash/login/users/avatar/user_image_manager_test_util.cc", |
| "../browser/ash/login/users/avatar/user_image_manager_test_util.h", |
| "../browser/ash/policy/dlp/test/files_policy_notification_manager_test_utils.cc", |
| "../browser/ash/policy/dlp/test/files_policy_notification_manager_test_utils.h", |
| "../browser/ash/policy/dlp/test/mock_dlp_files_controller_ash.cc", |
| "../browser/ash/policy/dlp/test/mock_dlp_files_controller_ash.h", |
| "../browser/ash/policy/dlp/test/mock_files_policy_notification_manager.cc", |
| "../browser/ash/policy/dlp/test/mock_files_policy_notification_manager.h", |
| "../browser/chromeos/extensions/login_screen/login_screen_apitest_base.cc", |
| "../browser/chromeos/extensions/login_screen/login_screen_apitest_base.h", |
| "../browser/component_updater/fake_cros_component_manager.cc", |
| "../browser/component_updater/fake_cros_component_manager.h", |
| "../browser/enterprise/connectors/analysis/mock_file_transfer_analysis_delegate.cc", |
| "../browser/enterprise/connectors/analysis/mock_file_transfer_analysis_delegate.h", |
| "../browser/enterprise/connectors/analysis/source_destination_test_util.cc", |
| "../browser/enterprise/connectors/analysis/source_destination_test_util.h", |
| "../browser/nearby_sharing/fake_nearby_connection.cc", |
| "../browser/nearby_sharing/fake_nearby_connection.h", |
| "../browser/ui/ash/clipboard_history_test_util.cc", |
| "../browser/ui/ash/clipboard_history_test_util.h", |
| "../browser/ui/webui/ash/login/fake_app_launch_splash_screen_handler.cc", |
| "../browser/ui/webui/ash/login/fake_app_launch_splash_screen_handler.h", |
| "../browser/ui/webui/ash/login/fake_update_required_screen_handler.cc", |
| "../browser/ui/webui/ash/login/fake_update_required_screen_handler.h", |
| "base/ash/js_test_api.cc", |
| "base/ash/js_test_api.h", |
| "base/browser_process_platform_part_test_api_chromeos.cc", |
| "base/browser_process_platform_part_test_api_chromeos.h", |
| "base/chromeos/ash_browser_test_starter.cc", |
| "base/chromeos/ash_browser_test_starter.h", |
| "base/chromeos/lacros_only_mocha_browser_test.cc", |
| "base/chromeos/lacros_only_mocha_browser_test.h", |
| |
| # Only used for Chromevox tests, so only included on Chrome OS. |
| "base/ash/extension_js_browser_test.cc", |
| "base/ash/extension_js_browser_test.h", |
| ] |
| |
| public_deps += [ |
| "//ash", |
| "//ash:test_support", |
| "//ash/constants", |
| "//ash/public/cpp:test_support", |
| "//ash/webui/firmware_update_ui:url_constants", |
| "//ash/webui/personalization_app:test_support", |
| "//ash/webui/print_preview_cros:url_constants", |
| "//ash/webui/scanning:url_constants", |
| "//chrome/browser/ash", |
| "//chrome/browser/ash/crosapi:fake_device_ownership_waiter", |
| "//chrome/browser/ash/system_web_apps", |
| "//chromeos/ash/components/account_manager", |
| "//chromeos/ash/components/dbus/session_manager", |
| "//chromeos/ash/components/dbus/userdataauth", |
| "//chromeos/ash/components/install_attributes:test_support", |
| "//chromeos/ash/components/login/auth:test_support", |
| "//chromeos/ash/components/login/login_state", |
| "//chromeos/ash/components/settings", |
| "//chromeos/ash/components/tpm", |
| "//chromeos/dbus/tpm_manager", |
| "//components/exo", |
| "//components/ownership", |
| "//components/user_manager:test_support", |
| "//ui/aura", |
| "//ui/aura:test_support", |
| "//ui/base/ime/init", |
| "//ui/chromeos/resources:resources_grit", |
| ] |
| deps += [ |
| "//ash/constants", |
| "//chrome/browser/ash:print_job_info_proto", |
| "//chrome/browser/ash/crosapi", |
| "//chrome/browser/ash/system_web_apps/test_support", |
| "//chrome/browser/nearby_sharing/public/cpp", |
| "//chrome/browser/ui/ash/system_web_apps", |
| "//chromeos/ash/components/attestation:test_support", |
| "//chromeos/ash/components/cryptohome", |
| "//chromeos/ash/components/dbus", |
| "//chromeos/ash/components/dbus/concierge", |
| "//chromeos/ash/components/dbus/shill", |
| "//chromeos/ash/components/disks:test_support", |
| "//chromeos/ash/components/standalone_browser:test_support", |
| "//chromeos/ash/components/system", |
| "//chromeos/dbus/power", |
| "//components/policy/test_support", |
| "//google_apis", |
| "//google_apis:test_support", |
| "//net:test_support", |
| ] |
| } |
| |
| if (is_chromeos_lacros) { |
| public_deps += [ |
| "//components/enterprise/data_controls:dlp_policy_event_proto", |
| "//components/reporting/client:report_queue", |
| "//components/reporting/client:test_support", |
| "//components/reporting/storage:test_support", |
| "//components/reporting/util:test_callbacks_support", |
| ] |
| deps += [ |
| "//chromeos/lacros", |
| "//chromeos/lacros:test_support", |
| "//chromeos/services/machine_learning/public/cpp:stub", |
| "//chromeos/startup", |
| "//chromeos/ui/base", |
| "//components/account_manager_core:test_support", |
| ] |
| } |
| |
| if (is_win || is_mac || is_linux || is_chromeos) { |
| public_deps += [ |
| "//ui/base:pixel_diff_test_support", |
| "//ui/views:view_pixel_diff_test_support", |
| ] |
| } |
| |
| if (use_aura) { |
| sources += [ |
| "base/test_browser_window_aura.cc", |
| "base/test_browser_window_aura.h", |
| ] |
| deps += [ |
| "//ui/aura:test_support", |
| "//ui/wm", |
| "//ui/wm/public", |
| ] |
| } |
| |
| if (toolkit_views) { |
| sources += [ |
| "../browser/password_manager/password_manager_uitest_util.cc", |
| "../browser/password_manager/password_manager_uitest_util.h", |
| "../browser/ui/chooser_bubble_testapi.h", |
| "../browser/ui/views/chooser_bubble_testapi_views.cc", |
| "../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/frame/test_with_browser_view.cc", |
| "../browser/ui/views/frame/test_with_browser_view.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/omnibox/omnibox_popup_view_views_test.cc", |
| "../browser/ui/views/omnibox/omnibox_popup_view_views_test.h", |
| "../browser/ui/views/omnibox/omnibox_popup_view_webui_test.cc", |
| "../browser/ui/views/omnibox/omnibox_popup_view_webui_test.h", |
| "../browser/ui/views/profiles/profile_picker_view_test_utils.cc", |
| "../browser/ui/views/profiles/profile_picker_view_test_utils.h", |
| "../browser/ui/views/profiles/profiles_pixel_test_utils.cc", |
| "../browser/ui/views/profiles/profiles_pixel_test_utils.h", |
| "../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", |
| ] |
| public_deps += [ |
| "//chrome/browser/media/router:media_router_feature", |
| "//ui/views:test_support", |
| ] |
| deps += [ |
| "//chrome/browser/ui/color:mixers", |
| "//components/color", |
| "//components/user_education/views", |
| ] |
| } |
| |
| if (enable_extensions) { |
| sources += [ |
| "../browser/extensions/browsertest_util.cc", |
| "../browser/extensions/browsertest_util.h", |
| "../browser/extensions/extension_api_unittest.cc", |
| "../browser/extensions/extension_api_unittest.h", |
| "../browser/extensions/extension_apitest.cc", |
| "../browser/extensions/extension_apitest.h", |
| "../browser/extensions/extension_browsertest.cc", |
| "../browser/extensions/extension_browsertest.h", |
| "../browser/extensions/mixin_based_extension_apitest.cc", |
| "../browser/extensions/mixin_based_extension_apitest.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_menu_icon_loader.cc", |
| "../browser/extensions/test_extension_menu_icon_loader.h", |
| "../browser/extensions/test_extension_prefs.cc", |
| "../browser/extensions/test_extension_prefs.h", |
| "../browser/policy/extension_force_install_mixin.cc", |
| "../browser/policy/extension_force_install_mixin.h", |
| "../browser/ui/web_applications/test/isolated_web_app_test_utils.cc", |
| "../browser/ui/web_applications/test/isolated_web_app_test_utils.h", |
| "../browser/ui/web_applications/test/ssl_test_utils.cc", |
| "../browser/ui/web_applications/test/ssl_test_utils.h", |
| "../browser/ui/web_applications/test/test_server_redirect_handle.cc", |
| "../browser/ui/web_applications/test/test_server_redirect_handle.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", |
| "../common/extensions/manifest_tests/chrome_manifest_test.cc", |
| "../common/extensions/manifest_tests/chrome_manifest_test.h", |
| ] |
| |
| public_deps += [ |
| "//apps:test_support", |
| "//chrome/common/extensions/api", |
| "//components/guest_view/browser:test_support", |
| "//extensions:test_support", |
| "//google_apis/common:test_support", |
| "//google_apis/drive", |
| ] |
| |
| deps += [ |
| "//build:chromeos_buildflags", |
| "//chrome/browser/apps/app_service", |
| "//chrome/browser/web_applications:web_applications_test_support", |
| "//components/web_package", |
| "//components/web_package/test_support", |
| "//components/webapps/browser", |
| "//components/webapps/browser:test_support", |
| "//third_party/zlib/google:zip", |
| ] |
| } |
| |
| 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_ppapi) { |
| public_deps += [ "//ppapi/shared_impl" ] |
| } |
| |
| if (enable_compose) { |
| sources += [ |
| "../browser/compose/mock_chrome_compose_client.cc", |
| "../browser/compose/mock_chrome_compose_client.h", |
| ] |
| } |
| |
| if (is_win || is_mac || is_linux) { |
| sources += [ |
| "../browser/enterprise/signin/mock_oidc_authentication_signin_interceptor.cc", |
| "../browser/enterprise/signin/mock_oidc_authentication_signin_interceptor.h", |
| ] |
| } |
| } |
| |
| if (is_android) { |
| template("telemetry_gpu_integration_test_android_template") { |
| forward_variables_from(invoker, [ "telemetry_target_suffix" ]) |
| group(target_name) { |
| testonly = true |
| data_deps = [ |
| "//content/test:telemetry_gpu_integration_test_support", |
| "//tools/perf/chrome_telemetry_build:telemetry_chrome_test${telemetry_target_suffix}", |
| ] |
| } |
| } |
| |
| foreach(_target_suffix, telemetry_android_browser_target_suffixes) { |
| telemetry_gpu_integration_test_android_template( |
| "telemetry_gpu_integration_test${_target_suffix}") { |
| telemetry_target_suffix = _target_suffix |
| } |
| } |
| } else { |
| 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", |
| "//chrome/credential_provider/common:common_constants", |
| ] |
| } |
| } |
| |
| if (is_chromeos && is_chromeos_device) { |
| test("chromeos_integration_tests") { |
| configs += [ "//build/config:precompiled_headers" ] |
| defines = [ |
| "HAS_OUT_OF_PROC_TEST_RUNNER", |
| "CHROME_VERSION_MAJOR=" + chrome_version_major, |
| ] |
| sources = [ |
| "base/chromeos/crosier/chromeos_tests_main.cc", |
| "base/chromeos/crosier/demo_integration_test.cc", |
| ] |
| deps = [ |
| ":test_support", |
| "//components/app_constants", |
| ] |
| data_deps = [] |
| if (also_build_lacros_chrome_for_architecture != "") { |
| data_deps += [ "//chrome:chrome(//build/toolchain/cros:lacros_clang)" ] |
| } |
| if (is_chromeos_ash) { |
| sources += [ |
| "../browser/ash/assistant/assistant_integration_test.cc", |
| "../browser/ash/bluetooth/bluetooth_integration_test.cc", |
| "../browser/ash/child_accounts/web_approvals_integration_test.cc", |
| "../browser/ash/external_metrics_integration_test.cc", |
| "../browser/ash/featured_integration_test.cc", |
| "../browser/ash/login/lock/lock_screen_integration_test.cc", |
| "../browser/ash/login/login_integration_test.cc", |
| "../browser/ash/login/supervised_user_login_integration_test.cc", |
| "../browser/ash/ml_integration_test.cc", |
| "../browser/ash/power/ml/smart_dim/smart_dim_integration_test.cc", |
| "../browser/ash/scanning/multi_page_scan_integration_test.cc", |
| "../browser/ash/scanning/scan_integration_test.cc", |
| "../browser/ash/screenshot_integration_test.cc", |
| "../browser/ash/security_files_integration_test.cc", |
| "../browser/ash/system_web_apps/apps/terminal_integration_test.cc", |
| "../browser/ash/web_handwriting_integration_test.cc", |
| "../browser/ui/ash/quick_settings_integration_test.cc", |
| "../browser/ui/ash/shelf/shelf_integration_test.cc", |
| "base/chromeos/crosier/helper/test_sudo_helper_client_test.cc", |
| "base/chromeos/crosier/upstart_test.cc", |
| |
| # These cannot live in ":test_support" because they use |
| # InProcessBrowserTest which requires HAS_OUT_OF_PROC_TEST_RUNNER. |
| "base/chromeos/crosier/ash_integration_test.cc", |
| "base/chromeos/crosier/ash_integration_test.h", |
| "base/chromeos/crosier/ash_integration_test_test.cc", |
| "base/chromeos/crosier/interactive_ash_test.cc", |
| "base/chromeos/crosier/interactive_ash_test.h", |
| "base/chromeos/crosier/supervised_user_integration_base_test.cc", |
| "base/chromeos/crosier/supervised_user_integration_base_test.h", |
| ] |
| |
| if (is_chrome_branded && is_chromeos_ash) { |
| sources += [ |
| "../browser/ash/arc/arc_integration_test.cc", |
| "base/chromeos/crosier/test_accounts_test.cc", |
| ] |
| } |
| |
| data = [ |
| "//chrome/test/data/chromeos/web_handwriting/", |
| "//chrome/test/data/scanning/", |
| ] |
| |
| deps += [ |
| "//chrome/browser/ash:test_support", |
| "//chrome/test/base/chromeos/crosier:proto", |
| "//chrome/test/base/chromeos/crosier/helper:common", |
| "//chromeos/ash/components/standalone_browser", |
| "//chromeos/ash/components/standalone_browser:test_support", |
| "//chromeos/ash/services/assistant/public/cpp", |
| "//chromeos/services/machine_learning/public/cpp", |
| ] |
| |
| data_deps += [ |
| "//chrome/test/base/chromeos/crosier/helper", |
| "//chrome/test/base/chromeos/crosier/helper/fake_chrome", |
| ] |
| } |
| } |
| } |
| |
| if (is_android) { |
| static_library("toolbar_manager_test_helper_android") { |
| testonly = true |
| sources = [ |
| "../browser/toolbar_manager_test_helper_android.cc", |
| "../browser/toolbar_manager_test_helper_android.h", |
| ] |
| deps = [ |
| ":test_support_jni_headers", |
| "//base:base", |
| ] |
| } |
| |
| 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", |
| ":chrome_test_launcher", |
| ":sync_integration_test_support", |
| ":sync_integration_test_support_java", |
| ":test_support", |
| ":test_support_java", |
| ":test_support_jni_headers", |
| ":test_support_ui_android", |
| ":toolbar_manager_test_helper_android", |
| "//build:chromeos_buildflags", |
| "//chrome:chrome_android_core", |
| "//chrome/android:delegate_public_impl_java", |
| "//chrome/browser/autofill", |
| "//chrome/browser/browsing_data:constants", |
| "//chrome/browser/dips:browser_tests", |
| "//chrome/browser/flags:flags_android", |
| "//chrome/browser/ip_protection:browser_tests", |
| "//chrome/browser/metrics:test_support", |
| "//chrome/browser/payments:browser_tests", |
| "//chrome/browser/policy:browser_tests", |
| "//chrome/browser/policy:test_support", |
| "//chrome/browser/preloading/prerender:browser_tests", |
| "//chrome/browser/privacy_budget:browser_tests", |
| "//chrome/browser/profiling_host:profiling_browsertests", |
| "//chrome/browser/segmentation_platform:test_utils", |
| "//chrome/browser/ui/android/hats/test:test_support", |
| "//chrome/browser/webaudio:browser_tests", |
| "//components/autofill/content/renderer:test_support", |
| "//components/blocked_content", |
| "//components/browser_ui/widget/android:java", |
| "//components/browsing_data/content:content", |
| "//components/browsing_data/content:test_support", |
| "//components/commerce/core:commerce_heuristics_data", |
| "//components/commerce/core:feature_list", |
| "//components/commerce/core:persisted_state_db_content_proto", |
| "//components/content_settings/browser:browser", |
| "//components/crash/android:crashpad_main", |
| "//components/infobars/content", |
| "//components/metrics:content", |
| "//components/metrics/demographics", |
| "//components/metrics/demographics:test_support", |
| "//components/metrics_services_manager", |
| "//components/optimization_guide/core", |
| "//components/page_content_annotations/core", |
| "//components/page_load_metrics/browser:test_support", |
| "//components/page_load_metrics/browser/observers/ad_metrics:test_support", |
| "//components/privacy_sandbox:privacy_sandbox", |
| "//components/privacy_sandbox:privacy_sandbox_prefs", |
| "//components/privacy_sandbox:tracking_protection_onboarding", |
| "//components/privacy_sandbox:tracking_protection_prefs", |
| "//components/privacy_sandbox:tracking_protection_settings", |
| "//components/safe_browsing/core/browser/db:v4_database", |
| "//components/safe_browsing/core/common", |
| "//components/security_interstitials/core:unsafe_resource", |
| "//components/security_state/content/android", |
| "//components/segmentation_platform/embedder/default_model", |
| "//components/segmentation_platform/internal:internal", |
| "//components/segmentation_platform/internal:test_support", |
| "//components/session_proto_db:session_proto_db", |
| "//components/signin/public/identity_manager", |
| "//components/signin/public/identity_manager:test_support", |
| "//components/site_isolation", |
| "//components/subresource_filter/core/browser:test_support", |
| "//components/subresource_filter/core/common:test_support", |
| "//components/sync:test_support", |
| "//components/ukm:test_support", |
| "//components/ukm:ukm_test_helper", |
| "//components/ukm/content", |
| "//components/unified_consent", |
| "//components/variations/service", |
| "//components/webapk:proto", |
| "//components/webapps/browser", |
| |
| # 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/accessibility/accessibility_prefs/android/accessibility_android_policy_browsertest.cc", |
| "../browser/accessibility/accessibility_prefs/android/accessibility_prefs_controller_browsertest.cc", |
| "../browser/android/auxiliary_search/auxiliary_search_provider_browsertest.cc", |
| "../browser/android/customtabs/custom_tabs_browsertest.cc", |
| "../browser/android/customtabs/tab_interaction_recorder_browsertest.cc", |
| "../browser/android/historical_tab_saver_browsertest.cc", |
| "../browser/android/persisted_tab_data/persisted_tab_data_android_browsertest.cc", |
| "../browser/android/persisted_tab_data/sensitivity_persisted_tab_data_android_browsertest.cc", |
| "../browser/android/persisted_tab_data/test/bar_persisted_tab_data.cc", |
| "../browser/android/persisted_tab_data/test/bar_persisted_tab_data.h", |
| "../browser/android/persisted_tab_data/test/foo_persisted_tab_data.cc", |
| "../browser/android/persisted_tab_data/test/foo_persisted_tab_data.h", |
| "../browser/android/webapk/webapk_icon_hasher_browsertest.cc", |
| "../browser/android/webapk/webapk_installer_browsertest.cc", |
| "../browser/android/webview_renderer_extension_browsertest.cc", |
| "../browser/banners/android/ambient_badge_manager_browsertest.cc", |
| "../browser/banners/app_banner_manager_browsertest.cc", |
| "../browser/banners/app_banner_manager_browsertest_base.cc", |
| "../browser/banners/app_banner_manager_browsertest_base.h", |
| "../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/engagement/important_sites_util_browsertest.cc", |
| "../browser/enterprise/remote_commands/user_remote_commands_service_browsertest.cc", |
| "../browser/fast_checkout/fast_checkout_tab_helper_browsertest.cc", |
| "../browser/installable/installable_manager_browsertest.cc", |
| "../browser/metrics/metrics_log_browsertest.cc", |
| "../browser/metrics/metrics_service_user_demographics_browsertest.cc", |
| "../browser/metrics/sampled_out_client_id_saved_browsertest.cc", |
| "../browser/metrics/startup_metrics_browsertest.cc", |
| "../browser/metrics/ukm_browsertest.cc", |
| "../browser/net/cert_verifier_policy_browsertest.cc", |
| "../browser/net/cert_verifier_service_browsertest.cc", |
| "../browser/net/cert_verify_proc_browsertest.cc", |
| "../browser/page_load_metrics/observers/ad_metrics/ad_density_intervention_android_browsertest.cc", |
| "../browser/password_manager/android/password_manager_android_browsertest.cc", |
| "../browser/password_manager/passwords_navigation_observer.cc", |
| "../browser/password_manager/passwords_navigation_observer.h", |
| "../browser/policy/policy_prefs_browsertest.cc", |
| "../browser/preloading/prefetch/search_prefetch/search_preload_test_response_utils.cc", |
| "../browser/preloading/prefetch/search_prefetch/search_preload_test_response_utils.h", |
| "../browser/preloading/prefetch/search_prefetch/search_preload_unified_browsertest.cc", |
| "../browser/profiles/profile_browsertest_android.cc", |
| "../browser/safe_browsing/client_side_detection_service_browsertest.cc", |
| "../browser/segmentation_platform/service_browsertest.cc", |
| "../browser/ssl/chrome_security_state_client_browsertest.cc", |
| "../browser/ssl/crlset_browsertest.cc", |
| "../browser/storage/shared_storage_browsertest.cc", |
| "../browser/trusted_vault/trusted_vault_encryption_keys_tab_helper_browsertest.cc", |
| "../browser/ui/android/autofill/save_update_address_profile_flow_manager_browsertest.cc", |
| "../browser/ui/android/hats/survey_client_android_browsertest.cc", |
| "../browser/ui/android/plus_addresses/plus_address_creation_view_android_browsertest.cc", |
| "../browser/ui/autofill/payments/offer_notification_controller_android_browsertest.cc", |
| "../browser/ui/webui/policy/policy_test_ui_browsertest.cc", |
| "../browser/ui/webui/policy/policy_ui_browsertest.cc", |
| "../browser/user_agent/android_user_agent_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/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/cart/commerce_hint_agent_browsertest.cc", |
| "../renderer/cart/commerce_hint_agent_renderer_browsertest.cc", |
| "../renderer/commerce/commerce_web_extractor_browsertest.cc", |
| "../renderer/safe_browsing/phishing_classifier_browsertest.cc", |
| "../renderer/wallet/boarding_pass_extractor_browsertest.cc", |
| "android/browsertests_apk/android_browsertests_jni_onload.cc", |
| "base/android/android_browser_test_browsertest_android.cc", |
| ] |
| |
| deps += [ |
| ":persisted_tab_data_test_proto", |
| "//components/autofill/content/browser:test_support", |
| "//components/back_forward_cache:back_forward_cache", |
| "//components/browsing_data/core:core", |
| "//components/commerce/content/renderer", |
| "//components/commerce/core:commerce_constants", |
| "//components/enterprise:enterprise", |
| "//components/enterprise:test_support", |
| "//components/invalidation/impl:test_support", |
| "//components/messages/android:android", |
| "//components/messages/android:feature_flags", |
| "//components/messages/android/test:test_support_cpp", |
| "//components/messages/android/test:test_support_java", |
| "//components/optimization_guide/core:test_support", |
| "//components/page_content_annotations/core:test_support", |
| "//components/password_manager/content/browser:browser", |
| "//components/plus_addresses", |
| "//components/plus_addresses:test_support", |
| "//components/policy:chrome_settings_proto_generated_compile", |
| "//components/policy/core/browser:pref_mapping_test_support", |
| "//components/policy/core/browser:test_support", |
| "//components/policy/test_support:test_support", |
| "//components/privacy_sandbox/privacy_sandbox_attestations", |
| "//components/privacy_sandbox/privacy_sandbox_attestations:test_support", |
| "//components/privacy_sandbox/privacy_sandbox_attestations/proto:proto", |
| "//components/safe_browsing/content/browser:client_side_detection", |
| "//components/safe_browsing/content/browser:client_side_detection_service", |
| "//components/safe_browsing/content/common:interfaces", |
| "//components/safe_browsing/content/renderer/phishing_classifier:phishing_classifier", |
| "//components/safe_browsing/core/common/fbs:client_model", |
| "//components/safe_browsing/core/common/proto:client_model_proto", |
| "//components/safe_browsing/core/common/proto:csd_proto", |
| "//components/segmentation_platform/public:public", |
| "//components/segmentation_platform/public:test_support", |
| "//components/site_engagement/content:content", |
| "//components/spellcheck:buildflags", |
| "//components/spellcheck/renderer:renderer", |
| "//components/user_manager:user_manager", |
| "//components/webapps/browser:test_support", |
| ] |
| |
| if (enable_chrome_android_internal) { |
| data_deps = [ "//clank/build/bot/filters:android_browsertests_filters" ] |
| } |
| |
| # 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 |
| } |
| |
| if (enable_arcore) { |
| # If AR is supported, we should also include WebXR's AR enterprise policy |
| # browsertest. The test should not be enabled when AR features are not |
| # enabled, since we won't be able to distinguish whether the test cases |
| # are failing due to absence of AR, or due to an issue with propagating |
| # the enterprise policy setting. |
| sources += [ "../browser/android/vr/webxr_policy_browsertest.cc" ] |
| } |
| |
| if (enable_feed_v2) { |
| sources += [ "../browser/feed/rss_links_fetcher_browsertest.cc" ] |
| deps += [ |
| "//components/feed:feature_list", |
| "//components/feed/core/v2:feed_core_v2", |
| "//components/feed/core/v2:ios_shared", |
| "//components/feed/core/v2:test_helpers", |
| "//components/feed/mojom:mojo_bindings", |
| ] |
| } |
| |
| 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", |
| "//components/test/data/ads_observer/", |
| "//components/test/data/payments/", |
| "//chrome/test/data/android/customtabs/", |
| "//chrome/test/data/banners/", |
| "//chrome/test/data/policy/", |
| "//chrome/test/data/ssl/", |
| "//content/test/data/", |
| ] |
| |
| if (dfmify_dev_ui) { |
| # If DevUI DFM is on, include Java classes and native resource split so |
| # that DevUI page tests would work. |
| deps += [ |
| "//chrome/android/features/dev_ui:java", |
| "//chrome/android/modules/dev_ui/provider:java", |
| ] |
| } |
| |
| if (enable_allocation_trace_recorder_integration_tests) { |
| sources += [ "../browser/allocation_recorder_browsertest.cc" ] |
| deps += [ "//components/allocation_recorder/testing" ] |
| } |
| } |
| |
| proto_library("persisted_tab_data_test_proto") { |
| sources = [ |
| "../browser/android/persisted_tab_data/test/bar.proto", |
| "../browser/android/persisted_tab_data/test/foo.proto", |
| ] |
| } |
| |
| 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", |
| ":chrome_test_launcher", |
| ":sync_integration_test_support", |
| ":sync_integration_test_support_java", |
| ":test_support", |
| ":test_support_java", |
| ":test_support_ui_android", |
| "//chrome:chrome_android_core", |
| "//chrome/android:delegate_public_impl_java", |
| "//chrome/browser/android/webapk:webapk_sources", |
| "//components/bookmarks/browser", |
| "//components/browser_sync:switches", |
| "//components/password_manager/core/browser/sharing", |
| "//components/reading_list/core:test_support", |
| "//components/reading_list/features:flags", |
| "//components/sync:test_support", |
| "//components/sync_bookmarks", |
| "//components/sync_device_info:test_support", |
| "//components/sync_preferences:common_syncable_prefs_database", |
| "//components/undo", |
| "//content/test:android_test_message_pump_support", |
| "//testing/android/native_test:native_test_support", |
| ] |
| |
| sources = sync_integration_tests_sources + |
| [ "android/browsertests_apk/android_browsertests_jni_onload.cc" ] |
| |
| data = [ |
| "//chrome/test/data/sync/", |
| "$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", |
| "//chrome/browser/ui", |
| "//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 assets rules so we can just depend on them. |
| deps += [ |
| "//chrome/android:chrome_apk_pak_assets", |
| "//gin:v8_snapshot_assets", |
| "//third_party/icu:icu_assets", |
| ] |
| } |
| |
| android_library("android_browsertests_java") { |
| testonly = true |
| deps = [ |
| "//base:base_java", |
| "//base:base_java_test_support", |
| "//build/android/gtest_apk:native_test_instrumentation_test_runner_java", |
| "//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_browser_test_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" |
| } |
| } |
| |
| if (is_chromeos_ash) { |
| static_library("ash_crosapi_tests_runner") { |
| testonly = true |
| |
| sources = [ |
| "../browser/ash/crosapi/test/ash_crosapi_tests_env.cc", |
| "../browser/ash/crosapi/test/ash_crosapi_tests_env.h", |
| "../browser/ash/crosapi/test/ash_crosapi_tests_main.cc", |
| ] |
| |
| deps = [ ":test_support" ] |
| } |
| } |
| |
| static_library("browser_tests_runner") { |
| testonly = true |
| sources = [] |
| |
| deps = [ |
| ":chrome_test_launcher", |
| ":test_support", |
| "//ui/gfx:gfx_switches", # Used by Fuchsia. |
| ] |
| |
| 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) { |
| deps += [ "//ui/compositor" ] |
| } |
| } |
| |
| if (!is_android) { |
| static_library("webrtc_browser_tests_base") { |
| testonly = true |
| |
| sources = [ |
| "../browser/media/webrtc/test_stats_dictionary.cc", |
| "../browser/media/webrtc/test_stats_dictionary.h", |
| "../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", |
| ] |
| deps = [ ":test_support" ] |
| } |
| |
| test("browser_tests") { |
| use_xvfb = use_xvfb_in_this_config |
| |
| configs += [ "//build/config:precompiled_headers" ] |
| configs += [ ":disable_thinlto_cache_flags" ] |
| defines = [ |
| "HAS_OUT_OF_PROC_TEST_RUNNER", |
| "CHROME_VERSION_MAJOR=" + chrome_version_major, |
| ] |
| |
| deps = [ |
| ":browser_tests_runner", |
| ":sync_integration_test_support", |
| ":test_support", |
| ":test_support_ui", |
| ":webrtc_browser_tests_base", |
| "//base", |
| "//base:i18n", |
| "//base/allocator:buildflags", |
| "//base/test:test_proto", |
| "//base/test:test_support", |
| "//build:branding_buildflags", |
| "//build:chromeos_buildflags", |
| "//build/config/coverage:buildflags", |
| "//chrome:packed_resources", |
| "//chrome:resources", |
| "//chrome:strings", |
| "//chrome/app:command_ids", |
| "//chrome/app/vector_icons", |
| "//chrome/browser", |
| "//chrome/browser:browser_themes", |
| "//chrome/browser:buildflags", |
| "//chrome/browser:theme_properties", |
| "//chrome/browser/accessibility:test_support", |
| "//chrome/browser/apps/app_service", |
| "//chrome/browser/apps/app_service:app_registry_cache_waiter", |
| "//chrome/browser/apps/app_service:constants", |
| "//chrome/browser/apps/app_service:test_support", |
| "//chrome/browser/apps/link_capturing", |
| "//chrome/browser/apps/link_capturing:test_support", |
| "//chrome/browser/autofill", |
| "//chrome/browser/autofill:browser_tests", |
| "//chrome/browser/bitmap_fetcher:browser_tests", |
| "//chrome/browser/breadcrumbs:browser_tests", |
| "//chrome/browser/browsing_data:constants", |
| "//chrome/browser/companion/core", |
| "//chrome/browser/companion/core/mojom:mojo_bindings", |
| "//chrome/browser/companion/core/proto", |
| "//chrome/browser/companion/visual_query:browser_tests", |
| "//chrome/browser/companion/visual_query:visual_query", |
| "//chrome/browser/devtools", |
| "//chrome/browser/devtools:test_support", |
| "//chrome/browser/dips:browser_tests", |
| "//chrome/browser/enterprise/identifiers:identifiers", |
| "//chrome/browser/favicon", |
| "//chrome/browser/first_party_sets", |
| "//chrome/browser/headless:browser_tests", |
| "//chrome/browser/image_decoder:browser_tests", |
| "//chrome/browser/image_fetcher", |
| "//chrome/browser/ip_protection:browser_tests", |
| "//chrome/browser/media/router:media_router_feature", |
| "//chrome/browser/media/router:test_support", |
| "//chrome/browser/media/router/discovery/access_code:access_code_cast_feature", |
| "//chrome/browser/media/router/discovery/access_code:access_code_sink_service", |
| "//chrome/browser/metrics:test_support", |
| "//chrome/browser/metrics/structured:test_support", |
| "//chrome/browser/notifications/scheduler:factory", |
| "//chrome/browser/notifications/scheduler/public", |
| "//chrome/browser/notifications/scheduler/test:test_support", |
| "//chrome/browser/optimization_guide:test_support", |
| "//chrome/browser/payments:browser_tests", |
| "//chrome/browser/permissions", |
| "//chrome/browser/permissions:browser_tests", |
| "//chrome/browser/persisted_state_db", |
| "//chrome/browser/plus_addresses:browser_tests", |
| "//chrome/browser/policy:browser_tests", |
| "//chrome/browser/policy:test_support", |
| "//chrome/browser/preloading/prerender:browser_tests", |
| "//chrome/browser/preloading/preview:browser_tests", |
| "//chrome/browser/privacy_budget:browser_tests", |
| "//chrome/browser/profiling_host:profiling_browsertests", |
| "//chrome/browser/resource_coordinator:mojo_bindings", |
| "//chrome/browser/resource_coordinator:tab_manager_features", |
| "//chrome/browser/safe_browsing:advanced_protection", |
| "//chrome/browser/safe_browsing:verdict_cache_manager_factory", |
| "//chrome/browser/segmentation_platform:test_utils", |
| "//chrome/browser/sharing/proto", |
| "//chrome/browser/storage_access_api", |
| "//chrome/browser/support_tool:support_tool_proto", |
| "//chrome/browser/top_level_storage_access_api:permissions", |
| "//chrome/browser/tpcd/http_error_observer:browser_tests", |
| "//chrome/browser/ui/color:color_headers", |
| "//chrome/browser/ui/side_panel:side_panel_enums", |
| "//chrome/browser/ui/tabs:tab_enums", |
| "//chrome/browser/ui/web_applications:browser_tests", |
| "//chrome/browser/ui/webui/privacy_sandbox:mojo_bindings", |
| "//chrome/browser/web_applications:browser_tests", |
| "//chrome/browser/web_applications:prevent_close_test_support", |
| "//chrome/browser/web_applications:web_applications_test_support", |
| "//chrome/browser/web_applications/extensions", |
| "//chrome/browser/webaudio:browser_tests", |
| "//chrome/common:version_header", |
| "//chrome/common/companion/visual_query:flags", |
| "//chrome/common/privacy_budget:test_support", |
| "//chrome/renderer", |
| "//chrome/renderer/companion/visual_query:browser_tests", |
| "//chrome/services/removable_storage_writer:lib", |
| "//chrome/test/data/webui:resources_grit", |
| "//chrome/test/data/webui/mojo:mojo_bindings", |
| "//chrome/test/media_router/access_code_cast:access_code_cast_integration_base", |
| "//chrome/test/payments:test_support", |
| "//components/affiliations/core/browser:affiliation_proto", |
| "//components/affiliations/core/browser:test_support", |
| "//components/autofill/content/browser:autofill_shared_storage_proto", |
| "//components/autofill/content/browser:risk_proto", |
| "//components/autofill/content/browser:test_support", |
| "//components/autofill/content/common:features", |
| "//components/autofill/content/common/mojom", |
| "//components/autofill/content/renderer:test_support", |
| "//components/back_forward_cache", |
| "//components/background_fetch", |
| "//components/background_sync", |
| "//components/base32", |
| "//components/blocked_content", |
| "//components/bookmarks/browser", |
| "//components/bookmarks/common", |
| "//components/bookmarks/managed", |
| "//components/browser_sync", |
| "//components/browsing_data/content", |
| "//components/browsing_data/content:test_support", |
| "//components/browsing_data/core", |
| "//components/browsing_topics", |
| "//components/captive_portal/content", |
| "//components/captive_portal/core", |
| "//components/captive_portal/core:buildflags", |
| "//components/captive_portal/core:test_support", |
| "//components/cbor", |
| "//components/certificate_transparency", |
| "//components/certificate_transparency:proto", |
| "//components/commerce/content/browser", |
| "//components/commerce/content/renderer", |
| "//components/commerce/core:cart_db_content_proto", |
| "//components/commerce/core:commerce_constants", |
| "//components/commerce/core:commerce_heuristics_data", |
| "//components/commerce/core:coupon_db_content_proto", |
| "//components/commerce/core:feature_list", |
| "//components/commerce/core:shopping_service_test_support", |
| "//components/component_updater/installer_policies:installer_policies_no_content_deps", |
| "//components/compose:buildflags", |
| "//components/constrained_window", |
| "//components/content_settings/browser", |
| "//components/content_settings/common:mojom", |
| "//components/cookie_config", |
| "//components/country_codes", |
| "//components/crash/content/browser/error_reporting:mock_crash_endpoint", |
| "//components/dom_distiller/content/browser", |
| "//components/dom_distiller/content/browser:test_support", |
| "//components/dom_distiller/content/renderer", |
| "//components/dom_distiller/core:test_support", |
| "//components/domain_reliability:prefs", |
| "//components/drive:test_support", |
| "//components/embedder_support", |
| "//components/embedder_support:browser_util", |
| "//components/enterprise", |
| "//components/enterprise:test_support", |
| "//components/enterprise/browser/identifiers:identifiers", |
| "//components/enterprise/common/proto:connectors_proto", |
| "//components/error_page/content/browser", |
| "//components/favicon/content", |
| "//components/favicon/core", |
| "//components/feature_engagement/public", |
| "//components/feature_engagement/test:test_support", |
| "//components/feedback:feedback", |
| "//components/feedback/redaction_tool", |
| "//components/flags_ui", |
| "//components/heavy_ad_intervention", |
| "//components/history/content/browser", |
| "//components/history/core/common", |
| "//components/history_clusters/core:core", |
| "//components/history_embeddings", |
| "//components/image_fetcher/core", |
| "//components/infobars/content", |
| "//components/invalidation/impl", |
| "//components/invalidation/impl:test_support", |
| "//components/javascript_dialogs", |
| "//components/language/core/browser", |
| "//components/language/core/common", |
| "//components/lens", |
| "//components/lens:buildflags", |
| "//components/live_caption", |
| "//components/live_caption:constants", |
| "//components/lookalikes/core", |
| "//components/lookalikes/core:proto", |
| "//components/lookalikes/core:safety_tips", |
| "//components/media_device_salt:media_device_salt", |
| "//components/media_router/common/providers/cast/channel", |
| "//components/memory_pressure", |
| "//components/memory_pressure:test_support", |
| "//components/metrics:content", |
| "//components/metrics:metrics", |
| "//components/metrics/demographics", |
| "//components/metrics/demographics:test_support", |
| "//components/metrics/structured", |
| "//components/metrics/structured:structured_events", |
| "//components/metrics/structured:test_support", |
| "//components/metrics_services_manager", |
| "//components/nacl/common:buildflags", |
| "//components/navigation_metrics", |
| "//components/no_state_prefetch/browser", |
| "//components/no_state_prefetch/common", |
| "//components/no_state_prefetch/renderer", |
| "//components/offline_items_collection/core/test_support", |
| "//components/omnibox/browser:vector_icons", |
| "//components/optimization_guide/content/browser", |
| "//components/optimization_guide/content/mojom:mojo_interfaces", |
| "//components/optimization_guide/content/renderer", |
| "//components/optimization_guide/core", |
| "//components/optimization_guide/core:bloomfilter", |
| "//components/optimization_guide/core:prediction", |
| "//components/optimization_guide/core:test_support", |
| "//components/optimization_guide/proto:optimization_guide_proto", |
| "//components/origin_trials:browser", |
| "//components/origin_trials/test", |
| "//components/page_content_annotations/core", |
| "//components/page_content_annotations/core:test_support", |
| "//components/page_image_service", |
| "//components/page_load_metrics/browser", |
| "//components/page_load_metrics/browser:test_support", |
| "//components/page_load_metrics/browser/observers/ad_metrics", |
| "//components/page_load_metrics/browser/observers/ad_metrics:test_support", |
| "//components/page_load_metrics/common", |
| "//components/page_load_metrics/common:test_support", |
| "//components/password_manager/content/browser", |
| "//components/password_manager/content/common", |
| "//components/password_manager/core/browser/features:password_features", |
| "//components/password_manager/core/browser/form_parsing", |
| "//components/payments/content", |
| "//components/payments/content:utils", |
| "//components/performance_manager", |
| "//components/plus_addresses", |
| "//components/plus_addresses:test_support", |
| "//components/policy:chrome_settings_proto_generated_compile", |
| "//components/policy/core/browser:pref_mapping_test_support", |
| "//components/policy/core/browser:test_support", |
| "//components/policy/test_support", |
| "//components/privacy_sandbox", |
| "//components/privacy_sandbox:privacy_sandbox_prefs", |
| "//components/privacy_sandbox:test_support", |
| "//components/privacy_sandbox:tracking_protection_onboarding", |
| "//components/privacy_sandbox:tracking_protection_prefs", |
| "//components/privacy_sandbox:tracking_protection_settings", |
| "//components/privacy_sandbox/privacy_sandbox_attestations", |
| "//components/privacy_sandbox/privacy_sandbox_attestations:test_support", |
| "//components/privacy_sandbox/privacy_sandbox_attestations/proto:proto", |
| "//components/proxy_config", |
| "//components/qr_code_generator:bitmap_generator", |
| "//components/reading_list/core", |
| "//components/reading_list/features:flags", |
| "//components/resources", |
| "//components/safe_browsing:buildflags", |
| "//components/safe_browsing/content/browser", |
| "//components/safe_browsing/content/browser:client_side_detection", |
| "//components/safe_browsing/content/browser:client_side_detection_service", |
| "//components/safe_browsing/content/browser:safe_browsing_service", |
| "//components/safe_browsing/content/browser/password_protection", |
| "//components/safe_browsing/content/browser/password_protection:test_support", |
| "//components/safe_browsing/content/browser/web_ui", |
| "//components/safe_browsing/content/common:interfaces", |
| "//components/safe_browsing/content/common:interfaces_shared_cpp_sources", |
| "//components/safe_browsing/content/renderer", |
| "//components/safe_browsing/content/renderer/phishing_classifier", |
| "//components/safe_browsing/content/renderer/phishing_classifier:unit_tests_support", |
| "//components/safe_browsing/core/browser:verdict_cache_manager", |
| "//components/safe_browsing/core/browser/db:metadata_proto", |
| "//components/safe_browsing/core/browser/db:test_database_manager", |
| "//components/safe_browsing/core/browser/db:v4_database", |
| "//components/safe_browsing/core/browser/db:v4_get_hash_protocol_manager", |
| "//components/safe_browsing/core/browser/password_protection:password_protection_metrics_util", |
| "//components/safe_browsing/core/common", |
| "//components/safe_browsing/core/common/proto:client_model_proto", |
| "//components/saved_tab_groups:core", |
| "//components/search", |
| "//components/security_interstitials/content:proto", |
| "//components/security_interstitials/content:security_interstitial_page", |
| "//components/security_interstitials/core:unsafe_resource", |
| "//components/security_state/content", |
| "//components/segmentation_platform/embedder/default_model", |
| "//components/segmentation_platform/internal", |
| "//components/segmentation_platform/internal:test_support", |
| "//components/segmentation_platform/public", |
| "//components/tpcd/metadata", |
| "//components/tpcd/metadata:metadata_proto", |
| "//components/tpcd/metadata:test_support", |
| |
| # TODO(b/287255120) : Also add this as a dependency on Android for building test code. |
| "//components/optimization_guide/core:test_support", |
| "//components/segmentation_platform/public:test_support", |
| "//components/services/app_service", |
| "//components/services/app_service/public/cpp:test_support", |
| "//components/services/language_detection/public/cpp", |
| "//components/services/language_detection/public/mojom", |
| "//components/services/patch/content", |
| "//components/services/patch/public/cpp", |
| "//components/services/patch/public/mojom", |
| "//components/services/quarantine:test_support", |
| "//components/services/storage", |
| "//components/session_proto_db:session_proto_db", |
| "//components/signin/core/browser", |
| "//components/signin/public/base:signin_buildflags", |
| "//components/signin/public/identity_manager", |
| "//components/signin/public/identity_manager:test_support", |
| "//components/site_engagement/content", |
| "//components/site_isolation", |
| "//components/soda", |
| "//components/soda:constants", |
| "//components/spellcheck:buildflags", |
| "//components/spellcheck/browser", |
| "//components/spellcheck/common", |
| "//components/spellcheck/common:interfaces", |
| "//components/spellcheck/common:spellcheck_result", |
| "//components/spellcheck/renderer", |
| "//components/ssl_errors", |
| "//components/strings", |
| "//components/subresource_filter/core/browser", |
| "//components/subresource_filter/core/browser:test_support", |
| "//components/subresource_filter/core/common:test_support", |
| "//components/sync", |
| "//components/sync:test_support", |
| "//components/sync_device_info:test_support", |
| "//components/tab_groups", |
| "//components/tracing:background_tracing_utils", |
| "//components/translate/content/browser:test_support", |
| "//components/translate/content/renderer", |
| "//components/translate/core/common", |
| "//components/translate/core/language_detection", |
| "//components/trusted_vault", |
| "//components/ukm/content", |
| "//components/unified_consent", |
| "//components/url_formatter/spoof_checks/top_domains:generate_top_domains_test_trie", |
| "//components/url_formatter/spoof_checks/top_domains:test_top_bucket_domains", |
| "//components/url_formatter/spoof_checks/top_domains:test_top_bucket_domains_header", |
| "//components/user_education/common", |
| "//components/user_education/test", |
| "//components/user_manager", |
| "//components/user_notes:features", |
| "//components/user_prefs", |
| "//components/variations/service", |
| "//components/version_info", |
| "//components/web_package/test_support", |
| "//components/webapps/browser", |
| "//components/webapps/browser:test_support", |
| "//components/webapps/common:common", |
| "//components/webapps/services/web_app_origin_association/test:test_support", |
| "//components/webauthn/core/browser:test_support", |
| "//components/webrtc", |
| "//components/webrtc_logging/browser", |
| "//content/public/common", |
| "//content/test:browsertest_support", |
| "//content/test:test_support", |
| "//courgette:bsdiff", |
| "//courgette:courgette_lib", |
| "//crypto:test_support", |
| "//device/bluetooth:mocks", |
| "//device/fido:cablev2_test_util", |
| "//device/fido:test_support", |
| "//google_apis:test_support", |
| "//media:media_buildflags", |
| "//media:test_support", |
| "//media/cast:test_support", |
| "//media/mojo/services", |
| "//mojo/core/embedder", |
| "//mojo/public/cpp/system", |
| "//mojo/public/js:resources_grit", |
| "//net", |
| "//net:extras", |
| "//net:test_support", |
| "//pdf:buildflags", |
| "//ppapi/buildflags", |
| "//printing/buildflags", |
| "//rlz/buildflags", |
| "//services/audio/public/cpp:test_support", |
| "//services/device/public/cpp:test_support", |
| "//services/device/public/mojom", |
| "//services/image_annotation/public/cpp", |
| "//services/network/public/cpp", |
| "//services/network/public/mojom", |
| "//services/network/public/proto:sct_audit_report_proto", |
| "//services/preferences/public/cpp", |
| "//services/preferences/public/cpp/tracked", |
| "//services/service_manager/public/cpp", |
| "//services/strings", |
| "//skia", |
| "//storage/browser:test_support", |
| "//testing/data_driven_testing", |
| "//testing/gmock", |
| "//testing/gtest", |
| "//testing/perf", |
| "//third_party/blink/public:blink_headers", |
| "//third_party/blink/public:buildflags", |
| "//third_party/blink/public/common", |
| "//third_party/blink/public/mojom:web_feature_mojo_bindings", |
| "//third_party/icu", |
| "//third_party/leveldatabase", |
| "//third_party/libwebp", |
| "//third_party/openscreen/src/cast/streaming:common", |
| "//third_party/protobuf:py_proto_runtime", |
| "//third_party/webrtc_overrides:webrtc_component", |
| "//third_party/widevine/cdm:buildflags", |
| "//third_party/widevine/cdm:headers", |
| "//third_party/zlib/google:zip", |
| "//ui/accessibility:test_support", |
| "//ui/base:ozone_buildflags", |
| "//ui/base:test_support", |
| "//ui/base/clipboard:clipboard_test_support", |
| "//ui/base/dragdrop/mojom", |
| "//ui/color:color", |
| "//ui/color:mixers", |
| "//ui/compositor:test_support", |
| "//ui/display:test_support", |
| "//ui/native_theme:test_support", |
| "//ui/resources", |
| "//ui/shell_dialogs:test_support", |
| "//ui/web_dialogs:test_support", |
| "//ui/webui", |
| "//ui/webui:test_support", |
| "//ui/webui/resources/cr_components/history_clusters:mojo_bindings", |
| "//v8", |
| ] |
| |
| if (is_chromeos) { |
| deps += [ |
| "//chromeos/dbus/dlp:dlp", |
| "//ui/chromeos", |
| ] |
| } |
| |
| if (is_chromeos_ash) { |
| deps += [ "//remoting/host/chromeos:features" ] |
| } |
| |
| # Runtime dependencies |
| data_deps = [ |
| "//chrome:browser_tests_pak", |
| "//chrome/browser/resources/media/mei_preload:component", |
| "//chrome/test/data/cast:generate_test_files", |
| "//components/policy/proto", |
| "//testing:test_scripts_shared", |
| "//testing/buildbot/filters:browser_tests_filters", |
| "//testing/buildbot/filters:linux_trusty_rel_browser_tests_filters", |
| "//third_party/mesa_headers", |
| "//third_party/private_membership:private_membership_proto", |
| "//third_party/shell-encryption:serialization_proto", |
| "//third_party/widevine/cdm:widevine_test_license_server", |
| "//tools/media_engagement_preload:make_dafsa_runtime", |
| ] |
| |
| 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/", |
| "//ash/components/arc/test/data/icons", |
| "//chrome/browser/page_load_metrics/integration_tests/data/", |
| "//chrome/renderer/resources/extensions/", |
| "//chrome/test/data/cart/", |
| "//components/test/data/ad_tagging/", |
| "//components/test/data/ads_observer/", |
| "//components/test/data/autofill/", |
| "//components/test/data/custom_handlers", |
| "//components/test/data/optimization_guide/", |
| "//components/test/data/payments/", |
| "//components/test/data/subresource_filter/", |
| "//components/test/data/translate/", |
| "//components/test/data/update_client/", |
| "//content/test/data/", |
| "//google_apis/test/", |
| |
| # Media data deps are included individually to prevent runaway isolate |
| # size growth. |
| "//media/test/data/90rotation.mp4", |
| "//media/test/data/bear-320x240-audio-only.webm", |
| "//media/test/data/bear-320x240-av_enc-a.webm", |
| "//media/test/data/bear-320x240-av_enc-av.webm", |
| "//media/test/data/bear-320x240-av_enc-v.webm", |
| "//media/test/data/bear-320x240-multitrack.webm", |
| "//media/test/data/bear-320x240-opus-av_enc-av.webm", |
| "//media/test/data/bear-320x240-opus-av_enc-v.webm", |
| "//media/test/data/bear-320x240-v-vp9_fullsample_enc-v.webm", |
| "//media/test/data/bear-320x240-v-vp9_profile2_subsample_cenc-v.mp4", |
| "//media/test/data/bear-320x240-v-vp9_profile2_subsample_cenc-v.webm", |
| "//media/test/data/bear-320x240-v-vp9_subsample_enc-v.webm", |
| "//media/test/data/bear-320x240-v_enc-v.webm", |
| "//media/test/data/bear-320x240-v_frag-vp9-cenc.mp4", |
| "//media/test/data/bear-320x240-video-only.webm", |
| "//media/test/data/bear-320x240.webm", |
| "//media/test/data/bear-640x360-a_frag-cbcs.mp4", |
| "//media/test/data/bear-640x360-a_frag-cenc.mp4", |
| "//media/test/data/bear-640x360-av_enc-av.webm", |
| "//media/test/data/bear-640x360-v_frag-cbc1.mp4", |
| "//media/test/data/bear-640x360-v_frag-cbcs.mp4", |
| "//media/test/data/bear-640x360-v_frag-cenc-mdat.mp4", |
| "//media/test/data/bear-640x360-v_frag-cenc.mp4", |
| "//media/test/data/bear-640x360-v_frag-cens.mp4", |
| "//media/test/data/bear-640x360.webm", |
| "//media/test/data/bear-a_enc-a.webm", |
| "//media/test/data/bear-av1-320x180-10bit-cenc.mp4", |
| "//media/test/data/bear-av1-320x180-10bit-cenc.webm", |
| "//media/test/data/bear-av1-cenc.mp4", |
| "//media/test/data/bear-av1-cenc.webm", |
| "//media/test/data/bear-flac-cenc.mp4", |
| "//media/test/data/bear-opus-cenc.mp4", |
| "//media/test/data/eme_and_get_display_media.html", |
| "//media/test/data/eme_load_session_after_close_test.html", |
| "//media/test/data/eme_player.html", |
| "//media/test/data/eme_player_js/", |
| "//media/test/data/eme_remove_session_test.html", |
| "//media/test/data/encrypted_frame_size_change.html", |
| "//media/test/data/frame_size_change-av_enc-v.webm", |
| "//media/test/data/id3_png_test.mp3", |
| "//media/test/data/media_foundation_fallback.html", |
| "//media/test/data/mse_config_change.html", |
| "//media/test/data/mse_different_containers.html", |
| "//media/test/data/multiple_cdm_types.html", |
| "//media/test/data/no_streams.webm", |
| "//media/test/data/sfx.ogg", |
| "//media/test/data/test_key_system_instantiation.html", |
| "//media/test/data/webaudio_oscillator.html", |
| |
| "//net/tools/testserver/", |
| "//third_party/node/node_modules/mocha/mocha.js", |
| "//third_party/pywebsocket3/src/mod_pywebsocket/", |
| "//third_party/simplejson/", |
| "//third_party/webrtc/rtc_tools/compare_videos.py", |
| "//ui/webui/resources/", |
| ] |
| |
| if (is_chromeos_ash) { |
| # Libraries for tests that inherit from BaseWebUIBrowserTest. |
| data += [ |
| "//third_party/node/node_modules/chai/chai.js", |
| "//chrome/test/data/webui/chromeos/test_api.js", |
| ] |
| } |
| 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/embedded_a11y_extension_loader_browsertest.cc", |
| "../browser/accessibility/image_annotation_browsertest.cc", |
| "../browser/accessibility/interstitial_accessibility_browsertest.cc", |
| "../browser/accessibility/page_colors_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/attribution_reporting/chrome_attribution_browsertest.cc", |
| "../browser/autocomplete/autocomplete_browsertest.cc", |
| "../browser/autofill/content_autofill_shared_storage_handler_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/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/battery/battery_metrics_browsertest.cc", |
| "../browser/bluetooth/web_bluetooth_browsertest.cc", |
| "../browser/browser_encoding_browsertest.cc", |
| "../browser/browsing_data/browsing_data_model_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/cookies_tree_model_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/incognito_browsing_data_browsertest.cc", |
| "../browser/browsing_data/navigation_entry_remover_browsertest.cc", |
| "../browser/browsing_topics/browsing_topics_internals_browsertest.cc", |
| "../browser/browsing_topics/browsing_topics_service_browsertest.cc", |
| "../browser/cart/cart_service_browsertest.cc", |
| "../browser/cart/fetch_discount_worker_browsertest.cc", |
| "../browser/chained_back_navigation_tracker_browsertest.cc", |
| "../browser/chooser_controller/title_util_browsertest.cc", |
| "../browser/chrome_back_forward_cache_browsertest.cc", |
| "../browser/chrome_content_browser_client_browsertest.cc", |
| "../browser/chrome_data_use_measurement_browsertest.cc", |
| "../browser/chrome_do_not_track_browsertest.cc", |
| "../browser/chrome_navigation_browsertest.cc", |
| "../browser/chrome_origin_trials_browsertest.cc", |
| "../browser/chrome_security_exploit_browsertest.cc", |
| "../browser/chrome_shared_array_buffer_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/pki_metadata_component_installer_browsertest.cc", |
| "../browser/content_extraction/inner_html_browsertest.cc", |
| "../browser/content_extraction/inner_text_browsertest.cc", |
| "../browser/content_index/content_index_browsertest.cc", |
| "../browser/content_language/content_language_browsertest.cc", |
| "../browser/content_settings/mixed_content_settings_tab_helper_browsertest.cc", |
| "../browser/content_settings/sound_content_setting_observer_browsertest.cc", |
| "../browser/crash_recovery_browsertest.cc", |
| "../browser/custom_handlers/protocol_handler_registry_browsertest.cc", |
| "../browser/data_saver/data_saver_browsertest.cc", |
| "../browser/data_saver/data_saver_webapis_browsertest.cc", |
| "../browser/device_api/managed_configuration_api_browsertest.cc", |
| "../browser/devtools/device/adb/adb_client_socket_browsertest.cc", |
| "../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_browsertest.cc", |
| "../browser/devtools/global_confirm_info_bar_browsertest.cc", |
| "../browser/devtools/protocol/devtools_autofill_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/devtools/protocol/form_devtools_issues_browsertest.cc", |
| "../browser/direct_sockets/direct_sockets_apitest.cc", |
| "../browser/dom_distiller/distillable_page_utils_browsertest.cc", |
| "../browser/dom_distiller/dom_distiller_viewer_source_browsertest.cc", |
| "../browser/dom_distiller/test_distillation_observers.cc", |
| "../browser/dom_distiller/test_distillation_observers.h", |
| "../browser/domain_reliability/browsertest.cc", |
| "../browser/download/download_browsertest.cc", |
| "../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/engagement/site_engagement_helper_browsertest.cc", |
| "../browser/enterprise/browser_management/management_service_browsertest.cc", |
| "../browser/enterprise/connectors/reporting/crash_reporting_context_browsertest.cc", |
| "../browser/enterprise/util/managed_browser_utils_browsertest.cc", |
| "../browser/extensions/api/bookmark_manager_private/bookmark_manager_private_api_browsertest.cc", |
| "../browser/fast_shutdown_browsertest.cc", |
| "../browser/favicon/content_favicon_driver_browsertest.cc", |
| "../browser/file_system_access/chrome_file_system_access_permission_context_browsertest.cc", |
| "../browser/file_system_access/file_system_access_picker_requires_user_gesture_browsertest.cc", |
| "../browser/file_system_access/file_system_access_tab_helper_browsertest.cc", |
| "../browser/first_party_sets/first_party_sets_policy_browsertest.cc", |
| "../browser/first_run/first_run_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/hid/hid_browsertest.cc", |
| "../browser/history/history_browsertest.cc", |
| "../browser/history/redirect_browsertest.cc", |
| "../browser/history_clusters/history_clusters_metrics_browsertest.cc", |
| "../browser/history_embeddings/history_embeddings_service_browsertest.cc", |
| "../browser/icon_loader_browsertest.cc", |
| "../browser/icon_transcoder/svg_icon_transcoder_browsertest.cc", |
| "../browser/idle/idle_browsertest.cc", |
| "../browser/iframe_browsertest.cc", |
| "../browser/image_fetcher/image_fetcher_impl_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/installable/ml_promotion_browsertest.cc", |
| "../browser/interest_group/interest_group_permissions_browsertest.cc", |
| "../browser/invalidation/profile_invalidation_provider_factory_browsertest.cc", |
| "../browser/k_anonymity_service/k_anonymity_service_client_browsertest.cc", |
| "../browser/l10n_util_browsertest.cc", |
| "../browser/launch_time_navigation_signal/launch_time_navigation_signal_browsertest.cc", |
| "../browser/lifetime/browser_close_manager_browsertest.cc", |
| "../browser/lifetime/browser_shutdown_browsertest.cc", |
| "../browser/loader/keep_alive_url_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/lookalikes/lookalike_test_helper.cc", |
| "../browser/lookalikes/lookalike_test_helper.h", |
| "../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/media_browsertest.cc", |
| "../browser/media/media_browsertest.h", |
| "../browser/media/media_engagement_autoplay_browsertest.cc", |
| "../browser/media/media_engagement_browsertest.cc", |
| "../browser/media/media_session_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/same_origin_observer_browsertest.cc", |
| "../browser/media/webrtc/sub_capture_browsertest.cc", |
| "../browser/media/webrtc/test_stats_dictionary_unittest.cc", |
| "../browser/tpcd/heuristics/opener_heuristic_browsertest.cc", |
| "../browser/tpcd/metadata/devtools_observer_browsertest.cc", |
| "../browser/tpcd/metadata/updater_service_browsertest.cc", |
| "../browser/tpcd/support/top_level_trial_service_browsertest.cc", |
| "../browser/tpcd/support/tpcd_support_browsertest.cc", |
| "../browser/tpcd/support/validity_service_browsertest.cc", |
| |
| # TODO(b/246519185) - Py3 incompatible, decide if to keep test. |
| # "../browser/media/webrtc/webrtc_apprtc_browsertest.cc", |
| "../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_internals_integration_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_log_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/process_memory_metrics_emitter_browsertest.cc", |
| "../browser/metrics/sampled_out_client_id_saved_browsertest.cc", |
| "../browser/metrics/startup_metrics_browsertest.cc", |
| "../browser/metrics/tab_stats/tab_stats_tracker_browsertest.cc", |
| "../browser/metrics/ukm_background_recorder_browsertest.cc", |
| "../browser/metrics/ukm_browsertest.cc", |
| "../browser/metrics/usage_scenario/tab_usage_scenario_tracker_browsertest.cc", |
| "../browser/metrics/variations/field_trials_on_off_browsertest.cc", |
| "../browser/metrics/variations/force_field_trials_browsertest.cc", |
| "../browser/metrics/variations/limited_entropy_randomization_browsertest.cc", |
| "../browser/metrics/variations/variations_http_headers_browsertest.cc", |
| "../browser/metrics/variations/variations_safe_mode_browsertest.cc", |
| "../browser/metrics/variations/variations_safe_mode_end_to_end_browsertest.cc", |
| "../browser/metrics/variations/variations_service_browsertest.cc", |
| "../browser/navigation_predictor/anchor_element_preloader_browsertest.cc", |
| "../browser/navigation_predictor/navigation_predictor_browsertest.cc", |
| "../browser/navigation_predictor/navigation_predictor_preconnect_client_browsertest.cc", |
| "../browser/navigation_predictor/search_engine_preconnector_browsertest.cc", |
| "../browser/net/cert_verifier_policy_browsertest.cc", |
| "../browser/net/cert_verifier_service_browsertest.cc", |
| "../browser/net/cert_verify_proc_browsertest.cc", |
| "../browser/net/chrome_accept_encoding_header_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/chrome_shared_dictionary_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/explicitly_allowed_network_ports_browsertest.cc", |
| "../browser/net/explicitly_allowed_ports_switch_browsertest.cc", |
| "../browser/net/external_protocol_browsertest.cc", |
| "../browser/net/load_timing_browsertest.cc", |
| "../browser/net/log_net_log_browsertest.cc", |
| "../browser/net/net_error_tab_helper_browsertest.cc", |
| "../browser/net/netinfo_network_quality_estimator_holdback_browsertest.cc", |
| "../browser/net/network_annotation_monitor_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_access_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/samesite_cookies_policy_browsertest.cc", |
| "../browser/net/storage_test_utils.cc", |
| "../browser/net/storage_test_utils.h", |
| "../browser/net/stub_resolver_config_reader_browsertest.cc", |
| "../browser/net/system_network_context_manager_browsertest.cc", |
| "../browser/net/trust_token_usecounter_browsertest.cc", |
| "../browser/net/websocket_browsertest.cc", |
| "../browser/new_tab_page/new_tab_page_util_browsertest.cc", |
| "../browser/no_best_effort_tasks_browsertest.cc", |
| "../browser/no_best_effort_tasks_during_startup_browsertest.cc", |
| "../browser/notifications/notification_permission_browsertest.cc", |
| "../browser/notifications/scheduler/notification_schedule_service_browsertest.cc", |
| "../browser/ntp_tiles/ntp_tiles_browsertest.cc", |
| "../browser/optimization_guide/hints_fetcher_browsertest.cc", |
| "../browser/optimization_guide/model_execution/model_execution_browsertest.cc", |
| "../browser/optimization_guide/model_execution/model_execution_live_test.cc", |
| "../browser/optimization_guide/model_execution/model_execution_validation_browsertest.cc", |
| "../browser/optimization_guide/optimization_guide_keyed_service_browsertest.cc", |
| "../browser/origin_trials/origin_trials_browsertest.cc", |
| "../browser/os_crypt/os_crypt_async_browsertest.cc", |
| "../browser/page_content_annotations/page_content_annotations_service_browsertest.cc", |
| "../browser/page_content_annotations/page_text_observer_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/bookmark_bar_page_load_metrics_observer_browsertest.cc", |
| "../browser/page_load_metrics/observers/core/amp_page_load_metrics_observer_browsertest.cc", |
| "../browser/page_load_metrics/observers/core/ukm_page_load_metrics_observer_browsertest.cc", |
| "../browser/page_load_metrics/observers/foreground_duration_ukm_observer_browsertest.cc", |
| "../browser/page_load_metrics/observers/formfill_page_load_metrics_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/multi_tab_loading_page_load_metrics_observer_browsertest.cc", |
| "../browser/page_load_metrics/observers/page_anchors_metrics_observer_browsertest.cc", |
| "../browser/page_load_metrics/observers/prefetch_page_load_metrics_observer_browsertest.cc", |
| "../browser/page_load_metrics/observers/prerender_page_load_metrics_observer_browsertest.cc", |
| "../browser/page_load_metrics/observers/preview_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/tab_strip_page_load_metrics_observer_browsertest.cc", |
| "../browser/page_load_metrics/observers/third_party_cookie_deprecation_metrics_observer_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/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/observers/page_load_metrics_observer_browsertest.cc", |
| "../browser/performance_manager/page_load_tracker_decorator_browsertest.cc", |
| "../browser/performance_manager/page_node_browsertest.cc", |
| "../browser/performance_manager/policies/bfcache_policy_browsertest.cc", |
| "../browser/performance_manager/policies/page_discarding_helper_browsertest.cc", |
| "../browser/performance_timeline_browsertest.cc", |
| "../browser/picture_in_picture/auto_picture_in_picture_tab_helper_browsertest.cc", |
| "../browser/picture_in_picture/auto_picture_in_picture_tab_strip_observer_helper_browsertest.cc", |
| "../browser/picture_in_picture/document_picture_in_picture_pixel_browsertest.cc", |
| "../browser/picture_in_picture/document_picture_in_picture_window_controller_browsertest.cc", |
| "../browser/picture_in_picture/video_picture_in_picture_window_controller_browsertest.cc", |
| "../browser/policy/policy_initialization_browsertest.cc", |
| "../browser/policy/policy_prefs_browsertest.cc", |
| "../browser/policy/test/browsing_history_policy_browsertest.cc", |
| "../browser/policy/test/cast_policy_browsertest.cc", |
| "../browser/policy/test/content_settings_policy_browsertest.cc", |
| "../browser/policy/test/default_search_provider_policy_browsertest.cc", |
| "../browser/policy/test/force_google_safe_search_policy_browsertest.cc", |
| "../browser/policy/test/history_clusters_policy_browsertest.cc", |
| "../browser/policy/test/jit_policy_browsertest.cc", |
| "../browser/policy/test/platform_management_service_browsertest.cc", |
| "../browser/policy/test/policy_browsertest.cc", |
| "../browser/policy/test/policy_test_google_browsertest.cc", |
| "../browser/policy/test/restore_on_startup_policy_browsertest.cc", |
| "../browser/policy/test/url_blocklist_policy_browsertest.cc", |
| "../browser/predictors/loading_predictor_browsertest.cc", |
| "../browser/prefetch/prefetch_browsertest.cc", |
| "../browser/prefs/pref_functional_browsertest.cc", |
| "../browser/prefs/pref_service_browsertest.cc", |
| "../browser/prefs/tracked/pref_hash_browsertest.cc", |
| "../browser/preloading/latency_ablation_browsertest.cc", |
| "../browser/preloading/prefetch/no_state_prefetch/prerender_nostate_prefetch_browsertest.cc", |
| "../browser/preloading/prefetch/search_prefetch/search_prefetch_browser_test_base.cc", |
| "../browser/preloading/prefetch/search_prefetch/search_prefetch_browser_test_base.h", |
| "../browser/preloading/prefetch/search_prefetch/search_prefetch_service_browsertest.cc", |
| "../browser/preloading/prefetch/search_prefetch/search_preload_test_response_utils.cc", |
| "../browser/preloading/prefetch/search_prefetch/search_preload_test_response_utils.h", |
| "../browser/preloading/prefetch/search_prefetch/search_preload_unified_browsertest.cc", |
| "../browser/preloading/prefetch/zero_suggest_prefetch/zero_suggest_prefetch_tab_helper_browsertest.cc", |
| "../browser/privacy_sandbox/privacy_sandbox_attestations/privacy_sandbox_attestations_component_installer_browsertest.cc", |
| "../browser/privacy_sandbox/privacy_sandbox_notice_confirmation_browsertest.cc", |
| "../browser/privacy_sandbox/privacy_sandbox_settings_browsertest.cc", |
| "../browser/privacy_sandbox/tracking_protection_notice_browsertest.cc", |
| "../browser/privacy_sandbox/tracking_protection_settings_browsertest.cc", |
| "../browser/private_network_access/chrome_private_network_access_browsertest.cc", |
| "../browser/private_network_access/private_network_device_browser_test_utils.cc", |
| "../browser/private_network_access/private_network_device_browser_test_utils.h", |
| "../browser/profile_resetter/profile_resetter_browsertest.cc", |
| "../browser/profiles/host_zoom_map_browsertest.cc", |
| "../browser/profiles/incognito_profile_containment_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/push_messaging/push_messaging_browsertest.cc", |
| "../browser/reduce_accept_language/reduce_accept_language_browsertest.cc", |
| "../browser/referrer_policy_browsertest.cc", |
| "../browser/renderer_context_menu/accessibility_labels_bubble_model_browsertest.cc", |
| "../browser/renderer_context_menu/accessibility_labels_menu_observer_browsertest.cc", |
| "../browser/renderer_context_menu/render_view_context_menu_browsertest.cc", |
| "../browser/renderer_context_menu/render_view_context_menu_browsertest_util.cc", |
| "../browser/renderer_context_menu/render_view_context_menu_browsertest_util.h", |
| "../browser/renderer_context_menu/spelling_bubble_model_browsertest.cc", |
| "../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_helper_browsertest.cc", |
| "../browser/resource_coordinator/tab_manager_browsertest.cc", |
| "../browser/safe_browsing/client_side_detection_service_browsertest.cc", |
| "../browser/safe_browsing/download_protection/download_protection_service_browsertest.cc", |
| "../browser/safe_xml_parser_browsertest.cc", |
| "../browser/search/background/wallpaper_search/wallpaper_search_browsertest.cc", |
| "../browser/search/ntp_custom_background_enabled_policy_handler_browsertest.cc", |
| "../browser/search_engines/template_url_scraper_browsertest.cc", |
| "../browser/search_engines/template_url_service_browsertest.cc", |
| "../browser/secure_origin_allowlist_browsertest.cc", |
| "../browser/segmentation_platform/service_browsertest.cc", |
| "../browser/serial/chrome_serial_browsertest.cc", |
| "../browser/sessions/better_session_restore_browsertest.cc", |
| "../browser/sessions/closed_tab_cache_browsertest.cc", |
| "../browser/sessions/exit_type_service_browsertest.cc", |
| "../browser/sessions/session_id_generator_browsertest.cc", |
| "../browser/sessions/session_restore_browsertest.cc", |
| "../browser/sessions/session_restore_observer_browsertest.cc", |
| "../browser/sessions/session_service_log_browsertest.cc", |
| "../browser/sessions/tab_restore_browsertest.cc", |
| "../browser/share/qr_code_generator_pixeltest.cc", |
| "../browser/signin/e2e_tests/account_capabilities_observer.cc", |
| "../browser/signin/e2e_tests/account_capabilities_observer.h", |
| "../browser/signin/e2e_tests/accounts_removed_waiter.cc", |
| "../browser/signin/e2e_tests/accounts_removed_waiter.h", |
| "../browser/signin/e2e_tests/live_sign_in_test.cc", |
| "../browser/signin/e2e_tests/live_test.cc", |
| "../browser/signin/e2e_tests/live_test.h", |
| "../browser/signin/e2e_tests/sign_in_test_observer.cc", |
| "../browser/signin/e2e_tests/sign_in_test_observer.h", |
| "../browser/signin/e2e_tests/signin_util.cc", |
| "../browser/signin/e2e_tests/signin_util.h", |
| "../browser/signin/remove_local_account_browsertest.cc", |
| "../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/isolated_sandboxed_iframe_browsertest.cc", |
| "../browser/site_isolation/origin_agent_cluster_browsertest.cc", |
| "../browser/site_isolation/site_details_browsertest.cc", |
| "../browser/spellchecker/spellcheck_service_browsertest.cc", |
| "../browser/ssl/certificate_transparency_browsertest.cc", |
| "../browser/ssl/connection_help_tab_helper_browsertest.cc", |
| "../browser/ssl/crlset_browsertest.cc", |
| "../browser/ssl/https_upgrades_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/ssl_fenced_frame_browsertest.cc", |
| "../browser/ssl/ssl_prerender_browsertest.cc", |
| "../browser/ssl/stateful_ssl_host_state_delegate_test.cc", |
| "../browser/storage/database_access_browsertest.cc", |
| "../browser/storage/durable_storage_browsertest.cc", |
| "../browser/storage/shared_storage_browsertest.cc", |
| "../browser/storage_access_api/api_browsertest.cc", |
| "../browser/subresource_filter/ad_heuristic_tpcd_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_browsertest.cc", |
| "../browser/subresource_filter/subresource_filter_devtools_browsertest.cc", |
| "../browser/subresource_filter/subresource_filter_dns_alias_browsertest.cc", |
| "../browser/subresource_filter/subresource_filter_fenced_frame_browsertest.cc", |
| "../browser/subresource_filter/subresource_filter_intercepting_browsertest.cc", |
| "../browser/subresource_filter/subresource_filter_popup_browsertest.cc", |
| "../browser/subresource_filter/subresource_filter_prerender_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/support_tool/policy_data_collector_browsertest.cc", |
| "../browser/support_tool/screenshot_data_collector_browsertest.cc", |
| "../browser/support_tool/support_tool_util_browsertest.cc", |
| "../browser/sync/sessions/sync_sessions_router_tab_helper_browsertest.cc", |
| "../browser/sync/sync_service_util_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/web_contents/web_app_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/top_level_storage_access_api/request_storage_access_for_browsertest.cc", |
| "../browser/tpcd/experiment/eligibility_service_browsertest.cc", |
| "../browser/tpcd/experiment/experiment_manager_impl_browsertest.cc", |
| "../browser/tracing/chrome_tracing_delegate_browsertest.cc", |
| "../browser/translate/language_detection_service_browsertest.cc", |
| "../browser/translate/translate_frame_binder_browsertest.cc", |
| "../browser/translate/translate_manager_browsertest.cc", |
| "../browser/translate/translate_model_service_browsertest.cc", |
| "../browser/trusted_vault/trusted_vault_encryption_keys_tab_helper_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/save_card_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_navigator_iwa_browsertest.cc", |
| "../browser/ui/browser_tab_strip_model_delegate_browsertest.cc", |
| "../browser/ui/browser_tabrestore_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/exclusive_access_manager_browsertest.cc", |
| "../browser/ui/exclusive_access/fullscreen_controller_browsertest.cc", |
| "../browser/ui/exclusive_access/pointer_lock_controller_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_image_util_browsertest.cc", |
| "../browser/ui/extensions/extension_side_panel_test_utils.h", |
| "../browser/ui/extensions/hosted_app_browsertest.cc", |
| "../browser/ui/extensions/notifications_custom_bindings_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/trust_safety_sentiment_service_browsertest.cc", |
| "../browser/ui/javascript_dialogs/javascript_dialog_browsertest.cc", |
| "../browser/ui/lens/lens_overlay_controller_browsertest.cc", |
| "../browser/ui/login/login_handler_browsertest.cc", |
| "../browser/ui/managed_ui_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/manage_passwords_test.h", |
| "../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/performance_controls/tab_resource_usage_collector_browsertest.cc", |
| "../browser/ui/permission_bubble/permission_bubble_browser_test_util.cc", |
| "../browser/ui/permission_bubble/permission_bubble_browser_test_util.h", |
| "../browser/ui/prefs/prefs_tab_helper_browsertest.cc", |
| "../browser/ui/privacy_sandbox/privacy_sandbox_prompt_helper_browsertest.cc", |
| "../browser/ui/profiles/profile_error_browsertest.cc", |
| "../browser/ui/renderer_event_injection_browsertest.cc", |
| "../browser/ui/safety_hub/unused_site_permissions_service_browsertest.cc", |
| "../browser/ui/search/instant_test_base.cc", |
| "../browser/ui/search/instant_test_base.h", |
| "../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/tab_modal_confirm_dialog_browsertest.cc", |
| "../browser/ui/tab_modal_confirm_dialog_browsertest.h", |
| "../browser/ui/tab_ui_helper_browsertest.cc", |
| "../browser/ui/tabs/organization/tab_sensitivity_cache_browsertest.cc", |
| "../browser/ui/tabs/pinned_tab_service_browsertest.cc", |
| "../browser/ui/tabs/tab_strip_model_browsertest.cc", |
| "../browser/ui/test/browser_ui_browsertest.cc", |
| "../browser/ui/test/browser_ui_test_base.cc", |
| "../browser/ui/test/browser_ui_test_base.h", |
| "../browser/ui/test/fullscreen_test_util.cc", |
| "../browser/ui/test/fullscreen_test_util.h", |
| "../browser/ui/test/popup_browsertest.cc", |
| "../browser/ui/test/popup_fullscreen_browsertest.cc", |
| "../browser/ui/test/test_browser_dialog.cc", |
| "../browser/ui/test/test_browser_dialog.h", |
| "../browser/ui/test/test_infobar.cc", |
| "../browser/ui/test/test_infobar.h", |
| "../browser/ui/thumbnails/thumbnail_readiness_tracker_browsertest.cc", |
| "../browser/ui/toolbar/pinned_toolbar/pinned_toolbar_actions_model_browsertest.cc", |
| "../browser/ui/toolbar/toolbar_actions_model_browsertest.cc", |
| "../browser/ui/unload_controller_browsertest.cc", |
| "../browser/ui/update_chrome_dialog_browsertest.cc", |
| "../browser/ui/user_education/show_promo_in_page_browsertest.cc", |
| "../browser/ui/user_education/start_tutorial_in_page_browsertest.cc", |
| "../browser/ui/views/apps/app_info_dialog/app_info_dialog_views_browsertest.cc", |
| "../browser/ui/views/autofill/payments/offer_notification_icon_view_browsertest.cc", |
| "../browser/ui/views/bluetooth_device_credentials_view_browsertest.cc", |
| "../browser/ui/views/bluetooth_device_pair_confirm_view_browsertest.cc", |
| "../browser/ui/views/bookmarks/bookmark_bar_view_browsertest.cc", |
| "../browser/ui/views/bookmarks/bookmark_bar_view_test_helper.h", |
| "../browser/ui/views/bookmarks/saved_tab_groups/saved_tab_group_bar_browsertest.cc", |
| "../browser/ui/views/commerce/shopping_ui_handler_delegate_uitest.cc", |
| "../browser/ui/views/confirm_bubble_views_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/file_system_access/file_system_access_test_utils.cc", |
| "../browser/ui/views/file_system_access/file_system_access_test_utils.h", |
| "../browser/ui/views/hats/hats_browsertest.cc", |
| "../browser/ui/views/incognito_clear_browsing_data_dialog_browsertest.cc", |
| "../browser/ui/views/intent_picker_dialog_browsertest.cc", |
| "../browser/ui/views/privacy_sandbox/privacy_sandbox_dialog_view_browsertest.cc", |
| "../browser/ui/views/profiles/avatar_toolbar_button_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/side_panel/lens/lens_core_tab_side_panel_helper_browsertest.cc", |
| "../browser/ui/views/side_panel/search_companion/companion_live_test.cc", |
| "../browser/ui/views/tab_search_bubble_host_browsertest.cc", |
| "../browser/ui/views/tabs/tab_search_button_browsertest.cc", |
| "../browser/ui/views/tabs/tab_search_container_browsertest.cc", |
| "../browser/ui/views/tabs/tab_strip_browsertest.cc", |
| "../browser/ui/views/toolbar/app_menu_browsertest.cc", |
| "../browser/ui/views/toolbar/chrome_labs/chrome_labs_browsertest.cc", |
| "../browser/ui/views/toolbar/home_button_browsertest.cc", |
| "../browser/ui/views/user_education/browser_user_education_service_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/isolated_web_apps/isolated_web_app_installer_browsertest.cc", |
| "../browser/ui/views/web_apps/isolated_web_apps/isolated_web_app_installer_view_browsertest.cc", |
| "../browser/ui/views/web_apps/protocol_handler_launch_dialog_browsertest.cc", |
| "../browser/ui/views/web_apps/web_app_detailed_install_dialog_browsertest.cc", |
| "../browser/ui/views/web_apps/web_app_diy_install_dialog_browsertest.cc", |
| "../browser/ui/views/web_apps/web_app_tab_strip_browsertest.cc", |
| "../browser/ui/views/web_apps/web_ui_web_app_browsertest.cc", |
| "../browser/ui/views/webauthn/authenticator_dialog_view_browsertest.cc", |
| "../browser/ui/views/webid/account_selection_modal_view_browsertest.cc", |
| "../browser/ui/views/webid/account_selection_view_test_base.cc", |
| "../browser/ui/views/webid/account_selection_view_test_base.h", |
| "../browser/ui/views/webid/fake_delegate.cc", |
| "../browser/ui/views/webid/fake_delegate.h", |
| "../browser/ui/views/webid/fedcm_account_selection_view_desktop_browsertest.cc", |
| "../browser/ui/views/webview_accessibility_browsertest.cc", |
| "../browser/ui/webauthn/authenticator_dialog_browsertest.cc", |
| "../browser/ui/webui/app_service_internals/app_service_internals_browsertest.cc", |
| "../browser/ui/webui/autofill_and_password_manager_internals/autofill_internals_ui_browsertest.cc", |
| "../browser/ui/webui/chrome_content_browser_client_webui_part_browsertest.cc", |
| "../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/commerce/shopping_ui_handler_delegate_browsertest.cc", |
| "../browser/ui/webui/constrained_web_dialog_ui_browsertest.cc", |
| "../browser/ui/webui/extensions/extension_settings_browsertest.cc", |
| "../browser/ui/webui/extensions/extensions_internals_browsertest.cc", |
| "../browser/ui/webui/history_clusters/history_clusters_handler_browsertest.cc", |
| "../browser/ui/webui/interstitials/interstitial_ui_browsertest.cc", |
| "../browser/ui/webui/location_internals/location_internals_ui_browsertest.cc", |
| "../browser/ui/webui/log_web_ui_url_browsertest.cc", |
| "../browser/ui/webui/management/management_ui_browsertest.cc", |
| "../browser/ui/webui/management/management_ui_pwa_browsertest.cc", |
| "../browser/ui/webui/new_tab_page/webui_ntp_browsertest.cc", |
| "../browser/ui/webui/ntp/new_tab_ui_browsertest.cc", |
| "../browser/ui/webui/policy/policy_test_ui_browsertest.cc", |
| "../browser/ui/webui/policy/policy_ui_browsertest.cc", |
| "../browser/ui/webui/prefs_internals_browsertest.cc", |
| "../browser/ui/webui/privacy_sandbox/privacy_sandbox_internals_browsertest.cc", |
| "../browser/ui/webui/privacy_sandbox/privacy_sandbox_internals_handler_browsertest.cc", |
| "../browser/ui/webui/profile_helper_browsertest.cc", |
| "../browser/ui/webui/searchbox/realbox_handler_browsertest.cc", |
| "../browser/ui/webui/settings/settings_secure_dns_handler_browsertest.cc", |
| "../browser/ui/webui/settings/settings_ui_browsertest.cc", |
| "../browser/ui/webui/side_panel/customize_chrome/customize_chrome_browsertest.cc", |
| "../browser/ui/webui/side_panel/read_anything/read_anything_app_browsertest.cc", |
| "../browser/ui/webui/side_panel/read_anything/read_anything_app_e2e_browsertest.cc", |
| "../browser/ui/webui/side_panel/read_anything/read_anything_app_toolbar_browsertest.cc", |
| "../browser/ui/webui/support_tool/support_tool_ui_browsertest.cc", |
| "../browser/ui/webui/tab_search/tab_search_ui_browsertest.cc", |
| "../browser/ui/webui/webui_load_timer_browsertest.cc", |
| "../browser/ui/zoom/zoom_controller_browsertest.cc", |
| "../browser/ukm_worker_browsertest.cc", |
| "../browser/unload_browsertest.cc", |
| "../browser/usb/chrome_usb_browsertest.cc", |
| "../browser/usb/usb_browser_test_utils.cc", |
| "../browser/usb/usb_browser_test_utils.h", |
| "../browser/user_agent/user_agent_browsertest.cc", |
| "../browser/wake_lock/wake_lock_browsertest.cc", |
| "../browser/web_applications/alternative_error_page_override_info_browsertest.cc", |
| "../browser/webauthn/chrome_webauthn_browsertest.cc", |
| "../browser/window_management/screen_details_browsertest.cc", |
| "../browser/window_management/window_management_browsertest.cc", |
| "../browser/window_management/window_management_permission_context_browsertest.cc", |
| "../common/time_format_browsertest.cc", |
| "../renderer/accessibility/ax_tree_distiller_browsertest.cc", |
| "../renderer/accessibility/read_anything_app_controller_browsertest.cc", |
| "../renderer/accessibility/read_anything_app_model_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/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/cart/commerce_hint_agent_browsertest.cc", |
| "../renderer/cart/commerce_hint_agent_renderer_browsertest.cc", |
| "../renderer/chrome_content_renderer_client_browsertest.cc", |
| "../renderer/chrome_content_settings_agent_delegate_browsertest.cc", |
| "../renderer/chrome_render_frame_observer_browsertest.cc", |
| "../renderer/commerce/commerce_web_extractor_browsertest.cc", |
| "../renderer/translate/translate_agent_browsertest.cc", |
| "../renderer/translate/translate_script_browsertest.cc", |
| "base/devtools_listener.cc", |
| "base/devtools_listener.h", |
| "base/devtools_listener_browsertest.cc", |
| "base/in_process_browser_test_browsertest.cc", |
| "base/memory_tracing_browsertest.cc", |
| "base/save_desktop_snapshot_browsertest.cc", |
| "base/test_chrome_web_ui_controller_factory_browsertest.cc", |
| "base/ui_test_utils_browsertest.cc", |
| "base/web_ui_mocha_browser_test_browsertest.cc", |
| "data/webui/mojo/mojo_file_system_access_browsertest.cc", |
| "data/webui/mojo/mojo_js_interface_broker_browsertest.cc", |
| "data/webui/mojo/mojo_web_ui_controller_browsertest.cc", |
| "gpu/webgl_infobar_browsertest.cc", |
| "interaction/interaction_test_util_browser_browsertest.cc", |
| "interaction/interactive_browser_test_browsertest.cc", |
| "interaction/webcontents_interaction_test_util_browsertest.cc", |
| "v8/wasm_trap_handler_browsertest.cc", |
| ] |
| |
| if (is_android) { |
| sources += [ "../browser/dom_distiller/tab_utils_browsertest.cc" ] |
| } |
| |
| if (!is_chrome_for_testing) { |
| sources += [ "../browser/search_engine_choice/search_engine_choice_dialog_browsertest.cc" ] |
| } |
| |
| if (enable_compose) { |
| sources += [ |
| "../browser/compose/compose_dialog_browsertest.cc", |
| "../browser/compose/compose_enabling_browsertest.cc", |
| ] |
| |
| deps += [ |
| "//components/compose/core/browser", |
| "//components/compose/core/browser:features", |
| ] |
| } |
| |
| if (enable_supervised_users) { |
| sources += [ |
| # TODO(b/301587955): Fix placement of supervised_user/e2e test files and their dependencies. |
| "../browser/supervised_user/advanced_content_restrictions_interactive_uitest.cc", |
| "../browser/supervised_user/incognito_mode_interactive_uitest.cc", |
| "../browser/supervised_user/url_filter_interactive_uitest.cc", |
| "supervised_user/family_live_test.cc", |
| "supervised_user/family_live_test.h", |
| "supervised_user/family_member.cc", |
| "supervised_user/family_member.h", |
| "supervised_user/test_state_seeded_observer.cc", |
| "supervised_user/test_state_seeded_observer.h", |
| ] |
| deps += [ |
| "//components/supervised_user/core/browser:fetcher", |
| "//components/supervised_user/test_support", |
| ] |
| if (enable_extensions) { |
| sources += |
| [ "../browser/supervised_user/extensions_interactive_uitest.cc" ] |
| } |
| deps += [ "//components/supervised_user/test_support" ] |
| } |
| |
| if (is_win || is_mac || is_linux || is_chromeos_ash) { |
| sources += [ "../browser/ui/views/device_signals_consent/consent_dialog_browsertest.cc" ] |
| } |
| |
| if (enable_nacl) { |
| sources += [ "../browser/chrome_browser_main_extra_parts_nacl_deprecation_browsertest.cc" ] |
| } |
| |
| if (is_chrome_branded && !is_chromeos) { |
| sources += [ "../browser/ui/views/side_panel/search_companion/companion_page_browsertest.cc" ] |
| } |
| |
| if (is_chrome_branded && !is_android) { |
| sources += [ |
| "../browser/ui/views/promos/ios_promo_password_bubble_browsertest.cc", |
| ] |
| |
| deps += [ "//chrome/browser/promos:utils" ] |
| } |
| |
| if (build_with_tflite_lib) { |
| sources += [ |
| "../browser/optimization_guide/prediction/prediction_manager_browsertest.cc", |
| "../browser/optimization_guide/prediction/prediction_model_store_browsertest.cc", |
| ] |
| } |
| |
| if (is_chrome_for_testing) { |
| sources += [ "../browser/chrome_for_testing/chrome_for_testing_info_bar_browsertest.cc" ] |
| } |
| |
| if (enable_reporting) { |
| sources += [ "../browser/net/reporting_browsertest.cc" ] |
| } |
| |
| if (enable_screen_ai_service) { |
| sources += [ |
| "../browser/accessibility/ax_screen_ai_annotator.cc", |
| "../browser/accessibility/ax_screen_ai_annotator.h", |
| "../browser/accessibility/pdf_ocr_controller_browsertest.cc", |
| "../browser/renderer_context_menu/pdf_ocr_menu_observer_browsertest.cc", |
| "../browser/screen_ai/screen_ai_service_router_browsertest.cc", |
| ] |
| deps += [ |
| "//chrome/browser/screen_ai:screen_ai_install_state", |
| "//chrome/browser/screen_ai:screen_ai_service_router_factory", |
| "//services/screen_ai:test_support", |
| "//services/screen_ai/public/cpp:utilities", |
| "//services/screen_ai/public/mojom", |
| ] |
| |
| if (enable_screen_ai_browsertests) { |
| # Add a data dependency for screen_ai_service_router_browsertest.cc to |
| # notify testing builders that this test needs this library, which will |
| # need to be downloaded from CIPD as defined in //DEPS. |
| data_deps += [ "//third_party/screen-ai:screen_ai" ] |
| } |
| } |
| |
| if (enable_allocation_trace_recorder_integration_tests) { |
| sources += [ "../browser/allocation_recorder_browsertest.cc" ] |
| deps += [ "//components/allocation_recorder/testing" ] |
| } |
| |
| if (!is_chromeos_lacros) { |
| sources += [ |
| # Lacros does not seem to have any actual WebView-based UI to test. |
| "../browser/accessibility/live_translate_controller_browsertest.cc", |
| |
| # These tests also run on Lacros, as part of |
| # lacros_chrome_browsertests below. |
| "../browser/media/webrtc/capture_handle_browsertest.cc", |
| "../browser/media/webrtc/webrtc_getdisplaymedia_browsertest.cc", |
| "../browser/ui/autofill/autofill_context_menu_manager_browsertest.cc", |
| "../browser/ui/views/intent_picker_bubble_view_browsertest.cc", |
| "../browser/ui/views/location_bar/intent_chip_button_browsertest.cc", |
| "../browser/ui/views/tabs/alert_indicator_button_browsertest.cc", |
| "../browser/ui/views/web_apps/web_app_integration_browsertest.cc", |
| ] |
| |
| deps += [ |
| "//chrome/browser/apps/link_capturing:app_service_browser_tests", |
| "//chrome/browser/ui/web_applications:app_service_browser_tests", |
| "//chrome/browser/web_applications:app_service_browser_tests", |
| "//components/live_caption:live_translate", |
| ] |
| if (!is_win || target_cpu != "arm64") { |
| # SODA doesn't support Windows on Arm64, and Lacros delegates rendering |
| # captions to Ash. |
| sources += [ |
| "../browser/accessibility/live_caption/live_caption_controller_browsertest.cc", |
| "../browser/accessibility/live_caption/live_caption_speech_recognition_host_browsertest.cc", |
| "../browser/accessibility/live_caption/live_caption_speech_recognition_host_browsertest.h", |
| ] |
| |
| if (is_win || is_mac || is_linux) { |
| sources += [ "../browser/accessibility/live_caption/live_caption_automatic_language_download_browsertest.cc" ] |
| } |
| } |
| |
| if (enterprise_cloud_content_analysis) { |
| sources += [ |
| # crbug.com/1230268 These tests need to be fixed for Lacros. |
| "../browser/enterprise/connectors/analysis/content_analysis_delegate_browsertest.cc", |
| "../browser/safe_browsing/cloud_content_scanning/cloud_binary_upload_service_browsertest.cc", |
| "../browser/safe_browsing/download_protection/deep_scanning_browsertest.cc", |
| ] |
| deps += [ "../browser/enterprise/connectors/analysis:features" ] |
| } |
| } |
| |
| if (enterprise_watermark) { |
| sources += [ "../browser/enterprise/watermark/watermark_browsertest.cc" ] |
| } |
| |
| if (is_win) { |
| sources += [ |
| "../browser/accessibility/live_caption/live_caption_unavailability_notifier_browsertest.cc", |
| "../browser/ui/views/device_id/pen_id_browsertest_win.cc", |
| "../browser/ui/views/web_apps/web_app_integration_browsertest_win.cc", |
| ] |
| sources -= [ "../browser/ui/views/tabs/tab_search_button_browsertest.cc" ] |
| } |
| |
| if (is_win || is_linux) { |
| sources += [ "../browser/ui/views/web_apps/web_app_integration_browsertest_win_linux.cc" ] |
| } |
| |
| if (is_win || is_linux || is_chromeos_ash) { |
| sources += [ "../browser/ui/views/web_apps/web_app_integration_browsertest_win_linux_cros.cc" ] |
| } |
| |
| if (is_chromeos_ash) { |
| data += [ "//chrome/browser/resources/chromeos/arc_support/i18n_template_no_process.js" ] |
| sources += [ |
| "../browser/accessibility/media_app/ax_media_app_untrusted_handler_browsertest.cc", |
| "../browser/certificate_manager_model_ash_browsertest.cc", |
| "../browser/chromeos/enterprise/cloud_storage/one_drive_pref_observer_browsertest.cc", |
| "../browser/chromeos/extensions/odfs_config_private/odfs_config_private_api_browsertest.cc", |
| "../browser/media/webrtc/capture_policy_utils_browsertest.cc", |
| "../browser/media/webrtc/get_all_screens_media_browsertest.cc", |
| "../browser/sessions/tab_restore_service_browsertest.cc", |
| "../browser/support_tool/signin_data_collector_browsertest.cc", |
| "../browser/ui/views/web_apps/web_app_integration_browsertest_cros.cc", |
| "base/ash/web_ui_browser_test_browsertest.cc", |
| "data/webui/chromeos/async_gen.cc", |
| "data/webui/chromeos/async_gen.h", |
| ] |
| deps += [ |
| "//ash/webui/system_apps/public:system_web_app_type", |
| "//chrome/browser/ash/crosapi:fake_device_ownership_waiter", |
| "//chrome/browser/ash/system_web_apps:browser_tests", |
| "//chrome/browser/ash/system_web_apps/test_support", |
| "//chrome/browser/ash/system_web_apps/test_support:test_support_ui", |
| "//chrome/browser/ash/system_web_apps/types", |
| "//chrome/browser/ui/ash/system_web_apps", |
| "//chrome/test/data/webui/chromeos:web_ui_test_bindings", |
| "//chromeos/ash/components/standalone_browser", |
| "//chromeos/components/kiosk:test_support", |
| ] |
| } |
| |
| if (build_with_tflite_lib) { |
| sources += [ "../browser/navigation_predictor/preloading_model_keyed_service_browsertest.cc" ] |
| data += [ |
| "../browser/navigation_predictor/test/preloading_heuristics.tflite", |
| ] |
| } |
| |
| #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", |
| ] |
| |
| if (enable_click_to_call) { |
| sources += [ "../browser/ui/views/sharing/click_to_call_browsertest.cc" ] |
| } |
| |
| if (enable_pdf) { |
| sources += [ |
| "../browser/pdf/pdf_extension_accessibility_test.cc", |
| "../browser/pdf/pdf_extension_js_test.cc", |
| "../browser/pdf/pdf_extension_test.cc", |
| "../browser/pdf/pdf_find_request_manager_browsertest.cc", |
| "../browser/plugins/pdf_iframe_navigation_throttle_browsertest.cc", |
| ] |
| deps += [ |
| "../browser/pdf", |
| "../browser/pdf:pdf_extension_test_utils", |
| "//components/pdf/browser", |
| "//components/pdf/common:constants", |
| "//pdf:features", |
| "//pdf/loader", |
| ] |
| |
| # Add a data dependency for pdf_extension_accessibility_test.cc to notify |
| # testing builders that this test needs this library, which will need to |
| # be downloaded from CIPD as defined in //DEPS. |
| if (enable_screen_ai_browsertests) { |
| data_deps += [ "//third_party/screen-ai:screen_ai" ] |
| } |
| |
| if (enable_printing) { |
| sources += [ "../browser/pdf/pdf_extension_printing_test.cc" ] |
| |
| # TODO(crbug.com/1414651): All printToPdf tests consistently fail on ChromeOS |
| if (!is_chromeos) { |
| sources += [ |
| "../browser/devtools/protocol/devtools_printtopdf_browsertest.cc", |
| ] |
| deps += [ |
| "//components/headless/test", |
| "//components/printing/browser", |
| "//pdf", |
| ] |
| } |
| } |
| } |
| |
| if (safe_browsing_mode != 0) { |
| deps += [ "//components/safe_browsing/content/common/proto:download_file_types_proto" ] |
| } |
| |
| if (is_linux) { |
| sources += [ |
| "../browser/ozone_platform_browsertest.cc", |
| "../browser/ui/views/frame/desktop_browser_frame_aura_linux_browsertest.cc", |
| ] |
| deps += [ |
| "//ui/linux:linux_ui", |
| "//ui/linux:linux_ui_factory", |
| ] |
| } |
| |
| if (is_linux || is_chromeos) { |
| sources += [ |
| "../browser/error_reporting/webui_js_error_reporting_browsertest.cc", |
| ] |
| deps += [ "//chrome/browser/error_reporting:test_support" ] |
| } |
| |
| if (is_chromeos) { |
| deps += [ |
| "//chrome/browser/chromeos", |
| "//chrome/browser/chromeos:test_support", |
| "//chrome/browser/chromeos/cros_apps:all_browser_tests", |
| "//chrome/browser/web_applications/app_service", |
| "//chrome/browser/web_applications/app_service:test_support", |
| "//chromeos/components/kcer", |
| "//chromeos/constants", |
| "//chromeos/dbus/dlp:dlp", |
| "//chromeos/ui/frame", |
| "//components/account_manager_core:test_support", |
| "//components/file_access:test_support", |
| "//ui/chromeos/styles:cros_tokens_color_mappings", |
| ] |
| sources += [ |
| "../browser/browser_process_platform_part_chromeos_browsertest.cc", |
| "../browser/certificate_provider/test_certificate_provider_extension_mixin.cc", |
| "../browser/certificate_provider/test_certificate_provider_extension_mixin.h", |
| "../browser/chromeos/enterprise/incognito_navigation_throttle_browsertest.cc", |
| "../browser/chromeos/kcer/kcer_factory_nss_browsertest.cc", |
| "../browser/chromeos/policy/default_notifications_setting_browsertest.cc", |
| "../browser/chromeos/policy/dino_easter_egg_browsertest.cc", |
| "../browser/chromeos/policy/dlp/dlp_content_restriction_set_browsertest.cc", |
| "../browser/chromeos/policy/dlp/dlp_content_tab_helper_browsertest.cc", |
| "../browser/chromeos/policy/dlp/dlp_data_transfer_notifier_browsertest.cc", |
| "../browser/chromeos/policy/dlp/dlp_rules_manager_impl_browsertest.cc", |
| "../browser/chromeos/policy/dlp/dlp_scoped_file_access_delegate_browsertest.cc", |
| "../browser/chromeos/video_conference/video_con
|