Index: ui/events/BUILD.gn |
diff --git a/ui/events/BUILD.gn b/ui/events/BUILD.gn |
index a7516558f1db3f6c638491fae5a46c5188451263..1a50b8134808000fa80c8534d05b806e279883ac 100644 |
--- a/ui/events/BUILD.gn |
+++ b/ui/events/BUILD.gn |
@@ -54,6 +54,17 @@ component("events_base") { |
if (use_x11) { |
configs += [ "//build/config/linux:x11" ] |
+ } else { |
+ sources -= [ |
+ "keycodes/keyboard_code_conversion_x.cc", |
+ "keycodes/keyboard_code_conversion_x.h", |
+ "x/device_data_manager.cc", |
+ "x/device_data_manager.h", |
+ "x/device_list_cache_x.cc", |
+ "x/device_list_cache_x.h", |
+ "x/touch_factory_x11.cc", |
+ "x/touch_factory_x11.h", |
+ ] |
} |
} |