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.
10 'target_name': 'events_ozone',
11 'type': '<(component)',
13 '../../../base/base.gyp:base',
14 '../../../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
17 'EVENTS_OZONE_IMPLEMENTATION',
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',
36 ['exclude', '_udev\\.(h|cc)$'],
39 ['use_ozone_evdev==1 and use_udev==1', {
41 '<(DEPTH)/device/udev_linux/udev.gyp:udev_linux',
46 'target_name': 'events_ozone_evdev',
47 'type': '<(component)',
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',
58 'events_ozone_layout',
61 'EVENTS_OZONE_EVDEV_IMPLEMENTATION',
64 'direct_dependent_settings': {
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_logging.cc',
104 'evdev/libgestures_glue/gesture_logging.h',
105 'evdev/libgestures_glue/gesture_property_provider.cc',
106 'evdev/libgestures_glue/gesture_property_provider.h',
107 'evdev/libgestures_glue/gesture_timer_provider.cc',
108 'evdev/libgestures_glue/gesture_timer_provider.h',
109 'evdev/mouse_button_map_evdev.cc',
110 'evdev/mouse_button_map_evdev.h',
111 'evdev/tablet_event_converter_evdev.cc',
112 'evdev/tablet_event_converter_evdev.h',
113 'evdev/touch_event_converter_evdev.cc',
114 'evdev/touch_event_converter_evdev.h',
117 ['use_ozone_evdev==1 and use_evdev_gestures==1', {
119 '<(DEPTH)/build/linux/system.gyp:libgestures',
120 '<(DEPTH)/build/linux/system.gyp:libevdev-cros',
123 'USE_EVDEV_GESTURES',
125 'direct_dependent_settings': {
127 'USE_EVDEV_GESTURES',
132 ['exclude', '^evdev/libgestures_glue/'],
135 ['use_ozone_evdev==1', {
136 'defines': ['USE_OZONE_EVDEV=1'],
140 'target_name': 'events_ozone_layout',
141 'type': '<(component)',
143 '../../../base/base.gyp:base',
144 '../events.gyp:dom4_keycode_converter',
145 '../events.gyp:events_base',
148 'EVENTS_OZONE_LAYOUT_IMPLEMENTATION',
151 'layout/events_ozone_layout_export.h',
152 'layout/keyboard_layout_engine.h',
153 'layout/keyboard_layout_engine_manager.cc',
154 'layout/keyboard_layout_engine_manager.h',
155 'layout/layout_util.cc',
156 'layout/layout_util.h',
157 'layout/no/no_keyboard_layout_engine.cc',
158 'layout/no/no_keyboard_layout_engine.h',
159 'layout/stub/stub_keyboard_layout_engine.cc',
160 'layout/stub/stub_keyboard_layout_engine.h',
163 ['use_xkbcommon==1', {
165 '../../../build/linux/system.gyp:xkbcommon',
170 'direct_dependent_settings': {
176 'layout/xkb/scoped_xkb.h',
178 'layout/xkb/xkb_evdev_codes.cc',
179 'layout/xkb/xkb_evdev_codes.h',
180 'layout/xkb/xkb_key_code_converter.h',
181 'layout/xkb/xkb_keyboard_code_conversion.cc',
182 'layout/xkb/xkb_keyboard_code_conversion.h',
183 'layout/xkb/xkb_keyboard_layout_engine.cc',
184 'layout/xkb/xkb_keyboard_layout_engine.h',
185 'layout/xkb/xkb_keysym.h',