# Copyright 2019 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)
source_set("ime_types") {
sources = [ "ime_keyset.h" ]
}
source_set("typing_session_manager") {
sources = [
"typing_session_manager.cc",
"typing_session_manager.h",
]
public_deps = [
"//base:base",
"//third_party/abseil-cpp:absl",
]
}
component("ash") {
output_name = "ui_base_ime_ash"
sources = [
"component_extension_ime_manager.cc",
"component_extension_ime_manager.h",
"component_extension_ime_manager_delegate.h",
"extension_ime_util.cc",
"extension_ime_util.h",
"fake_ime_keyboard.cc",
"fake_ime_keyboard.h",
"fake_input_method_delegate.cc",
"fake_input_method_delegate.h",
"ime_assistive_window_handler_interface.h",
"ime_bridge.cc",
"ime_bridge.h",
"ime_bridge_observer.h",
"ime_candidate_window_handler_interface.h",
"ime_keyboard.cc",
"ime_keyboard_impl.cc",
"ime_keyboard_impl.h",
"ime_keymap.cc",
"ime_keymap.h",
"input_method_ash.cc",
"input_method_ash.h",
"input_method_delegate.h",
"input_method_descriptor.cc",
"input_method_descriptor.h",
"input_method_manager.cc",
"input_method_manager.h",
"input_method_ukm.cc",
"input_method_ukm.h",
"input_method_util.cc",
"input_method_util.h",
"text_input_method.h",
"text_input_target.h",
]
defines = [ "IS_UI_BASE_IME_ASH_IMPL" ]
public_deps = [
"//third_party/abseil-cpp:absl",
"//ui/base/ime",
"//url",
]
deps = [
":ime_types",
":typing_session_manager",
"//ash/constants",
"//build:branding_buildflags",
"//chromeos/ash/components/system",
"//chromeos/ash/services/ime/public/mojom",
"//services/metrics/public/cpp:ukm_builders",
"//third_party/icu",
"//ui/base",
"//ui/base",
"//ui/chromeos/strings",
"//ui/events:dom_keycode_converter",
"//ui/ozone:ozone_base",
]
}