Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(30)

Side by Side Diff: ui/events/ozone/BUILD.gn

Issue 851853002: It is time. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Trying to reup because the last upload failed. Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ui/events/linux/text_edit_key_bindings_delegate_auralinux.cc ('k') | ui/events/ozone/DEPS » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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.
4
5 import("//build/config/features.gni")
6 import("//build/config/ui.gni")
7
8 component("events_ozone") {
9 sources = [
10 "device/device_event.cc",
11 "device/device_event.h",
12 "device/device_event_observer.h",
13 "device/device_manager.cc",
14 "device/device_manager.h",
15 "device/device_manager_manual.cc",
16 "device/device_manager_manual.h",
17 "device/udev/device_manager_udev.cc",
18 "device/udev/device_manager_udev.h",
19 "events_ozone_export.h",
20 ]
21
22 deps = [
23 "//base",
24 ]
25
26 defines = [ "EVENTS_OZONE_IMPLEMENTATION" ]
27
28 if (!use_udev) {
29 sources -= [
30 "device/udev/device_manager_udev.cc",
31 "device/udev/device_manager_udev.h",
32 ]
33 }
34
35 if (use_ozone_evdev && use_udev) {
36 deps += [ "//device/udev_linux" ]
37 }
38 }
39
40 component("events_ozone_evdev") {
41 sources = [
42 "evdev/event_converter_evdev.cc",
43 "evdev/event_converter_evdev.h",
44 "evdev/event_device_info.cc",
45 "evdev/event_device_info.h",
46 "evdev/event_factory_evdev.cc",
47 "evdev/event_factory_evdev.h",
48 "evdev/event_modifiers_evdev.cc",
49 "evdev/event_modifiers_evdev.h",
50 "evdev/events_ozone_evdev_export.h",
51 "evdev/key_event_converter_evdev.cc",
52 "evdev/key_event_converter_evdev.h",
53 "evdev/touch_event_converter_evdev.cc",
54 "evdev/touch_event_converter_evdev.h",
55 ]
56
57 defines = [ "EVENTS_OZONE_EVDEV_IMPLEMENTATION" ]
58
59 deps = [
60 ":events_ozone",
61 "//base",
62 "//ui/events/platform",
63 "//ui/gfx",
64 ]
65
66 if (use_ozone_evdev) {
67 defines += [ "USE_OZONE_EVDEV=1" ]
68 }
69
70 if (use_ozone_evdev && use_evdev_gestures) {
71 sources += [
72 "evdev/libgestures_glue/event_reader_libevdev_cros.cc",
73 "evdev/libgestures_glue/event_reader_libevdev_cros.h",
74 "evdev/libgestures_glue/gesture_interpreter_libevdev_cros.cc",
75 "evdev/libgestures_glue/gesture_interpreter_libevdev_cros.h",
76 "evdev/libgestures_glue/gesture_logging.cc",
77 "evdev/libgestures_glue/gesture_logging.h",
78 "evdev/libgestures_glue/gesture_timer_provider.cc",
79 "evdev/libgestures_glue/gesture_timer_provider.h",
80 ]
81
82 defines += [ "USE_EVDEV_GESTURES" ]
83
84 configs += [
85 "//build/config/linux:libevdev-cros",
86 "//build/config/linux:libgestures",
87 ]
88 }
89 }
OLDNEW
« no previous file with comments | « ui/events/linux/text_edit_key_bindings_delegate_auralinux.cc ('k') | ui/events/ozone/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698