OLD | NEW |
---|---|
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 source_set("input") { | 5 source_set("input") { |
6 sources = [ | 6 sources = [ |
7 "client_input_injector.h", | 7 "client_input_injector.h", |
8 "direct_input_strategy.cc", | |
9 "direct_input_strategy.h", | |
10 "input_strategy.h", | |
8 "keyboard_input_strategy.h", | 11 "keyboard_input_strategy.h", |
9 "keyboard_interpreter.cc", | 12 "keyboard_interpreter.cc", |
10 "keyboard_interpreter.h", | 13 "keyboard_interpreter.h", |
14 "native_device_keymap.cc", | |
15 "native_device_keymap.h", | |
16 "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 :)
| |
17 "native_device_keymap_ios.cc", | |
11 "text_keyboard_input_strategy.cc", | 18 "text_keyboard_input_strategy.cc", |
12 "text_keyboard_input_strategy.h", | 19 "text_keyboard_input_strategy.h", |
20 "touch_input_scaler.cc", | |
21 "touch_input_scaler.h", | |
22 "trackpad_input_strategy.cc", | |
23 "trackpad_input_strategy.h", | |
13 ] | 24 ] |
14 | 25 |
15 deps = [ | 26 deps = [ |
16 "//remoting/base", | 27 "//remoting/base", |
28 "//remoting/client/ui:ui_manipulation", | |
17 "//third_party/webrtc/base:rtc_base_approved", | 29 "//third_party/webrtc/base:rtc_base_approved", |
18 "//ui/events:dom_keycode_converter", | 30 "//ui/events:dom_keycode_converter", |
19 ] | 31 ] |
32 | |
33 if (is_android || is_ios) { | |
34 sources -= [ "native_device_keymap.cc" ] | |
35 } | |
20 } | 36 } |
37 | |
38 source_set("unit_tests") { | |
39 testonly = true | |
40 | |
41 sources = [ | |
42 "touch_input_scaler_unittest.cc", | |
43 ] | |
44 | |
45 configs += [ | |
46 "//remoting/build/config:version", | |
47 "//remoting/build/config:enable_webrtc_remoting_client", | |
48 ] | |
49 | |
50 deps = [ | |
51 ":input", | |
52 "//remoting/proto", | |
53 "//testing/gmock", | |
54 "//testing/gtest", | |
55 "//third_party/webrtc/base:rtc_base_approved", | |
56 ] | |
57 } | |
OLD | NEW |