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',
16 'EVENTS_OZONE_IMPLEMENTATION',
19 'device/device_event.cc',
20 'device/device_event.h',
21 'device/device_event_observer.h',
22 'device/device_manager.cc',
23 'device/device_manager.h',
24 'device/device_manager_manual.cc',
25 'device/device_manager_manual.h',
26 'device/udev/device_manager_udev.cc',
27 'device/udev/device_manager_udev.h',
28 'events_ozone_export.h',
33 ['exclude', '_udev\\.(h|cc)$'],
36 ['use_ozone_evdev==1 and use_udev==1', {
38 '<(DEPTH)/device/udev_linux/udev.gyp:udev_linux',
43 'target_name': 'events_ozone_evdev',
44 'type': '<(component)',
46 '../../../base/base.gyp:base',
47 '../../gfx/gfx.gyp:gfx',
48 '../../ozone/ozone.gyp:ozone_base',
49 '../platform/events_platform.gyp:events_platform',
53 'EVENTS_OZONE_EVDEV_IMPLEMENTATION',
56 'evdev/libgestures_glue/event_reader_libevdev_cros.cc',
57 'evdev/libgestures_glue/event_reader_libevdev_cros.h',
58 'evdev/libgestures_glue/gesture_interpreter_libevdev_cros.cc',
59 'evdev/libgestures_glue/gesture_interpreter_libevdev_cros.h',
60 'evdev/libgestures_glue/gesture_logging.cc',
61 'evdev/libgestures_glue/gesture_logging.h',
62 'evdev/libgestures_glue/gesture_timer_provider.cc',
63 'evdev/libgestures_glue/gesture_timer_provider.h',
64 'evdev/event_converter_evdev.cc',
65 'evdev/event_converter_evdev.h',
66 'evdev/event_device_info.cc',
67 'evdev/event_device_info.h',
68 'evdev/event_factory_evdev.cc',
69 'evdev/event_factory_evdev.h',
70 'evdev/event_modifiers_evdev.cc',
71 'evdev/event_modifiers_evdev.h',
72 'evdev/events_ozone_evdev_export.h',
73 'evdev/key_event_converter_evdev.cc',
74 'evdev/key_event_converter_evdev.h',
75 'evdev/touch_event_converter_evdev.cc',
76 'evdev/touch_event_converter_evdev.h',
79 ['use_ozone_evdev==1 and use_evdev_gestures==1', {
81 '<(DEPTH)/build/linux/system.gyp:libgestures',
82 '<(DEPTH)/build/linux/system.gyp:libevdev-cros',
89 ['exclude', '^evdev/libgestures_glue/'],
92 ['use_ozone_evdev==1', {
93 'defines': ['USE_OZONE_EVDEV=1'],