aboutsummaryrefslogtreecommitdiff
path: root/cast
diff options
context:
space:
mode:
Diffstat (limited to 'cast')
-rw-r--r--cast/streaming/BUILD.gn30
1 files changed, 24 insertions, 6 deletions
diff --git a/cast/streaming/BUILD.gn b/cast/streaming/BUILD.gn
index 27e9dd8a..013073cc 100644
--- a/cast/streaming/BUILD.gn
+++ b/cast/streaming/BUILD.gn
@@ -11,16 +11,37 @@ fuzzable_proto_library("remoting_proto") {
sources = [ "remoting.proto" ]
}
+source_set("streaming_configs") {
+ sources = [
+ "capture_configs.h",
+ "constants.h",
+ "message_fields.cc",
+ "message_fields.h",
+ "resolution.cc",
+ "resolution.h",
+ ]
+
+ public_configs = [ "../../build:openscreen_include_dirs" ]
+
+ public_deps = [
+ "../../third_party/abseil",
+ "../../third_party/jsoncpp",
+ ]
+
+ deps = [
+ "../../platform:base",
+ "../../util:base",
+ ]
+}
+
source_set("common") {
sources = [
"answer_messages.cc",
"answer_messages.h",
- "capture_configs.h",
"capture_recommendations.cc",
"capture_recommendations.h",
"clock_drift_smoother.cc",
"clock_drift_smoother.h",
- "constants.h",
"encoded_frame.cc",
"encoded_frame.h",
"environment.cc",
@@ -30,8 +51,6 @@ source_set("common") {
"frame_crypto.h",
"frame_id.cc",
"frame_id.h",
- "message_fields.cc",
- "message_fields.h",
"ntp_time.cc",
"ntp_time.h",
"offer_messages.cc",
@@ -40,8 +59,6 @@ source_set("common") {
"packet_util.h",
"receiver_message.cc",
"receiver_message.h",
- "resolution.cc",
- "resolution.h",
"rpc_broker.cc",
"rpc_broker.h",
"rtcp_common.cc",
@@ -66,6 +83,7 @@ source_set("common") {
public_deps = [
":remoting_proto",
+ ":streaming_configs",
"../../third_party/abseil",
"../../third_party/boringssl",
"../common:channel",