aboutsummaryrefslogtreecommitdiff
path: root/cast
diff options
context:
space:
mode:
Diffstat (limited to 'cast')
-rw-r--r--cast/common/BUILD.gn4
-rw-r--r--cast/streaming/BUILD.gn4
-rw-r--r--cast/streaming/offer_messages.cc1
3 files changed, 7 insertions, 2 deletions
diff --git a/cast/common/BUILD.gn b/cast/common/BUILD.gn
index c1a8acd7..ae32bf4a 100644
--- a/cast/common/BUILD.gn
+++ b/cast/common/BUILD.gn
@@ -66,12 +66,12 @@ source_set("channel") {
"channel/virtual_connection.h",
"channel/virtual_connection_router.cc",
"channel/virtual_connection_router.h",
- "public/cast_socket.h",
]
deps = [ "certificate/proto:certificate_proto" ]
public_deps = [
+ ":public",
"../../platform",
"../../third_party/abseil",
"../../util",
@@ -81,6 +81,7 @@ source_set("channel") {
source_set("public") {
sources = [
+ "public/cast_socket.h",
"public/message_port.h",
"public/service_info.cc",
"public/service_info.h",
@@ -128,6 +129,7 @@ source_set("test_helpers") {
":certificate",
":channel",
":public",
+ "../../discovery:dnssd",
"../../platform:test",
"../../testing/util",
"../../third_party/abseil",
diff --git a/cast/streaming/BUILD.gn b/cast/streaming/BUILD.gn
index f9a7b81f..04424cf4 100644
--- a/cast/streaming/BUILD.gn
+++ b/cast/streaming/BUILD.gn
@@ -67,6 +67,7 @@ source_set("common") {
"../../third_party/abseil",
"../../third_party/boringssl",
"../common:channel",
+ "../common:public",
"../common/certificate/proto:certificate_proto",
]
@@ -137,6 +138,8 @@ source_set("test_helpers") {
"testing/simple_socket_subscriber.h",
]
+ public_deps = [ ":common" ]
+
deps = [
"../../third_party/googletest:gmock",
"../../third_party/googletest:gtest",
@@ -184,6 +187,7 @@ source_set("unittests") {
":receiver",
":sender",
":test_helpers",
+ "../../platform:test",
"../../third_party/googletest:gmock",
"../../third_party/googletest:gtest",
"../../util",
diff --git a/cast/streaming/offer_messages.cc b/cast/streaming/offer_messages.cc
index 858038b5..dfc5a15e 100644
--- a/cast/streaming/offer_messages.cc
+++ b/cast/streaming/offer_messages.cc
@@ -16,7 +16,6 @@
#include "absl/strings/str_split.h"
#include "cast/streaming/capture_recommendations.h"
#include "cast/streaming/constants.h"
-#include "cast/streaming/receiver_session.h"
#include "platform/base/error.h"
#include "util/big_endian.h"
#include "util/enum_name_table.h"