summaryrefslogtreecommitdiff
path: root/chromium/chromecast/media/audio/BUILD.gn
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/chromecast/media/audio/BUILD.gn')
-rw-r--r--chromium/chromecast/media/audio/BUILD.gn27
1 files changed, 27 insertions, 0 deletions
diff --git a/chromium/chromecast/media/audio/BUILD.gn b/chromium/chromecast/media/audio/BUILD.gn
index 1e8b13a84d8..28f95044461 100644
--- a/chromium/chromecast/media/audio/BUILD.gn
+++ b/chromium/chromecast/media/audio/BUILD.gn
@@ -57,6 +57,24 @@ cast_source_set("interleaved_channel_mixer") {
]
}
+cast_source_set("cma_audio_output") {
+ sources = [
+ "cma_audio_output.cc",
+ "cma_audio_output.h",
+ ]
+
+ deps = [
+ "//base",
+ "//chromecast/base",
+ "//chromecast/common/mojom",
+ "//chromecast/media/base",
+ "//chromecast/media/cma/backend",
+ "//chromecast/media/cma/base",
+ "//chromecast/public/media",
+ "//media",
+ ]
+}
+
cast_source_set("audio") {
sources = [
"cast_audio_input_stream.cc",
@@ -74,11 +92,13 @@ cast_source_set("audio") {
deps = [
":audio_buildflags",
+ ":cma_audio_output",
"//base",
"//chromecast/base",
"//chromecast/common/mojom",
"//chromecast/media/api",
"//chromecast/media/audio/capture_service:receiver",
+ "//chromecast/media/audio/capture_service:utils",
"//chromecast/media/audio/mixer_service:common",
"//chromecast/media/audio/mixer_service:output_stream_connection",
"//chromecast/media/audio/mixer_service:proto",
@@ -103,6 +123,13 @@ cast_source_set("audio") {
]
}
+ if (is_android) {
+ sources += [
+ "cast_audio_manager_android.cc",
+ "cast_audio_manager_android.h",
+ ]
+ }
+
configs += [ "//media/audio:platform_config" ]
}