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

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

Issue 704363002: XXX test gn format everything (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 6 years 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/ipc/BUILD.gn ('k') | ui/events/platform/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 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 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//build/config/features.gni") 5 import("//build/config/features.gni")
6 import("//build/config/ui.gni") 6 import("//build/config/ui.gni")
7 7
8 component("events_ozone") { 8 component("events_ozone") {
9 sources = [ 9 sources = [
10 "chromeos/cursor_controller.cc", 10 "chromeos/cursor_controller.cc",
11 "chromeos/cursor_controller.h", 11 "chromeos/cursor_controller.h",
12 "device/device_event.cc", 12 "device/device_event.cc",
13 "device/device_event.h", 13 "device/device_event.h",
14 "device/device_event_observer.h", 14 "device/device_event_observer.h",
15 "device/device_manager.cc", 15 "device/device_manager.cc",
16 "device/device_manager.h", 16 "device/device_manager.h",
17 "device/device_manager_manual.cc", 17 "device/device_manager_manual.cc",
18 "device/device_manager_manual.h", 18 "device/device_manager_manual.h",
19 "device/udev/device_manager_udev.cc", 19 "device/udev/device_manager_udev.cc",
20 "device/udev/device_manager_udev.h", 20 "device/udev/device_manager_udev.h",
21 "events_ozone_export.h", 21 "events_ozone_export.h",
22 ] 22 ]
23 23
24 deps = [ 24 deps = [
25 "//base", 25 "//base",
26 "//base/third_party/dynamic_annotations", 26 "//base/third_party/dynamic_annotations",
27 ] 27 ]
28 28
29 defines = [ 29 defines = [ "EVENTS_OZONE_IMPLEMENTATION" ]
30 "EVENTS_OZONE_IMPLEMENTATION",
31 ]
32 30
33 if (!use_udev) { 31 if (!use_udev) {
34 sources -= [ 32 sources -= [
35 "device/udev/device_manager_udev.cc", 33 "device/udev/device_manager_udev.cc",
36 "device/udev/device_manager_udev.h", 34 "device/udev/device_manager_udev.h",
37 ] 35 ]
38 } 36 }
39 37
40 if (use_ozone_evdev && use_udev) { 38 if (use_ozone_evdev && use_udev) {
41 deps += [ 39 deps += [ "//device/udev_linux" ]
42 "//device/udev_linux",
43 ]
44 } 40 }
45 } 41 }
46 42
47 config("evdev_gestures") { 43 config("evdev_gestures") {
48 defines = [ 44 defines = [ "USE_EVDEV_GESTURES" ]
49 "USE_EVDEV_GESTURES"
50 ]
51 } 45 }
52 46
53 component("events_ozone_evdev") { 47 component("events_ozone_evdev") {
54 sources = [ 48 sources = [
55 "evdev/event_converter_evdev.cc", 49 "evdev/event_converter_evdev.cc",
56 "evdev/event_converter_evdev.h", 50 "evdev/event_converter_evdev.h",
57 "evdev/event_converter_evdev_impl.cc", 51 "evdev/event_converter_evdev_impl.cc",
58 "evdev/event_converter_evdev_impl.h", 52 "evdev/event_converter_evdev_impl.h",
59 "evdev/event_device_info.cc", 53 "evdev/event_device_info.cc",
60 "evdev/event_device_info.h", 54 "evdev/event_device_info.h",
61 "evdev/event_factory_evdev.cc", 55 "evdev/event_factory_evdev.cc",
62 "evdev/event_factory_evdev.h", 56 "evdev/event_factory_evdev.h",
63 "evdev/event_modifiers_evdev.cc", 57 "evdev/event_modifiers_evdev.cc",
64 "evdev/event_modifiers_evdev.h", 58 "evdev/event_modifiers_evdev.h",
65 "evdev/events_ozone_evdev_export.h", 59 "evdev/events_ozone_evdev_export.h",
66 "evdev/input_injector_evdev.cc", 60 "evdev/input_injector_evdev.cc",
67 "evdev/input_injector_evdev.h", 61 "evdev/input_injector_evdev.h",
68 "evdev/keyboard_evdev.cc", 62 "evdev/keyboard_evdev.cc",
69 "evdev/keyboard_evdev.h", 63 "evdev/keyboard_evdev.h",
70 "evdev/tablet_event_converter_evdev.cc", 64 "evdev/tablet_event_converter_evdev.cc",
71 "evdev/tablet_event_converter_evdev.h", 65 "evdev/tablet_event_converter_evdev.h",
72 "evdev/touch_event_converter_evdev.cc", 66 "evdev/touch_event_converter_evdev.cc",
73 "evdev/touch_event_converter_evdev.h", 67 "evdev/touch_event_converter_evdev.h",
74 ] 68 ]
75 69
76 defines = [ 70 defines = [ "EVENTS_OZONE_EVDEV_IMPLEMENTATION" ]
77 "EVENTS_OZONE_EVDEV_IMPLEMENTATION",
78 ]
79 71
80 deps = [ 72 deps = [
81 ":events_ozone", 73 ":events_ozone",
82 "//base", 74 "//base",
83 "//ui/events/devices", 75 "//ui/events/devices",
84 "//ui/events/platform", 76 "//ui/events/platform",
85 "//ui/gfx", 77 "//ui/gfx",
86 ] 78 ]
87 79
88 if (use_ozone_evdev && use_evdev_gestures) { 80 if (use_ozone_evdev && use_evdev_gestures) {
89 sources += [ 81 sources += [
90 "evdev/libgestures_glue/event_reader_libevdev_cros.cc", 82 "evdev/libgestures_glue/event_reader_libevdev_cros.cc",
91 "evdev/libgestures_glue/event_reader_libevdev_cros.h", 83 "evdev/libgestures_glue/event_reader_libevdev_cros.h",
92 "evdev/libgestures_glue/gesture_interpreter_libevdev_cros.cc", 84 "evdev/libgestures_glue/gesture_interpreter_libevdev_cros.cc",
93 "evdev/libgestures_glue/gesture_interpreter_libevdev_cros.h", 85 "evdev/libgestures_glue/gesture_interpreter_libevdev_cros.h",
94 "evdev/libgestures_glue/gesture_logging.cc", 86 "evdev/libgestures_glue/gesture_logging.cc",
95 "evdev/libgestures_glue/gesture_logging.h", 87 "evdev/libgestures_glue/gesture_logging.h",
96 "evdev/libgestures_glue/gesture_property_provider.cc", 88 "evdev/libgestures_glue/gesture_property_provider.cc",
97 "evdev/libgestures_glue/gesture_property_provider.h", 89 "evdev/libgestures_glue/gesture_property_provider.h",
98 "evdev/libgestures_glue/gesture_timer_provider.cc", 90 "evdev/libgestures_glue/gesture_timer_provider.cc",
99 "evdev/libgestures_glue/gesture_timer_provider.h", 91 "evdev/libgestures_glue/gesture_timer_provider.h",
100 ] 92 ]
101 93
102 public_configs = [ 94 public_configs = [ ":evdev_gestures" ]
103 ":evdev_gestures",
104 ]
105 95
106 configs += [ 96 configs += [
107 "//build/config/linux:libevdev-cros", 97 "//build/config/linux:libevdev-cros",
108 "//build/config/linux:libgestures", 98 "//build/config/linux:libgestures",
109 ] 99 ]
110 } 100 }
111 } 101 }
OLDNEW
« no previous file with comments | « ui/events/ipc/BUILD.gn ('k') | ui/events/platform/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698