| # Copyright 2024 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/chromeos/crosier_tests.gni") |
| |
| assert(is_chromeos) |
| |
| if (is_chromeos_device) { |
| crosier_tests("integration_tests") { |
| sources = [ "quick_settings_integration_test.cc" ] |
| |
| sources_metadata = [ "quick_settings_integration_test.yaml" ] |
| |
| deps = [ |
| "//ash", |
| "//base/test:test_support", |
| "//chrome/common", |
| "//chrome/test:ash_integration_test_support", |
| "//testing/gtest", |
| "//ui/base/interaction", |
| ] |
| } |
| } |
| |
| source_set("browser_tests") { |
| testonly = true |
| |
| defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ] |
| |
| sources = [ |
| "accelerator_commands_browsertest.cc", |
| "annotator_client_impl_browsertest.cc", |
| "event_latency_metrics_browsertest.cc", |
| "feature_discovery_duration_reporter_browsertest.cc", |
| "first_web_contents_profiler_ash_browsertest.cc", |
| ] |
| |
| deps = [ |
| "//ash", |
| "//ash:test_support", |
| "//ash/public/cpp", |
| "//ash/webui/annotator", |
| "//ash/webui/media_app_ui:buildflags", |
| "//ash/webui/projector_app:buildflags", |
| "//ash/webui/projector_app/public/cpp", |
| "//ash/webui/system_apps/public:system_web_app_type", |
| "//base", |
| "//base/test:test_support", |
| "//chrome/browser", |
| "//chrome/browser/ash/app_restore", |
| "//chrome/browser/ash/app_restore:test_support", |
| "//chrome/browser/ash/login:test_support", |
| "//chrome/browser/ash/login/test:test_support", |
| "//chrome/browser/ash/profiles", |
| "//chrome/browser/profiles:profile", |
| "//chrome/browser/ui", |
| "//chrome/browser/ui/ash/login", |
| "//chrome/common:non_code_constants", |
| "//chrome/test:test_support", |
| "//chrome/test:test_support_ui", |
| "//chrome/test/base/ash/util:test_support", |
| "//chromeos/ui/base", |
| "//components/prefs", |
| "//components/user_manager", |
| "//content/public/browser", |
| "//content/test:test_support", |
| "//extensions/browser", |
| "//ui/aura", |
| "//ui/events:test_support", |
| "//ui/views", |
| "//ui/wm", |
| ] |
| } |
| |
| source_set("unit_tests") { |
| testonly = true |
| |
| sources = [ "accelerator_metadata_unittest.cc" ] |
| |
| deps = [ |
| "//ash:test_support", |
| "//ash/webui/shortcut_customization_ui/backend", |
| "//base", |
| "//build:branding_buildflags", |
| "//chrome/browser/ui", |
| "//testing/gtest", |
| ] |
| } |