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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
|
# Copyright 2019 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("channel") {
sources = [
"channel/cast_auth_util.cc",
"channel/cast_auth_util.h",
"channel/message_util.cc",
"channel/message_util.h",
"channel/sender_socket_factory.cc",
"public/sender_socket_factory.h",
]
deps = [
"../../third_party/abseil",
"../common:channel",
"../common/certificate/proto:certificate_proto",
"../common/channel/proto:channel_proto",
]
public_deps = [
"../../platform",
"../../third_party/boringssl",
"../../util",
"../common:certificate",
"../common:channel",
]
}
source_set("sender") {
sources = [
"cast_app_availability_tracker.cc",
"cast_app_availability_tracker.h",
"cast_app_discovery_service_impl.cc",
"cast_app_discovery_service_impl.h",
"cast_platform_client.cc",
"cast_platform_client.h",
"public/cast_app_discovery_service.cc",
"public/cast_app_discovery_service.h",
"public/cast_media_source.cc",
"public/cast_media_source.h",
]
public_deps = [
":channel",
"../../platform",
"../../third_party/abseil",
"../../util",
"../common:channel",
"../common:public",
]
}
source_set("test_helpers") {
testonly = true
sources = [
"testing/test_helpers.cc",
"testing/test_helpers.h",
]
deps = [
"../../third_party/googletest:gtest",
"../../util",
"../common:channel",
"../receiver:channel",
]
public_deps = [ ":channel" ]
}
source_set("unittests") {
testonly = true
sources = [
"cast_app_availability_tracker_unittest.cc",
"cast_app_discovery_service_impl_unittest.cc",
"cast_platform_client_unittest.cc",
"channel/cast_auth_util_unittest.cc",
]
deps = [
":channel",
":sender",
":test_helpers",
"../../platform",
"../../platform:test",
"../../testing/util",
"../../third_party/googletest:gmock",
"../../third_party/googletest:gtest",
"../../util",
"../common:test_helpers",
"../common/certificate/proto:certificate_proto",
"../common/certificate/proto:certificate_unittest_proto",
]
}
|