# Copyright 2019 The Chromium Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//chromecast/chromecast.gni")
cast_source_set("receiver") {
sources = [
"receiver.cc",
"receiver.h",
]
deps = [
"//base",
"//chromecast/base",
"//chromecast/media/audio/mixer_service:common",
"//chromecast/media/audio/net:audio_socket_service",
"//net",
]
public_deps = [ "//chromecast/media/audio/mixer_service:proto" ]
}
cast_source_set("receiver_cma") {
sources = [
"cma_backend_shim.cc",
"cma_backend_shim.h",
"receiver_cma.cc",
"receiver_cma.h",
]
deps = [
":receiver",
"//base",
"//chromecast/base",
"//chromecast/media/audio/mixer_service:common",
"//chromecast/media/audio/mixer_service:proto",
"//chromecast/media/audio/net:common",
"//chromecast/media/audio/net:proto",
"//chromecast/media/cma/backend",
"//chromecast/media/cma/base",
"//chromecast/media/common:media_pipeline_backend_manager",
"//chromecast/public",
"//chromecast/public/media",
"//media",
"//net",
]
}
cast_source_set("receiver_creation") {
sources = [
"receiver_creation.cc",
"receiver_creation.h",
]
deps = [
":receiver_cma",
"//base",
"//chromecast/media/audio:audio_io_thread",
"//chromecast/media/audio/mixer_service:buildflags",
"//chromecast/media/audio/mixer_service:common",
]
}