Index: ui/events/ozone/BUILD.gn |
diff --git a/ui/events/ozone/BUILD.gn b/ui/events/ozone/BUILD.gn |
index 45f9f2bacc8c7cd3966fbf40920c38c9f8bd2b91..5c77491ca9cfe056a20f01a866ada7dca716ba2c 100644 |
--- a/ui/events/ozone/BUILD.gn |
+++ b/ui/events/ozone/BUILD.gn |
@@ -4,6 +4,7 @@ |
import("//build/config/features.gni") |
import("//build/config/ui.gni") |
+import("//ui/ozone/ozone.gni") |
component("events_ozone") { |
sources = [ |
@@ -117,17 +118,32 @@ component("events_ozone_layout") { |
"layout/keyboard_layout_engine.h", |
"layout/keyboard_layout_engine_manager.cc", |
"layout/keyboard_layout_engine_manager.h", |
+ "layout/layout_util.cc", |
+ "layout/layout_util.h", |
"layout/no/no_keyboard_layout_engine.cc", |
"layout/no/no_keyboard_layout_engine.h", |
"layout/stub/stub_keyboard_layout_engine.cc", |
"layout/stub/stub_keyboard_layout_engine.h", |
] |
- defines = [ |
- "EVENTS_OZONE_LAYOUT_IMPLEMENTATION", |
- ] |
+ defines = [ "EVENTS_OZONE_LAYOUT_IMPLEMENTATION" ] |
deps = [ |
"//base", |
] |
+ |
+ 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
|
+ sources += [ |
+ "layout/xkb/xkb.h", |
+ "layout/xkb/xkb_evdev_codes.cc", |
+ "layout/xkb/xkb_evdev_codes.h", |
+ "layout/xkb/xkb_keyboard_code_conversion.cc", |
+ "layout/xkb/xkb_keyboard_code_conversion.h", |
+ "layout/xkb/xkb_keyboard_layout_engine.cc", |
+ "layout/xkb/xkb_keyboard_layout_engine.h", |
+ "layout/xkb/xkb_keysym.h", |
+ ] |
+ |
+ libs = [ "xkbcommon" ] |
+ } |
} |