aboutsummaryrefslogtreecommitdiff
path: root/cast
diff options
context:
space:
mode:
authorbtolsch <btolsch@chromium.org>2021-02-09 10:39:30 -0800
committerCommit Bot <commit-bot@chromium.org>2021-02-09 19:19:07 +0000
commit9d9da7b805d37b9e1bb890cf0200e8e505ef8b39 (patch)
tree492d5eec143987b3f2ea7ec3e2f34bb8a2f8f65c /cast
parentb98dcaa0db83132203774a577c0a64c39f7092e9 (diff)
downloadopenscreen-9d9da7b805d37b9e1bb890cf0200e8e505ef8b39.tar.gz
Fix gn check errors for chromium
Bug: 1159043, 1159044, 1159045, 1159046, 1159047 Bug: 1159048, 1159049, 1159050, 1159051 Change-Id: I4c01784608057662fc432f4ac35ced7c0be9b601 Reviewed-on: https://chromium-review.googlesource.com/c/openscreen/+/2678725 Commit-Queue: Brandon Tolsch <btolsch@chromium.org> Reviewed-by: mark a. foltz <mfoltz@chromium.org>
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"