chromium/ui/base/ime/fuchsia/BUILD.gn

# 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.

assert(is_fuchsia)

component("fuchsia") {
  output_name = "ui_base_ime_fuchsia"

  sources = [
    "input_method_fuchsia.cc",
    "input_method_fuchsia.h",
    "keyboard_client.cc",
    "keyboard_client.h",
    "virtual_keyboard_controller_fuchsia.cc",
    "virtual_keyboard_controller_fuchsia.h",
  ]

  defines = [ "IS_UI_BASE_IME_FUCHSIA_IMPL" ]

  public_deps = [
    "//base",
    "//third_party/abseil-cpp:absl",
    "//third_party/fuchsia-sdk/sdk/fidl/fuchsia.input.virtualkeyboard:fuchsia.input.virtualkeyboard_cpp",
    "//third_party/fuchsia-sdk/sdk/fidl/fuchsia.input.virtualkeyboard:fuchsia.input.virtualkeyboard_cpp_natural_ostream",
    "//third_party/fuchsia-sdk/sdk/fidl/fuchsia.ui.input3:fuchsia.ui.input3_cpp",
    "//third_party/fuchsia-sdk/sdk/pkg/component_incoming_cpp",
    "//third_party/fuchsia-sdk/sdk/pkg/sys_cpp",
    "//ui/base/ime",
    "//ui/events",
  ]

  deps = [ "//ui/events:dom_keycode_converter" ]
}