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