aboutsummaryrefslogtreecommitdiff
path: root/BUILD.gn
diff options
context:
space:
mode:
authorJordan Bayles <jophba@chromium.org>2020-01-13 13:39:09 -0800
committerCommit Bot <commit-bot@chromium.org>2020-01-14 16:47:06 +0000
commit8af57928ad2ab223306ce9f7d20d4dfab90c3404 (patch)
tree968197fb5030efcd106e9354b8253142f133ccab /BUILD.gn
parent6504ff2d1e282fcd7942e64a3e57135eae9987d3 (diff)
downloadopenscreen-8af57928ad2ab223306ce9f7d20d4dfab90c3404.tar.gz
Integrate ReceiverSession into standalone receiver
This patch integrates the ReceiverSession into the standalone_receiver/receiver demo. A dummy messageport implementation is included. Change-Id: I78040197730c14531c33a1a45685574762b5562a Reviewed-on: https://chromium-review.googlesource.com/c/openscreen/+/1985239 Commit-Queue: Jordan Bayles <jophba@chromium.org> Reviewed-by: mark a. foltz <mfoltz@chromium.org>
Diffstat (limited to 'BUILD.gn')
-rw-r--r--BUILD.gn12
1 files changed, 10 insertions, 2 deletions
diff --git a/BUILD.gn b/BUILD.gn
index aa9f08a4..2806bc91 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -5,6 +5,14 @@
import("//build_overrides/build.gni")
import("osp/build/config/services.gni")
+declare_args() {
+ # Set to true to force building the standalone receiver on Mac. It's currently
+ # disabled due to build bot struggles, but works fine on local, recent clang
+ # installations.
+ # TODO(crbug.com/openscreen/86): Remove when the Mac bots have been upgraded.
+ force_build_standalone_receiver = false
+}
+
# All compilable non-test targets in the repository (both executables and
# source_sets).
group("gn_all") {
@@ -39,8 +47,8 @@ group("gn_all") {
if (use_chromium_quic) {
deps += [
"third_party/chromium_quic",
- "third_party/chromium_quic:quic_demo_client",
"third_party/chromium_quic:quic_demo_server",
+ "third_party/chromium_quic:quic_streaming_playback_controller",
]
}
@@ -60,7 +68,7 @@ group("gn_all") {
# TODO(crbug.com/openscreen/86): Build for Mac too once the mac buildbot
# compiler is upgraded.
- if (!is_mac) {
+ if (!is_mac || force_build_standalone_receiver) {
deps += [ "cast/standalone_receiver:cast_receiver" ]
}
}