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/tablet_event_converter_evdev.cc", | 72 "evdev/tablet_event_converter_evdev.cc", |
73 "evdev/tablet_event_converter_evdev.h", | 73 "evdev/tablet_event_converter_evdev.h", |
74 "evdev/touch_event_converter_evdev.cc", | 74 "evdev/touch_event_converter_evdev.cc", |
75 "evdev/touch_event_converter_evdev.h", | 75 "evdev/touch_event_converter_evdev.h", |
76 ] | 76 ] |
77 | 77 |
78 defines = [ "EVENTS_OZONE_EVDEV_IMPLEMENTATION" ] | 78 defines = [ "EVENTS_OZONE_EVDEV_IMPLEMENTATION" ] |
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 public_configs = [ ":evdev" ] | 89 public_configs = [ ":evdev" ] |
89 | 90 |
90 if (use_ozone_evdev && use_evdev_gestures) { | 91 if (use_ozone_evdev && use_evdev_gestures) { |
91 sources += [ | 92 sources += [ |
(...skipping 10 matching lines...) Expand all Loading... |
102 ] | 103 ] |
103 | 104 |
104 public_configs += [ ":evdev_gestures" ] | 105 public_configs += [ ":evdev_gestures" ] |
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 |