aboutsummaryrefslogtreecommitdiff
path: root/cast/sender/BUILD.gn
diff options
context:
space:
mode:
Diffstat (limited to 'cast/sender/BUILD.gn')
-rw-r--r--cast/sender/BUILD.gn28
1 files changed, 28 insertions, 0 deletions
diff --git a/cast/sender/BUILD.gn b/cast/sender/BUILD.gn
index dfbc947e..86ecb7d6 100644
--- a/cast/sender/BUILD.gn
+++ b/cast/sender/BUILD.gn
@@ -31,6 +31,8 @@ source_set("sender") {
sources = [
"cast_app_availability_tracker.cc",
"cast_app_availability_tracker.h",
+ "cast_platform_client.cc",
+ "cast_platform_client.h",
"public/cast_media_source.cc",
"public/cast_media_source.h",
]
@@ -38,7 +40,29 @@ source_set("sender") {
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",
]
}
@@ -46,17 +70,21 @@ source_set("unittests") {
testonly = true
sources = [
"cast_app_availability_tracker_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",
]