Index: chrome/test/chromedriver/BUILD.gn |
diff --git a/chrome/test/chromedriver/BUILD.gn b/chrome/test/chromedriver/BUILD.gn |
index 5dad239dd4e9807ce9c1f44f8cd3994b516e4867..ce99cbaa6bc06ab748fdc59b36c06155ad3ad836 100644 |
--- a/chrome/test/chromedriver/BUILD.gn |
+++ b/chrome/test/chromedriver/BUILD.gn |
@@ -273,7 +273,7 @@ source_set("lib") { |
if (!use_x11) { |
sources -= [ "keycode_text_conversion_x.cc" ] |
} |
- if (!use_ozone) { |
+ if (!use_ozone && !use_x11) { |
sources -= [ "keycode_text_conversion_ozone.cc" ] |
} |