OLD | NEW |
1 # Copyright 2017 The Chromium Authors. All rights reserved. | 1 # Copyright 2017 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("ui") { | 5 source_set("ui") { |
6 sources = [ | 6 sources = [ |
7 "desktop_viewport.cc", | |
8 "desktop_viewport.h", | |
9 "direct_input_strategy.cc", | |
10 "direct_input_strategy.h", | |
11 "fling_animation.cc", | 7 "fling_animation.cc", |
12 "fling_animation.h", | 8 "fling_animation.h", |
13 "fling_tracker.cc", | 9 "fling_tracker.cc", |
14 "fling_tracker.h", | 10 "fling_tracker.h", |
15 "gesture_interpreter.cc", | |
16 "gesture_interpreter.h", | |
17 "input_strategy.h", | |
18 "renderer_proxy.cc", | 11 "renderer_proxy.cc", |
19 "renderer_proxy.h", | 12 "renderer_proxy.h", |
20 "trackpad_input_strategy.cc", | |
21 "trackpad_input_strategy.h", | |
22 "view_matrix.cc", | |
23 "view_matrix.h", | |
24 ] | 13 ] |
25 | 14 |
26 deps = [ | 15 deps = [ |
| 16 ":ui_manipulation", |
27 "//remoting/client/display", | 17 "//remoting/client/display", |
28 ] | 18 ] |
29 | 19 |
30 public_deps = [ | 20 public_deps = [ |
31 "//remoting/proto", | 21 "//remoting/proto", |
32 "//third_party/webrtc/base:rtc_base_approved", | 22 "//third_party/webrtc/base:rtc_base_approved", |
33 ] | 23 ] |
34 } | 24 } |
35 | 25 |
| 26 source_set("ui_manipulation") { |
| 27 sources = [ |
| 28 "desktop_viewport.cc", |
| 29 "desktop_viewport.h", |
| 30 "view_matrix.cc", |
| 31 "view_matrix.h", |
| 32 ] |
| 33 |
| 34 deps = [] |
| 35 |
| 36 public_deps = [ |
| 37 "//remoting/proto", |
| 38 "//third_party/webrtc/base:rtc_base_approved", |
| 39 ] |
| 40 } |
| 41 |
36 source_set("unit_tests") { | 42 source_set("unit_tests") { |
37 testonly = true | 43 testonly = true |
38 | 44 |
39 sources = [ | 45 sources = [ |
40 "desktop_viewport_unittest.cc", | 46 "desktop_viewport_unittest.cc", |
41 "fling_animation_unittest.cc", | 47 "fling_animation_unittest.cc", |
42 ] | 48 ] |
43 | 49 |
44 configs += [ "//remoting/build/config:version" ] | 50 configs += [ "//remoting/build/config:version" ] |
45 | 51 |
46 deps = [ | 52 deps = [ |
47 ":ui", | 53 ":ui", |
48 "//testing/gmock", | 54 "//testing/gmock", |
49 "//testing/gtest", | 55 "//testing/gtest", |
50 ] | 56 ] |
51 } | 57 } |
OLD | NEW |