Chromium Code Reviews| 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 import("//ui/ozone/ozone.gni") | |
| 7 | 8 |
| 8 component("events_ozone") { | 9 component("events_ozone") { |
| 9 sources = [ | 10 sources = [ |
| 10 "chromeos/cursor_controller.cc", | 11 "chromeos/cursor_controller.cc", |
| 11 "chromeos/cursor_controller.h", | 12 "chromeos/cursor_controller.h", |
| 12 "device/device_event.cc", | 13 "device/device_event.cc", |
| 13 "device/device_event.h", | 14 "device/device_event.h", |
| 14 "device/device_event_observer.h", | 15 "device/device_event_observer.h", |
| 15 "device/device_manager.cc", | 16 "device/device_manager.cc", |
| 16 "device/device_manager.h", | 17 "device/device_manager.h", |
| (...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 110 ] | 111 ] |
| 111 } | 112 } |
| 112 } | 113 } |
| 113 | 114 |
| 114 component("events_ozone_layout") { | 115 component("events_ozone_layout") { |
| 115 sources = [ | 116 sources = [ |
| 116 "layout/events_ozone_layout_export.h", | 117 "layout/events_ozone_layout_export.h", |
| 117 "layout/keyboard_layout_engine.h", | 118 "layout/keyboard_layout_engine.h", |
| 118 "layout/keyboard_layout_engine_manager.cc", | 119 "layout/keyboard_layout_engine_manager.cc", |
| 119 "layout/keyboard_layout_engine_manager.h", | 120 "layout/keyboard_layout_engine_manager.h", |
| 121 "layout/layout_util.cc", | |
| 122 "layout/layout_util.h", | |
| 120 "layout/no/no_keyboard_layout_engine.cc", | 123 "layout/no/no_keyboard_layout_engine.cc", |
| 121 "layout/no/no_keyboard_layout_engine.h", | 124 "layout/no/no_keyboard_layout_engine.h", |
| 122 "layout/stub/stub_keyboard_layout_engine.cc", | 125 "layout/stub/stub_keyboard_layout_engine.cc", |
| 123 "layout/stub/stub_keyboard_layout_engine.h", | 126 "layout/stub/stub_keyboard_layout_engine.h", |
| 124 ] | 127 ] |
| 125 | 128 |
| 126 defines = [ | 129 defines = [ "EVENTS_OZONE_LAYOUT_IMPLEMENTATION" ] |
| 127 "EVENTS_OZONE_LAYOUT_IMPLEMENTATION", | |
| 128 ] | |
| 129 | 130 |
| 130 deps = [ | 131 deps = [ |
| 131 "//base", | 132 "//base", |
| 132 ] | 133 ] |
| 134 | |
| 135 if (ozone_platform_dri || ozone_platform_gbm) { | |
|
spang
2014/12/08 22:47:28
use_xkbcommon?
kpschoedel
2014/12/08 23:15:26
Couldn't figure out how to set that under the plat
spang
2014/12/08 23:19:10
try on top of https://codereview.chromium.org/7516
| |
| 136 sources += [ | |
| 137 "layout/xkb/xkb.h", | |
| 138 "layout/xkb/xkb_evdev_codes.cc", | |
| 139 "layout/xkb/xkb_evdev_codes.h", | |
| 140 "layout/xkb/xkb_keyboard_code_conversion.cc", | |
| 141 "layout/xkb/xkb_keyboard_code_conversion.h", | |
| 142 "layout/xkb/xkb_keyboard_layout_engine.cc", | |
| 143 "layout/xkb/xkb_keyboard_layout_engine.h", | |
| 144 "layout/xkb/xkb_keysym.h", | |
| 145 ] | |
| 146 | |
| 147 libs = [ "xkbcommon" ] | |
| 148 } | |
| 133 } | 149 } |
| OLD | NEW |