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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
|
# Copyright 2014 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.
{
'variables': {
'chromium_code': 1,
},
'targets': [{
'target_name': 'events_ozone',
'type': '<(component)',
'dependencies': [
'../../../base/base.gyp:base',
'../../../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
],
'defines': [
'EVENTS_OZONE_IMPLEMENTATION',
],
'sources': [
'chromeos/cursor_controller.cc',
'chromeos/cursor_controller.h',
'device/device_event.cc',
'device/device_event.h',
'device/device_event_observer.h',
'device/device_manager.cc',
'device/device_manager.h',
'device/device_manager_manual.cc',
'device/device_manager_manual.h',
'device/udev/device_manager_udev.cc',
'device/udev/device_manager_udev.h',
'events_ozone_export.h',
],
'conditions': [
['use_udev==0', {
'sources/': [
['exclude', '_udev\\.(h|cc)$'],
],
}],
['use_ozone_evdev==1 and use_udev==1', {
'dependencies': [
'<(DEPTH)/device/udev_linux/udev.gyp:udev_linux',
],
}],
],
}, {
'target_name': 'events_ozone_evdev',
'type': '<(component)',
'dependencies': [
'../../../base/base.gyp:base',
'../../gfx/gfx.gyp:gfx',
'../../ozone/ozone.gyp:ozone_base',
'../devices/events_devices.gyp:events_devices',
'../events.gyp:dom_keycode_converter',
'../events.gyp:events',
'../events.gyp:events_base',
'../platform/events_platform.gyp:events_platform',
'events_ozone',
'events_ozone_layout',
],
'defines': [
'EVENTS_OZONE_EVDEV_IMPLEMENTATION',
'USE_EVDEV',
],
'direct_dependent_settings': {
'defines': [
'USE_EVDEV',
],
},
'sources': [
'evdev/device_event_dispatcher_evdev.cc',
'evdev/device_event_dispatcher_evdev.h',
'evdev/event_converter_evdev.cc',
'evdev/event_converter_evdev.h',
'evdev/event_converter_evdev_impl.cc',
'evdev/event_converter_evdev_impl.h',
'evdev/event_device_info.cc',
'evdev/event_device_info.h',
'evdev/event_factory_evdev.cc',
'evdev/event_factory_evdev.h',
'evdev/event_modifiers_evdev.cc',
'evdev/event_modifiers_evdev.h',
'evdev/event_thread_evdev.cc',
'evdev/event_thread_evdev.h',
'evdev/events_ozone_evdev_export.h',
'evdev/input_controller_evdev.cc',
'evdev/input_controller_evdev.h',
'evdev/input_device_factory_evdev.cc',
'evdev/input_device_factory_evdev.h',
'evdev/input_device_factory_evdev_proxy.cc',
'evdev/input_device_factory_evdev_proxy.h',
'evdev/input_device_settings_evdev.cc',
'evdev/input_device_settings_evdev.h',
'evdev/input_injector_evdev.cc',
'evdev/input_injector_evdev.h',
'evdev/keyboard_evdev.cc',
'evdev/keyboard_evdev.h',
'evdev/keyboard_util_evdev.cc',
'evdev/keyboard_util_evdev.h',
'evdev/libgestures_glue/event_reader_libevdev_cros.cc',
'evdev/libgestures_glue/event_reader_libevdev_cros.h',
'evdev/libgestures_glue/gesture_interpreter_libevdev_cros.cc',
'evdev/libgestures_glue/gesture_interpreter_libevdev_cros.h',
'evdev/libgestures_glue/gesture_feedback.cc',
'evdev/libgestures_glue/gesture_feedback.h',
'evdev/libgestures_glue/gesture_logging.cc',
'evdev/libgestures_glue/gesture_logging.h',
'evdev/libgestures_glue/gesture_property_provider.cc',
'evdev/libgestures_glue/gesture_property_provider.h',
'evdev/libgestures_glue/gesture_timer_provider.cc',
'evdev/libgestures_glue/gesture_timer_provider.h',
'evdev/mouse_button_map_evdev.cc',
'evdev/mouse_button_map_evdev.h',
'evdev/tablet_event_converter_evdev.cc',
'evdev/tablet_event_converter_evdev.h',
'evdev/touch_evdev_types.cc',
'evdev/touch_evdev_types.h',
'evdev/touch_evdev_debug_buffer.h',
'evdev/touch_evdev_debug_buffer.cc',
'evdev/touch_event_converter_evdev.cc',
'evdev/touch_event_converter_evdev.h',
'evdev/touch_noise/far_apart_taps_touch_noise_filter.cc',
'evdev/touch_noise/far_apart_taps_touch_noise_filter.h',
'evdev/touch_noise/horizontally_aligned_touch_noise_filter.cc',
'evdev/touch_noise/horizontally_aligned_touch_noise_filter.h',
'evdev/touch_noise/single_position_touch_noise_filter.cc',
'evdev/touch_noise/single_position_touch_noise_filter.h',
'evdev/touch_noise/touch_noise_filter.h',
'evdev/touch_noise/touch_noise_finder.cc',
'evdev/touch_noise/touch_noise_finder.h',
],
'conditions': [
['use_ozone_evdev==1 and use_evdev_gestures==1', {
'dependencies': [
'<(DEPTH)/build/linux/system.gyp:libgestures',
'<(DEPTH)/build/linux/system.gyp:libevdev-cros',
],
'defines': [
'USE_EVDEV_GESTURES',
],
'direct_dependent_settings': {
'defines': [
'USE_EVDEV_GESTURES',
],
},
}, {
'sources/': [
['exclude', '^evdev/libgestures_glue/'],
],
}],
['use_ozone_evdev==1', {
'defines': ['USE_OZONE_EVDEV=1'],
}],
],
}, {
'target_name': 'events_ozone_layout',
'type': '<(component)',
'dependencies': [
'../../../base/base.gyp:base',
'../events.gyp:dom_keycode_converter',
'../events.gyp:events_base',
],
'defines': [
'EVENTS_OZONE_LAYOUT_IMPLEMENTATION',
],
'sources': [
'layout/events_ozone_layout_export.h',
'layout/keyboard_layout_engine.h',
'layout/keyboard_layout_engine_manager.cc',
'layout/keyboard_layout_engine_manager.h',
'layout/layout_util.cc',
'layout/layout_util.h',
'layout/no/no_keyboard_layout_engine.cc',
'layout/no/no_keyboard_layout_engine.h',
'layout/stub/stub_keyboard_layout_engine.cc',
'layout/stub/stub_keyboard_layout_engine.h',
],
'conditions': [
['use_xkbcommon==1', {
'dependencies': [
'../../../build/linux/system.gyp:xkbcommon',
],
'defines': [
'USE_XKBCOMMON',
],
'direct_dependent_settings': {
'defines': [
'USE_XKBCOMMON',
],
},
'sources': [
'layout/xkb/scoped_xkb.h',
'layout/xkb/xkb.h',
'layout/xkb/xkb_evdev_codes.cc',
'layout/xkb/xkb_evdev_codes.h',
'layout/xkb/xkb_key_code_converter.h',
'layout/xkb/xkb_keyboard_layout_engine.cc',
'layout/xkb/xkb_keyboard_layout_engine.h',
'layout/xkb/xkb_keysym.h',
],
}],
],
}]
}
|