Index: ui/events/ozone/BUILD.gn |
diff --git a/ui/events/ozone/BUILD.gn b/ui/events/ozone/BUILD.gn |
index 2a8611aebfebd129364cec314ff436164e3d2480..314068c00f697fc441f7050bb697ae0aa8417428 100644 |
--- a/ui/events/ozone/BUILD.gn |
+++ b/ui/events/ozone/BUILD.gn |
@@ -5,6 +5,7 @@ |
import("//build/config/features.gni") |
import("//build/config/linux/pkg_config.gni") |
import("//build/config/ui.gni") |
+import("//ui/base/ui_features.gni") |
declare_args() { |
# Support ChromeOS touchpad gestures with ozone. |
@@ -171,12 +172,6 @@ if (use_ozone) { |
} |
} |
-config("events_ozone_layout_config") { |
- if (use_xkbcommon) { |
- defines = [ "USE_XKBCOMMON" ] |
- } |
-} |
- |
component("events_ozone_layout") { |
sources = [ |
"layout/events_ozone_layout_export.h", |
@@ -199,8 +194,6 @@ component("events_ozone_layout") { |
"//ui/events:events_base", |
] |
- public_configs = [ ":events_ozone_layout_config" ] |
- |
if (use_xkbcommon) { |
configs += [ ":xkbcommon" ] |