Index: remoting/host/BUILD.gn |
diff --git a/remoting/host/BUILD.gn b/remoting/host/BUILD.gn |
index cd2318a204323d013f1f737362ff815a31c38a85..1b65201a4c4496dcf3f143ff9cc49f68a3e5dc6a 100644 |
--- a/remoting/host/BUILD.gn |
+++ b/remoting/host/BUILD.gn |
@@ -67,10 +67,8 @@ static_library("host") { |
} |
if (use_ozone) { |
- sources -= [ |
- "input_injector_x11.cc", |
- "local_input_monitor_x11.cc", |
- ] |
+ sources -= [ "input_injector_x11.cc" ] |
+ deps += [ "//ui/ozone" ] |
} else { |
sources -= [ |
"clipboard_x11.cc", |
@@ -78,13 +76,13 @@ static_library("host") { |
"input_injector_chromeos.h", |
"linux/x_server_clipboard.cc", |
"linux/x_server_clipboard.h", |
- "local_input_monitor_chromeos.cc", |
] |
} |
sources -= [ |
"continue_window_linux.cc", |
"disconnect_window_linux.cc", |
+ "local_input_monitor_x11.cc", |
"policy_hack/policy_watcher_linux.cc", |
"remoting_me2me_host.cc", |
] |