1 # Copyright 2015 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
11 # GN version: //ui/base/ime
12 'target_name': 'ui_base_ime',
13 'type': '<(component)',
15 '../../../base/base.gyp:base',
16 '../../../base/base.gyp:base_i18n',
17 '../../../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
18 '../../../skia/skia.gyp:skia',
19 '../../../third_party/icu/icu.gyp:icui18n',
20 '../../../third_party/icu/icu.gyp:icuuc',
21 '../../../url/url.gyp:url_lib',
22 '../../events/events.gyp:dom_keycode_converter',
23 '../../events/events.gyp:events',
24 '../../events/events.gyp:events_base',
25 '../../gfx/gfx.gyp:gfx',
26 '../../gfx/gfx.gyp:gfx_geometry',
27 '../ui_base.gyp:ui_base',
30 'UI_BASE_IME_IMPLEMENTATION',
33 'candidate_window.cc',
35 'chromeos/character_composer.cc',
36 'chromeos/character_composer.h',
37 'chromeos/component_extension_ime_manager.cc',
38 'chromeos/component_extension_ime_manager.h',
39 'chromeos/composition_text_chromeos.cc',
40 'chromeos/composition_text_chromeos.h',
41 'chromeos/extension_ime_util.cc',
42 'chromeos/extension_ime_util.h',
43 'chromeos/fake_ime_keyboard.cc',
44 'chromeos/fake_ime_keyboard.h',
45 'chromeos/fake_input_method_delegate.cc',
46 'chromeos/fake_input_method_delegate.h',
47 'chromeos/ime_bridge.cc',
48 'chromeos/ime_bridge.h',
49 'chromeos/ime_keyboard.cc',
50 'chromeos/ime_keyboard.h',
51 'chromeos/ime_keyboard_ozone.cc',
52 'chromeos/ime_keyboard_ozone.h',
53 'chromeos/ime_keyboard_x11.cc',
54 'chromeos/ime_keyboard_x11.h',
55 'chromeos/ime_keymap.cc',
56 'chromeos/ime_keymap.h',
57 'chromeos/input_method_delegate.h',
58 'chromeos/input_method_descriptor.cc',
59 'chromeos/input_method_descriptor.h',
60 'chromeos/input_method_manager.cc',
61 'chromeos/input_method_manager.h',
62 'chromeos/input_method_whitelist.cc',
63 'chromeos/input_method_whitelist.h',
64 'chromeos/mock_component_extension_ime_manager_delegate.cc',
65 'chromeos/mock_component_extension_ime_manager_delegate.h',
66 'chromeos/mock_ime_candidate_window_handler.cc',
67 'chromeos/mock_ime_candidate_window_handler.h',
68 'chromeos/mock_ime_engine_handler.cc',
69 'chromeos/mock_ime_engine_handler.h',
70 'chromeos/mock_ime_input_context_handler.cc',
71 'chromeos/mock_ime_input_context_handler.h',
72 'composition_text.cc',
74 'composition_text_util_pango.cc',
75 'composition_text_util_pango.h',
76 'composition_underline.h',
80 'input_method_auralinux.cc',
81 'input_method_auralinux.h',
82 'input_method_base.cc',
83 'input_method_base.h',
84 'input_method_chromeos.cc',
85 'input_method_chromeos.h',
86 'input_method_delegate.h',
87 'input_method_factory.cc',
88 'input_method_factory.h',
89 'input_method_initializer.cc',
90 'input_method_initializer.h',
92 'input_method_mac.mm',
93 'input_method_minimal.cc',
94 'input_method_minimal.h',
95 'input_method_observer.h',
96 'input_method_win.cc',
98 'linux/fake_input_method_context.cc',
99 'linux/fake_input_method_context.h',
100 'linux/fake_input_method_context_factory.cc',
101 'linux/fake_input_method_context_factory.h',
102 'linux/linux_input_method_context.h',
103 'linux/linux_input_method_context_factory.cc',
104 'linux/linux_input_method_context_factory.h',
105 'mock_input_method.cc',
106 'mock_input_method.h',
107 'remote_input_method_delegate_win.h',
108 'remote_input_method_win.cc',
109 'remote_input_method_win.h',
110 'text_input_client.cc',
111 'text_input_client.h',
113 'ui_base_ime_export.h',
114 'win/imm32_manager.cc',
115 'win/imm32_manager.h',
116 'win/tsf_input_scope.cc',
117 'win/tsf_input_scope.h',
122 '../../events/ozone/events_ozone.gyp:events_ozone_layout',
123 '../../ozone/ozone.gyp:ozone',
128 '../../../build/linux/system.gyp:pangocairo',
132 # TODO(jschuh): C4267: http://crbug.com/167187 size_t -> int
133 # C4324 is structure was padded due to __declspec(align()), which is
135 'msvs_disabled_warnings': [ 4267, 4324 ],
144 '../../../build/linux/system.gyp:x11',
145 '../../gfx/x/gfx_x11.gyp:gfx_x11',
148 ['toolkit_views==0 and use_aura==0', {
150 'input_method_factory.cc',
151 'input_method_factory.h',
152 'input_method_minimal.cc',
153 'input_method_minimal.h',
158 '../../../chromeos/chromeos.gyp:chromeos',
161 ['use_aura==0 or (desktop_linux==0 and use_ozone==0)', {
163 'input_method_auralinux.cc',
164 'input_method_auralinux.h',
165 'linux/fake_input_method_context.cc',
166 'linux/fake_input_method_context.h',
167 'linux/fake_input_method_context_factory.cc',
168 'linux/fake_input_method_context_factory.h',
169 'linux/linux_input_method_context.h',
170 'linux/linux_input_method_context_factory.cc',
171 'linux/linux_input_method_context_factory.h',
176 'composition_text_util_pango.cc',
177 'composition_text_util_pango.h',