naiveproxy/chromecast/media/audio/BUILD.gn

52 lines
1.2 KiB
Plaintext
Raw Normal View History

2018-08-15 01:19:20 +03:00
# 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",
"//content/public/common",
"//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",
]
}