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 '../events.gyp:dom4_keycode_converter',
50 '../platform/events_platform.gyp:events_platform',
54 'EVENTS_OZONE_EVDEV_IMPLEMENTATION',
57 'evdev/libgestures_glue/event_reader_libevdev_cros.cc',
58 'evdev/libgestures_glue/event_reader_libevdev_cros.h',
59 'evdev/libgestures_glue/gesture_interpreter_libevdev_cros.cc',
60 'evdev/libgestures_glue/gesture_interpreter_libevdev_cros.h',
61 'evdev/libgestures_glue/gesture_logging.cc',
62 'evdev/libgestures_glue/gesture_logging.h',
63 'evdev/libgestures_glue/gesture_timer_provider.cc',
64 'evdev/libgestures_glue/gesture_timer_provider.h',
65 'evdev/event_converter_evdev.cc',
66 'evdev/event_converter_evdev.h',
67 'evdev/event_device_info.cc',
68 'evdev/event_device_info.h',
69 'evdev/event_factory_evdev.cc',
70 'evdev/event_factory_evdev.h',
71 'evdev/event_modifiers_evdev.cc',
72 'evdev/event_modifiers_evdev.h',
73 'evdev/events_ozone_evdev_export.h',
74 'evdev/key_event_converter_evdev.cc',
75 'evdev/key_event_converter_evdev.h',
76 'evdev/touch_event_converter_evdev.cc',
77 'evdev/touch_event_converter_evdev.h',
80 ['use_ozone_evdev==1 and use_evdev_gestures==1', {
82 '<(DEPTH)/build/linux/system.gyp:libgestures',
83 '<(DEPTH)/build/linux/system.gyp:libevdev-cros',
90 ['exclude', '^evdev/libgestures_glue/'],
93 ['use_ozone_evdev==1', {
94 'defines': ['USE_OZONE_EVDEV=1'],