1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
# Copyright 2017 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
source_set("ui") {
sources = [
"fling_animation.cc",
"fling_animation.h",
"fling_tracker.cc",
"fling_tracker.h",
]
deps = [ ":ui_manipulation" ]
public_deps = [
"//remoting/proto",
"//third_party/webrtc_overrides:webrtc_component",
]
if (!is_chromeos) {
deps += [ "//remoting/client/display" ]
}
}
source_set("ui_manipulation") {
sources = [
"desktop_viewport.cc",
"desktop_viewport.h",
"view_matrix.cc",
"view_matrix.h",
]
deps = []
public_deps = [
"//remoting/proto",
"//third_party/webrtc_overrides:webrtc_component",
]
}
source_set("unit_tests") {
testonly = true
sources = [
"desktop_viewport_unittest.cc",
"fling_animation_unittest.cc",
]
configs += [ "//remoting/build/config:version" ]
deps = [
":ui",
"//testing/gmock",
"//testing/gtest",
]
}
|