Index: ui/events/ozone/BUILD.gn |
diff --git a/ui/events/ozone/BUILD.gn b/ui/events/ozone/BUILD.gn |
index 12296b6799f7ad7c6a96e8770c339d727bbe7f0b..08df6fef358eaf9271cc16f30c76c9eba80b8e68 100644 |
--- a/ui/events/ozone/BUILD.gn |
+++ b/ui/events/ozone/BUILD.gn |
@@ -133,6 +133,8 @@ 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", |
@@ -144,4 +146,19 @@ component("events_ozone_layout") { |
deps = [ |
"//base", |
] |
+ |
+ if (use_xkbcommon) { |
+ sources += [ |
+ "layout/xkb/xkb.h", |
+ "layout/xkb/xkb_evdev_codes.cc", |
+ "layout/xkb/xkb_evdev_codes.h", |
+ "layout/xkb/xkb_key_code_converter.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", |
+ "layout/xkb/scoped_xkb.h", |
+ ] |
+ } |
} |