Index: build/common.gypi |
diff --git a/build/common.gypi b/build/common.gypi |
index 5ed48ff937203d2516010ca868f57a5a9ea53277..30239f1bdfbb3f7ec2eba066200e9047fef2c28d 100644 |
--- a/build/common.gypi |
+++ b/build/common.gypi |
@@ -706,6 +706,13 @@ |
'use_dbus%': 0, |
}], |
+ # Libxkbcommon usage. |
+ ['use_ozone==1 and embedded==0', { |
+ 'use_xkbcommon%': 1, |
+ }, { |
+ 'use_xkbcommon%': 0, |
+ }], |
+ |
# We always use skia text rendering in Aura on Windows, since GDI |
# doesn't agree with our BackingStore. |
# TODO(beng): remove once skia text rendering is on by default. |
@@ -1087,6 +1094,7 @@ |
'use_cairo%': '<(use_cairo)', |
'use_ozone%': '<(use_ozone)', |
'use_ozone_evdev%': '<(use_ozone_evdev)', |
+ 'use_xkbcommon%': '<(use_xkbcommon)', |
'use_clipboard_aurax11%': '<(use_clipboard_aurax11)', |
'desktop_linux%': '<(desktop_linux)', |
'use_x11%': '<(use_x11)', |