aboutsummaryrefslogtreecommitdiff
path: root/cast
diff options
context:
space:
mode:
authorYuri Wiitala <miu@chromium.org>2021-01-08 18:50:34 -0800
committerCommit Bot <commit-bot@chromium.org>2021-01-11 01:14:25 +0000
commitf9e9052e7e6f1f75212737926b267a0e41621892 (patch)
tree498b871f9d132d9c9419e7c4111916e9b9b497a1 /cast
parent31a6a84b0393546e7076a90d0d5b5c5c606825a0 (diff)
downloadopenscreen-f9e9052e7e6f1f75212737926b267a0e41621892.tar.gz
Fix standalone_sender BUILD.gn for Mac.
Merges the source_set("standalone_sender") target with the executable("cast_sender") target, to become a single executable target. This fixes the cast_sender build on Mac (not sure why it was working on Linux???). Change-Id: Ifef996c56892079bfb692be756d3e2e6ea9ffe85 Reviewed-on: https://chromium-review.googlesource.com/c/openscreen/+/2619025 Reviewed-by: Jordan Bayles <jophba@chromium.org> Commit-Queue: Jordan Bayles <jophba@chromium.org>
Diffstat (limited to 'cast')
-rw-r--r--cast/standalone_sender/BUILD.gn20
1 files changed, 5 insertions, 15 deletions
diff --git a/cast/standalone_sender/BUILD.gn b/cast/standalone_sender/BUILD.gn
index 0143163a..a59d2449 100644
--- a/cast/standalone_sender/BUILD.gn
+++ b/cast/standalone_sender/BUILD.gn
@@ -20,7 +20,7 @@ if (!build_with_chromium) {
}
}
- source_set("standalone_sender") {
+ executable("cast_sender") {
deps = [
"../../platform",
"../../third_party/jsoncpp",
@@ -28,10 +28,11 @@ if (!build_with_chromium) {
"../common:public",
"../common/channel/proto:channel_proto",
"../sender:channel",
+ "../streaming:common",
"../streaming:sender",
]
- sources = []
+ sources = [ "main.cc" ]
include_dirs = []
lib_dirs = []
libs = []
@@ -58,22 +59,11 @@ if (!build_with_chromium) {
libs += ffmpeg_libs + libopus_libs + libvpx_libs
}
+ configs += [ "../common:certificate_config" ]
+
public_configs = [
"../../build:openscreen_include_dirs",
":standalone_external_libs",
]
}
-
- executable("cast_sender") {
- sources = [ "main.cc" ]
-
- configs += [ "../common:certificate_config" ]
-
- deps = [
- ":standalone_sender",
- "../../third_party/jsoncpp",
- "../common/channel/proto:channel_proto",
- "../streaming:common",
- ]
- }
}