# Copyright 2015 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. import("//chromecast/chromecast.gni") import("//media/media_options.gni") cast_source_set("audio") { sources = [ "cast_audio_manager.cc", "cast_audio_manager.h", "cast_audio_mixer.cc", "cast_audio_mixer.h", "cast_audio_output_stream.cc", "cast_audio_output_stream.h", ] deps = [ "//base", "//chromecast/base", "//chromecast/common/mojom", "//chromecast/media/base", "//chromecast/media/cma/backend", "//chromecast/media/cma/base", "//chromecast/public/media", "//media", "//media:shared_memory_support", "//services/service_manager/public/cpp", ] if (use_alsa) { sources += [ "cast_audio_manager_alsa.cc", "cast_audio_manager_alsa.h", ] deps += [ "//content/public/browser" ] } configs += [ "//media/audio:platform_config" ] } cast_shared_library("libcast_external_audio_pipeline_1.0") { sources = [ "external_audio_pipeline_dummy.cc", ] public_deps = [ "//chromecast/public/media", ] }