OLD | NEW |
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", |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 "evdev/touch_event_converter_evdev.cc", | 72 "evdev/touch_event_converter_evdev.cc", |
73 "evdev/touch_event_converter_evdev.h", | 73 "evdev/touch_event_converter_evdev.h", |
74 ] | 74 ] |
75 | 75 |
76 defines = [ | 76 defines = [ |
77 "EVENTS_OZONE_EVDEV_IMPLEMENTATION", | 77 "EVENTS_OZONE_EVDEV_IMPLEMENTATION", |
78 ] | 78 ] |
79 | 79 |
80 deps = [ | 80 deps = [ |
81 ":events_ozone", | 81 ":events_ozone", |
| 82 ":events_ozone_layout", |
82 "//base", | 83 "//base", |
83 "//ui/events/devices", | 84 "//ui/events/devices", |
84 "//ui/events/platform", | 85 "//ui/events/platform", |
85 "//ui/gfx", | 86 "//ui/gfx", |
86 ] | 87 ] |
87 | 88 |
88 if (use_ozone_evdev && use_evdev_gestures) { | 89 if (use_ozone_evdev && use_evdev_gestures) { |
89 sources += [ | 90 sources += [ |
90 "evdev/libgestures_glue/event_reader_libevdev_cros.cc", | 91 "evdev/libgestures_glue/event_reader_libevdev_cros.cc", |
91 "evdev/libgestures_glue/event_reader_libevdev_cros.h", | 92 "evdev/libgestures_glue/event_reader_libevdev_cros.h", |
(...skipping 10 matching lines...) Expand all Loading... |
102 public_configs = [ | 103 public_configs = [ |
103 ":evdev_gestures", | 104 ":evdev_gestures", |
104 ] | 105 ] |
105 | 106 |
106 configs += [ | 107 configs += [ |
107 "//build/config/linux:libevdev-cros", | 108 "//build/config/linux:libevdev-cros", |
108 "//build/config/linux:libgestures", | 109 "//build/config/linux:libgestures", |
109 ] | 110 ] |
110 } | 111 } |
111 } | 112 } |
| 113 |
| 114 component("events_ozone_layout") { |
| 115 sources = [ |
| 116 "layout/events_ozone_layout_export.h", |
| 117 "layout/keyboard_layout_engine.h", |
| 118 "layout/keyboard_layout_engine_manager.cc", |
| 119 "layout/keyboard_layout_engine_manager.h", |
| 120 "layout/no/no_keyboard_layout_engine.cc", |
| 121 "layout/no/no_keyboard_layout_engine.h", |
| 122 "layout/stub/stub_keyboard_layout_engine.cc", |
| 123 "layout/stub/stub_keyboard_layout_engine.h", |
| 124 ] |
| 125 |
| 126 defines = [ |
| 127 "EVENTS_OZONE_LAYOUT_IMPLEMENTATION", |
| 128 ] |
| 129 |
| 130 deps = [ |
| 131 "//base", |
| 132 ] |
| 133 } |
OLD | NEW |