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

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

Issue 2239833003: keycodes: Fix non-X11 build when use_xkbcommon=1 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removing events_keycodes.gyp changes Created 4 years, 4 months 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/keycodes/BUILD.gn
diff --git a/ui/events/keycodes/BUILD.gn b/ui/events/keycodes/BUILD.gn
index 4f2d47c2497d321332c79d0dd4e9007b50c319c7..716c7ed17cc8049ea65b95a5062e7c6e0adc6e48 100644
--- a/ui/events/keycodes/BUILD.gn
+++ b/ui/events/keycodes/BUILD.gn
@@ -17,6 +17,10 @@ source_set("xkb") {
"//base",
"//ui/events:dom_keycode_converter",
]
+
+ if (use_xkbcommon) {
+ defines = [ "USE_XKBCOMMON" ]
+ }
}
if (use_x11 || ozone_platform_x11) {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698