| 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/linux/pkg_config.gni") | 6 import("//build/config/linux/pkg_config.gni") |
| 7 import("//build/config/ui.gni") | 7 import("//build/config/ui.gni") |
| 8 | 8 |
| 9 # Optional system libraries. | 9 # Optional system libraries. |
| 10 use_xkbcommon = use_ozone | 10 use_xkbcommon = use_ozone |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 88 "evdev/tablet_event_converter_evdev.cc", | 88 "evdev/tablet_event_converter_evdev.cc", |
| 89 "evdev/tablet_event_converter_evdev.h", | 89 "evdev/tablet_event_converter_evdev.h", |
| 90 "evdev/touch_event_converter_evdev.cc", | 90 "evdev/touch_event_converter_evdev.cc", |
| 91 "evdev/touch_event_converter_evdev.h", | 91 "evdev/touch_event_converter_evdev.h", |
| 92 ] | 92 ] |
| 93 | 93 |
| 94 defines = [ "EVENTS_OZONE_EVDEV_IMPLEMENTATION" ] | 94 defines = [ "EVENTS_OZONE_EVDEV_IMPLEMENTATION" ] |
| 95 | 95 |
| 96 deps = [ | 96 deps = [ |
| 97 ":events_ozone", | 97 ":events_ozone", |
| 98 ":events_ozone_layout", |
| 98 "//base", | 99 "//base", |
| 99 "//ui/events/devices", | 100 "//ui/events/devices", |
| 100 "//ui/events/platform", | 101 "//ui/events/platform", |
| 101 "//ui/gfx", | 102 "//ui/gfx", |
| 102 ] | 103 ] |
| 103 | 104 |
| 104 public_configs = [ ":evdev" ] | 105 public_configs = [ ":evdev" ] |
| 105 | 106 |
| 106 if (use_ozone_evdev && use_evdev_gestures) { | 107 if (use_ozone_evdev && use_evdev_gestures) { |
| 107 sources += [ | 108 sources += [ |
| (...skipping 10 matching lines...) Expand all Loading... |
| 118 ] | 119 ] |
| 119 | 120 |
| 120 public_configs += [ ":evdev_gestures" ] | 121 public_configs += [ ":evdev_gestures" ] |
| 121 | 122 |
| 122 configs += [ | 123 configs += [ |
| 123 "//build/config/linux:libevdev-cros", | 124 "//build/config/linux:libevdev-cros", |
| 124 "//build/config/linux:libgestures", | 125 "//build/config/linux:libgestures", |
| 125 ] | 126 ] |
| 126 } | 127 } |
| 127 } | 128 } |
| 129 |
| 130 component("events_ozone_layout") { |
| 131 sources = [ |
| 132 "layout/events_ozone_layout_export.h", |
| 133 "layout/keyboard_layout_engine.h", |
| 134 "layout/keyboard_layout_engine_manager.cc", |
| 135 "layout/keyboard_layout_engine_manager.h", |
| 136 "layout/no/no_keyboard_layout_engine.cc", |
| 137 "layout/no/no_keyboard_layout_engine.h", |
| 138 "layout/stub/stub_keyboard_layout_engine.cc", |
| 139 "layout/stub/stub_keyboard_layout_engine.h", |
| 140 ] |
| 141 |
| 142 defines = [ "EVENTS_OZONE_LAYOUT_IMPLEMENTATION" ] |
| 143 |
| 144 deps = [ |
| 145 "//base", |
| 146 ] |
| 147 } |
| OLD | NEW |