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
|
# Copyright 2018 The Chromium Authors. All rights reserved.
# 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")
import("//build/config/linux/pangocairo/pangocairo.gni")
assert(is_linux || is_chromeos_lacros)
component("linux") {
output_name = "ui_base_ime_linux"
sources = [
"fake_input_method_context.cc",
"fake_input_method_context.h",
"fake_input_method_context_factory.cc",
"fake_input_method_context_factory.h",
"input_method_auralinux.cc",
"input_method_auralinux.h",
"linux_input_method_context.h",
"linux_input_method_context_factory.cc",
"linux_input_method_context_factory.h",
"text_edit_command_auralinux.cc",
"text_edit_command_auralinux.h",
"text_edit_key_bindings_delegate_auralinux.cc",
"text_edit_key_bindings_delegate_auralinux.h",
]
defines = [ "IS_UI_BASE_IME_LINUX_IMPL" ]
public_deps = [ "//ui/base/ime" ]
if (use_pangocairo) {
configs += [ "//build/config/linux/pangocairo" ]
sources += [
"composition_text_util_pango.cc",
"composition_text_util_pango.h",
]
}
# TODO(crbug.com/1199385): Remove this on unifying lacros and linux desktop
# behavior again.
deps = [ "//build:chromeos_buildflags" ]
}
|