Index: ui/events/platform/BUILD.gn |
diff --git a/ui/events/platform/BUILD.gn b/ui/events/platform/BUILD.gn |
index b9a977fefaf530c305c5fc412ff08d93874c9c9d..c83c1b718d65560e99f72f491810b75bdf885c2e 100644 |
--- a/ui/events/platform/BUILD.gn |
+++ b/ui/events/platform/BUILD.gn |
@@ -25,7 +25,7 @@ component("platform") { |
"//base", |
] |
- if (use_x11) { |
+ if (use_x11_backend) { |
sources -= [ "platform_event_source_stub.cc" ] |
} |
} |