OLD | NEW |
| (Empty) |
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. | |
4 | |
5 { | |
6 'variables': { | |
7 'chromium_code': 1, | |
8 }, | |
9 'targets': [ | |
10 { | |
11 # GN version: //ui/base/ime:text_input_types | |
12 'target_name': 'text_input_types', | |
13 'type': 'none', | |
14 'sources' : [ | |
15 'text_input_flags.h', | |
16 'text_input_mode.h', | |
17 'text_input_type.h', | |
18 ], | |
19 }, | |
20 { | |
21 # GN version: //ui/base/ime | |
22 'target_name': 'ui_base_ime', | |
23 'type': '<(component)', | |
24 'dependencies': [ | |
25 '../../../base/base.gyp:base', | |
26 '../../../base/base.gyp:base_i18n', | |
27 '../../../base/third_party/dynamic_annotations/dynamic_annotations.gyp:d
ynamic_annotations', | |
28 '../../../skia/skia.gyp:skia', | |
29 '../../../third_party/icu/icu.gyp:icui18n', | |
30 '../../../third_party/icu/icu.gyp:icuuc', | |
31 '../../../url/url.gyp:url_lib', | |
32 '../../display/display.gyp:display', | |
33 '../../events/events.gyp:dom_keycode_converter', | |
34 '../../events/events.gyp:events', | |
35 '../../events/events.gyp:events_base', | |
36 '../../gfx/gfx.gyp:gfx', | |
37 '../../gfx/gfx.gyp:gfx_geometry', | |
38 '../../gfx/gfx.gyp:gfx_range', | |
39 '../ui_base.gyp:ui_base', | |
40 ':text_input_types', | |
41 ], | |
42 'defines': [ | |
43 'UI_BASE_IME_IMPLEMENTATION', | |
44 ], | |
45 'sources' : [ | |
46 'candidate_window.cc', | |
47 'candidate_window.h', | |
48 'chromeos/character_composer.cc', | |
49 'chromeos/character_composer.h', | |
50 'chromeos/component_extension_ime_manager.cc', | |
51 'chromeos/component_extension_ime_manager.h', | |
52 'chromeos/extension_ime_util.cc', | |
53 'chromeos/extension_ime_util.h', | |
54 'chromeos/fake_ime_keyboard.cc', | |
55 'chromeos/fake_ime_keyboard.h', | |
56 'chromeos/fake_input_method_delegate.cc', | |
57 'chromeos/fake_input_method_delegate.h', | |
58 'chromeos/ime_candidate_window_handler_interface.h', | |
59 'chromeos/ime_keyboard.cc', | |
60 'chromeos/ime_keyboard.h', | |
61 'chromeos/ime_keyboard_ozone.cc', | |
62 'chromeos/ime_keyboard_ozone.h', | |
63 'chromeos/ime_keyboard_x11.cc', | |
64 'chromeos/ime_keyboard_x11.h', | |
65 'chromeos/ime_keymap.cc', | |
66 'chromeos/ime_keymap.h', | |
67 'chromeos/input_method_delegate.h', | |
68 'chromeos/input_method_descriptor.cc', | |
69 'chromeos/input_method_descriptor.h', | |
70 'chromeos/input_method_manager.cc', | |
71 'chromeos/input_method_manager.h', | |
72 'chromeos/mock_component_extension_ime_manager_delegate.cc', | |
73 'chromeos/mock_component_extension_ime_manager_delegate.h', | |
74 'chromeos/mock_ime_candidate_window_handler.cc', | |
75 'chromeos/mock_ime_candidate_window_handler.h', | |
76 'chromeos/mock_ime_engine_handler.cc', | |
77 'chromeos/mock_ime_engine_handler.h', | |
78 'composition_text.cc', | |
79 'composition_text.h', | |
80 'composition_text_util_pango.cc', | |
81 'composition_text_util_pango.h', | |
82 'composition_underline.h', | |
83 'ime_bridge.cc', | |
84 'ime_bridge.h', | |
85 'ime_engine_handler_interface.h', | |
86 'ime_input_context_handler_interface.h', | |
87 'infolist_entry.cc', | |
88 'infolist_entry.h', | |
89 'input_method.h', | |
90 'input_method_auralinux.cc', | |
91 'input_method_auralinux.h', | |
92 'input_method_base.cc', | |
93 'input_method_base.h', | |
94 'input_method_chromeos.cc', | |
95 'input_method_chromeos.h', | |
96 'input_method_delegate.h', | |
97 'input_method_factory.cc', | |
98 'input_method_factory.h', | |
99 'input_method_initializer.cc', | |
100 'input_method_initializer.h', | |
101 'input_method_mac.h', | |
102 'input_method_mac.mm', | |
103 'input_method_minimal.cc', | |
104 'input_method_minimal.h', | |
105 'input_method_observer.h', | |
106 'input_method_win.cc', | |
107 'input_method_win.h', | |
108 'linux/fake_input_method_context.cc', | |
109 'linux/fake_input_method_context.h', | |
110 'linux/fake_input_method_context_factory.cc', | |
111 'linux/fake_input_method_context_factory.h', | |
112 'linux/linux_input_method_context.h', | |
113 'linux/linux_input_method_context_factory.cc', | |
114 'linux/linux_input_method_context_factory.h', | |
115 'linux/text_edit_command_auralinux.cc', | |
116 'linux/text_edit_command_auralinux.h', | |
117 'linux/text_edit_key_bindings_delegate_auralinux.cc', | |
118 'linux/text_edit_key_bindings_delegate_auralinux.h', | |
119 'mock_ime_input_context_handler.cc', | |
120 'mock_ime_input_context_handler.h', | |
121 'mock_input_method.cc', | |
122 'mock_input_method.h', | |
123 'text_edit_commands.h', | |
124 'text_input_client.cc', | |
125 'text_input_client.h', | |
126 'ui_base_ime_export.h', | |
127 'win/imm32_manager.cc', | |
128 'win/imm32_manager.h', | |
129 'win/tsf_input_scope.cc', | |
130 'win/tsf_input_scope.h', | |
131 ], | |
132 'conditions': [ | |
133 ['use_ozone==1', { | |
134 'dependencies': [ | |
135 '../../events/ozone/events_ozone.gyp:events_ozone_layout', | |
136 '../../ozone/ozone.gyp:ozone', | |
137 ], | |
138 }], | |
139 ['use_pango==1', { | |
140 'dependencies': [ | |
141 '../../../build/linux/system.gyp:pangocairo', | |
142 ], | |
143 }], | |
144 ['OS=="win"', { | |
145 # TODO(jschuh): C4267: http://crbug.com/167187 size_t -> int | |
146 # C4324 is structure was padded due to __declspec(align()), which is | |
147 # uninteresting. | |
148 'msvs_disabled_warnings': [ 4267, 4324 ], | |
149 'link_settings': { | |
150 'libraries': [ | |
151 '-limm32.lib', | |
152 ], | |
153 }, | |
154 }], | |
155 ['use_x11==1', { | |
156 'dependencies': [ | |
157 '../../../build/linux/system.gyp:x11', | |
158 '../../gfx/x/gfx_x11.gyp:gfx_x11', | |
159 ], | |
160 }], | |
161 ['toolkit_views==0 and use_aura==0', { | |
162 'sources!': [ | |
163 'input_method_factory.cc', | |
164 'input_method_factory.h', | |
165 'input_method_minimal.cc', | |
166 'input_method_minimal.h', | |
167 ], | |
168 }], | |
169 ['chromeos==1', { | |
170 'dependencies': [ | |
171 '../../../chromeos/chromeos.gyp:chromeos', | |
172 ], | |
173 'sources!': [ | |
174 'linux/text_edit_command_auralinux.cc', | |
175 'linux/text_edit_command_auralinux.h', | |
176 'linux/text_edit_key_bindings_delegate_auralinux.cc', | |
177 'linux/text_edit_key_bindings_delegate_auralinux.h', | |
178 ], | |
179 }], | |
180 ['use_aura==0 or (desktop_linux==0 and use_ozone==0)', { | |
181 'sources!': [ | |
182 'input_method_auralinux.cc', | |
183 'input_method_auralinux.h', | |
184 'linux/fake_input_method_context.cc', | |
185 'linux/fake_input_method_context.h', | |
186 'linux/fake_input_method_context_factory.cc', | |
187 'linux/fake_input_method_context_factory.h', | |
188 'linux/linux_input_method_context.h', | |
189 'linux/linux_input_method_context_factory.cc', | |
190 'linux/linux_input_method_context_factory.h', | |
191 ], | |
192 }], | |
193 ['use_x11==0', { | |
194 'sources!': [ | |
195 'composition_text_util_pango.cc', | |
196 'composition_text_util_pango.h', | |
197 ], | |
198 }], | |
199 ], | |
200 }, | |
201 ], | |
202 } | |
OLD | NEW |