# Copyright 2017 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")
# Default implementation of media backend used on desktop builds for tests.
cast_source_set("desktop") {
sources = [
"audio_decoder_desktop.cc",
"audio_decoder_desktop.h",
"cast_media_desktop.cc",
"media_pipeline_backend_desktop.cc",
"media_pipeline_backend_desktop.h",
"media_sink_desktop.cc",
"media_sink_desktop.h",
"video_decoder_desktop.cc",
"video_decoder_desktop.h",
]
deps = [
"//base",
"//chromecast/base",
"//chromecast/public/media",
"//media",
]
if (enable_video_with_mixed_audio) {
sources += [ "desktop_system_volume_control.cc" ]
deps += [
"//chromecast/media/cma/backend:for_mixer_audio",
"//chromecast/media/cma/backend:null_video",
"//chromecast/media/cma/backend:public",
"//chromecast/media/cma/backend/video:av_sync_video",
]
} else {
sources += [ "volume_control_desktop.cc" ]
}
}
cast_source_set("mixer_output") {
sources = [
"mixer_output_stream_desktop.h",
"mixer_output_stream_desktop.cc"
]
deps = [
"//base",
"//chromecast/public/media",
"//media",
]
}