Index: remoting/client/input/BUILD.gn |
diff --git a/remoting/client/input/BUILD.gn b/remoting/client/input/BUILD.gn |
index a2022735487c7221f108b91775a663f453006521..8e7cda55b214a9953d9c73ea7f3c6a818aef37f6 100644 |
--- a/remoting/client/input/BUILD.gn |
+++ b/remoting/client/input/BUILD.gn |
@@ -5,16 +5,53 @@ |
source_set("input") { |
sources = [ |
"client_input_injector.h", |
+ "direct_input_strategy.cc", |
+ "direct_input_strategy.h", |
+ "input_strategy.h", |
"keyboard_input_strategy.h", |
"keyboard_interpreter.cc", |
"keyboard_interpreter.h", |
+ "native_device_keymap.cc", |
+ "native_device_keymap.h", |
+ "native_device_keymap_android.cc", |
Yuwei
2017/05/23 21:28:26
This seems confusing to me... If we are building t
nicholss
2017/05/23 22:01:23
client had disabled src filtering but it is enable
Yuwei
2017/05/23 22:20:42
Okay... I didn't know there is src filtering :)
|
+ "native_device_keymap_ios.cc", |
"text_keyboard_input_strategy.cc", |
"text_keyboard_input_strategy.h", |
+ "touch_input_scaler.cc", |
+ "touch_input_scaler.h", |
+ "trackpad_input_strategy.cc", |
+ "trackpad_input_strategy.h", |
] |
deps = [ |
"//remoting/base", |
+ "//remoting/client/ui:ui_manipulation", |
"//third_party/webrtc/base:rtc_base_approved", |
"//ui/events:dom_keycode_converter", |
] |
+ |
+ if (is_android || is_ios) { |
+ sources -= [ "native_device_keymap.cc" ] |
+ } |
+} |
+ |
+source_set("unit_tests") { |
+ testonly = true |
+ |
+ sources = [ |
+ "touch_input_scaler_unittest.cc", |
+ ] |
+ |
+ configs += [ |
+ "//remoting/build/config:version", |
+ "//remoting/build/config:enable_webrtc_remoting_client", |
+ ] |
+ |
+ deps = [ |
+ ":input", |
+ "//remoting/proto", |
+ "//testing/gmock", |
+ "//testing/gtest", |
+ "//third_party/webrtc/base:rtc_base_approved", |
+ ] |
} |