# Copyright 2021 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/config/chromeos/ui_mode.gni")
assert(is_chromeos_ash, "Non-ChromeOS builds cannot depend on //ash")
static_library("backend") {
sources = [
"accelerator_fetcher.cc",
"accelerator_fetcher.h",
"accessibility_features.cc",
"accessibility_features.h",
"plural_string_handler.cc",
"plural_string_handler.h",
"shortcut_input_provider.cc",
"shortcut_input_provider.h",
]
deps = [
"//ash",
"//ash/webui/common/mojom",
"//base",
"//chromeos/strings/",
"//content/public/browser",
"//ui/base",
"//ui/events/ash",
"//ui/webui",
]
}
source_set("unit_tests") {
testonly = true
sources = [
"accelerator_fetcher_unittest.cc",
"accessibility_features_unittest.cc",
"plural_string_handler_unittest.cc",
"shortcut_input_provider_unittest.cc",
]
deps = [
":backend",
"//ash",
"//ash:test_support",
"//ash/webui/common/mojom",
"//base",
"//base/test:test_support",
"//chromeos/ash/components:test_support",
"//chromeos/strings/",
"//content/test:test_support",
"//testing/gtest",
"//ui/events/ash:ash",
"//ui/events/devices:test_support",
"//ui/webui",
]
}