Index: ui/ozone/platform/wayland/BUILD.gn |
diff --git a/ui/ozone/platform/wayland/BUILD.gn b/ui/ozone/platform/wayland/BUILD.gn |
index 494ab6005256fd07c39b6b5353e8c5c29bbdac1f..8d80aa90ef52637d2b0bcc3460e8cc93cc1681d8 100644 |
--- a/ui/ozone/platform/wayland/BUILD.gn |
+++ b/ui/ozone/platform/wayland/BUILD.gn |
@@ -20,6 +20,8 @@ source_set("wayland") { |
"ozone_platform_wayland.h", |
"wayland_connection.cc", |
"wayland_connection.h", |
+ "wayland_keyboard.cc", |
+ "wayland_keyboard.h", |
"wayland_object.cc", |
"wayland_object.h", |
"wayland_output.cc", |
@@ -32,13 +34,23 @@ source_set("wayland") { |
"wayland_window.h", |
] |
+ import("//ui/base/ui_features.gni") |
+ if (use_xkbcommon) { |
+ sources += [ |
+ "wayland_xkb_keyboard_layout_engine.cc", |
+ "wayland_xkb_keyboard_layout_engine.h", |
+ ] |
+ } |
+ |
deps = [ |
"//base", |
"//skia", |
"//third_party/wayland:wayland_client", |
"//third_party/wayland-protocols:xdg_shell_protocol", |
+ "//ui/base:ui_features", |
"//ui/display", |
"//ui/events", |
+ "//ui/events/ozone:events_ozone_layout", |
"//ui/events/platform", |
"//ui/gfx", |
"//ui/gfx/geometry", |
@@ -63,6 +75,7 @@ source_set("wayland_unittests") { |
"fake_server.h", |
"mock_platform_window_delegate.cc", |
"wayland_connection_unittest.cc", |
+ "wayland_keyboard_unittest.cc", |
"wayland_pointer_unittest.cc", |
"wayland_surface_factory_unittest.cc", |
"wayland_test.cc", |