1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95
|
# 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.
assert(is_chromeos)
static_library("keyboard") {
sources = [
"chrome_keyboard_bounds_observer.cc",
"chrome_keyboard_bounds_observer.h",
"chrome_keyboard_controller_client.cc",
"chrome_keyboard_controller_client.h",
"chrome_keyboard_ui.cc",
"chrome_keyboard_ui.h",
"chrome_keyboard_ui_factory.cc",
"chrome_keyboard_ui_factory.h",
"chrome_keyboard_web_contents.cc",
"chrome_keyboard_web_contents.h",
]
public_deps = [ "//chrome/browser:browser_public_dependencies" ]
deps = [
"//ash",
"//ash/constants",
"//ash/keyboard/ui",
"//ash/public/cpp",
"//chrome/browser/profiles:profile",
"//chrome/common",
"//components/prefs",
"//components/session_manager/core",
"//content/public/browser",
"//extensions/browser",
"//extensions/browser/api/virtual_keyboard_private:virtual_keyboard_delegate",
"//extensions/common",
"//ui/compositor_extra",
"//url",
]
}
source_set("ash_test_support") {
sources = [
"chrome_keyboard_controller_client_test_helper.cc",
"chrome_keyboard_controller_client_test_helper.h",
]
deps = [
":keyboard",
"//ash",
"//chrome/browser/profiles:profile",
]
}
source_set("unit_tests") {
testonly = true
sources = [
"chrome_keyboard_ui_unittest.cc",
"chrome_keyboard_web_contents_unittest.cc",
]
deps = [
":keyboard",
"//base",
"//chrome/test:test_support",
"//content/public/browser",
"//url",
]
}
source_set("browser_tests") {
testonly = true
defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ]
sources = [
"keyboard_controller_browsertest.cc",
"keyboard_end_to_end_browsertest.cc",
]
deps = [
":keyboard",
"//ash",
"//ash/public/cpp",
"//base",
"//chrome/browser/apps/platform_apps",
"//chrome/browser/ash/input_method:test_support",
"//chrome/browser/profiles:profile",
"//chrome/browser/ui",
"//chrome/test:test_support",
"//extensions/browser",
"//extensions/common",
"//ui/events:test_support",
]
}
|