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