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 '../platform/events_platform.gyp:events_platform',
56 'events_ozone_layout',
59 'EVENTS_OZONE_EVDEV_IMPLEMENTATION',
62 'direct_dependent_settings': {
68 'evdev/libgestures_glue/event_reader_libevdev_cros.cc',
69 'evdev/libgestures_glue/event_reader_libevdev_cros.h',
70 'evdev/libgestures_glue/gesture_interpreter_libevdev_cros.cc',
71 'evdev/libgestures_glue/gesture_interpreter_libevdev_cros.h',
72 'evdev/libgestures_glue/gesture_logging.cc',
73 'evdev/libgestures_glue/gesture_logging.h',
74 'evdev/libgestures_glue/gesture_property_provider.cc',
75 'evdev/libgestures_glue/gesture_property_provider.h',
76 'evdev/libgestures_glue/gesture_timer_provider.cc',
77 'evdev/libgestures_glue/gesture_timer_provider.h',
78 'evdev/event_converter_evdev.cc',
79 'evdev/event_converter_evdev.h',
80 'evdev/event_converter_evdev_impl.cc',
81 'evdev/event_converter_evdev_impl.h',
82 'evdev/event_device_info.cc',
83 'evdev/event_device_info.h',
84 'evdev/event_factory_evdev.cc',
85 'evdev/event_factory_evdev.h',
86 'evdev/event_modifiers_evdev.cc',
87 'evdev/event_modifiers_evdev.h',
88 'evdev/events_ozone_evdev_export.h',
89 'evdev/input_controller_evdev.cc',
90 'evdev/input_controller_evdev.h',
91 'evdev/input_injector_evdev.cc',
92 'evdev/input_injector_evdev.h',
93 'evdev/keyboard_evdev.cc',
94 'evdev/keyboard_evdev.h',
95 'evdev/mouse_button_map_evdev.cc',
96 'evdev/mouse_button_map_evdev.h',
97 'evdev/tablet_event_converter_evdev.cc',
98 'evdev/tablet_event_converter_evdev.h',
99 'evdev/touch_event_converter_evdev.cc',
100 'evdev/touch_event_converter_evdev.h',
103 ['use_ozone_evdev==1 and use_evdev_gestures==1', {
105 '<(DEPTH)/build/linux/system.gyp:libgestures',
106 '<(DEPTH)/build/linux/system.gyp:libevdev-cros',
109 'USE_EVDEV_GESTURES',
111 'direct_dependent_settings': {
113 'USE_EVDEV_GESTURES',
118 ['exclude', '^evdev/libgestures_glue/'],
121 ['use_ozone_evdev==1', {
122 'defines': ['USE_OZONE_EVDEV=1'],
126 'target_name': 'events_ozone_layout',
127 'type': '<(component)',
129 '../../../base/base.gyp:base',
130 '../events.gyp:dom4_keycode_converter',
131 '../events.gyp:events_base',
134 'EVENTS_OZONE_LAYOUT_IMPLEMENTATION',
137 'layout/events_ozone_layout_export.h',
138 'layout/keyboard_layout_engine.h',
139 'layout/keyboard_layout_engine_manager.cc',
140 'layout/keyboard_layout_engine_manager.h',
141 'layout/layout_util.cc',
142 'layout/layout_util.h',
143 'layout/no/no_keyboard_layout_engine.cc',
144 'layout/no/no_keyboard_layout_engine.h',
145 'layout/stub/stub_keyboard_layout_engine.cc',
146 'layout/stub/stub_keyboard_layout_engine.h',
149 ['use_xkbcommon==1', {
151 '../../../build/linux/system.gyp:xkbcommon',
156 'direct_dependent_settings': {
163 'layout/xkb/xkb_evdev_codes.cc',
164 'layout/xkb/xkb_evdev_codes.h',
165 'layout/xkb/xkb_key_code_converter.h',
166 'layout/xkb/xkb_keyboard_code_conversion.cc',
167 'layout/xkb/xkb_keyboard_code_conversion.h',
168 'layout/xkb/xkb_keyboard_layout_engine.cc',
169 'layout/xkb/xkb_keyboard_layout_engine.h',
170 'layout/xkb/xkb_keysym.h',
171 'layout/xkb/scoped_xkb.h',