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