# 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")
import("//build/config/chromeos/ui_mode.gni")
assert(is_chromeos_ash)
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",
]
}
}
source_set("browser_tests") {
testonly = true
defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ]
sources = [
"accelerator_commands_browsertest.cc",
"event_latency_metrics_browsertest.cc",
"feature_discovery_duration_reporter_browsertest.cc",
"float_controller_browsertest.cc",
]
deps = [
"//ash",
"//ash:test_support",
"//ash/public/cpp",
"//ash/webui/system_apps/public:system_web_app_type",
"//base",
"//base/test:test_support",
"//chrome/browser",
"//chrome/browser/ash/login:test_support",
"//chrome/browser/ash/login/test:test_support",
"//chrome/browser/ash/login/ui",
"//chrome/browser/ash/profiles",
"//chrome/browser/profiles:profile",
"//chrome/browser/ui",
"//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/webui/shortcut_customization_ui/backend",
"//base",
"//build:branding_buildflags",
"//chrome/browser/ui",
"//testing/gtest",
]
}