# Copyright 2023 The Chromium Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
visibility = [ "//components/cast_streaming/browser/*" ]
source_set("remoting") {
public = [
"remoting_decoder_buffer_factory.h",
"remoting_session_client.h",
"renderer_rpc_call_translator.h",
"rpc_demuxer_stream_handler.h",
"rpc_initialization_call_handler_base.h",
]
sources = [
"remoting_decoder_buffer_factory.cc",
"renderer_rpc_call_translator.cc",
"rpc_demuxer_stream_handler.cc",
"rpc_initialization_call_handler_base.cc",
]
public_deps = [
"//base",
"//components/cast_streaming/common:mojom",
]
deps = [
"//components/cast_streaming/browser/common",
"//media",
"//media/cast/openscreen:remoting_utils",
"//media/mojo/common",
"//media/mojo/mojom",
"//mojo/public/cpp/system",
"//third_party/openscreen/src/cast/streaming:common",
"//third_party/openscreen/src/cast/streaming:receiver",
]
}
# TODO(crbug.com/40765693): Add more unit tests for code in this directory.
source_set("unit_tests") {
testonly = true
public = []
sources = [ "rpc_demuxer_stream_handler_unittests.cc" ]
deps = [
":remoting",
"//base",
"//base/test:test_support",
"//media",
"//third_party/openscreen/src/cast/streaming:common",
]
}