Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(686)

Unified Diff: ui/events/ozone/BUILD.gn

Issue 778503002: XKB implementation of Ozone key layout. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@x430194-layout
Patch Set: USE_X11 ate my brain Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ui/events/ozone/events_ozone.gyp » ('j') | ui/events/ozone/events_ozone.gyp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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:29 if (use_xkbcommon)
+ 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" ]
spang 2014/12/08 22:47:29 configs = [ "//build/config/linux:xkbcommon" ]
+ }
}
« no previous file with comments | « no previous file | ui/events/ozone/events_ozone.gyp » ('j') | ui/events/ozone/events_ozone.gyp » ('J')

Powered by Google App Engine
This is Rietveld 408576698