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