| # Copyright 2019 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("//third_party/blink/renderer/modules/modules.gni") |
| |
| blink_modules_sources("media") { |
| sources = [ |
| "audio/audio_renderer_mixer_manager.cc", |
| "audio/audio_renderer_mixer_manager.h", |
| "audio/audio_renderer_sink_cache.cc", |
| "audio/audio_renderer_sink_cache.h", |
| "audio/mojo_audio_input_ipc.cc", |
| "audio/mojo_audio_input_ipc.h", |
| "audio/mojo_audio_output_ipc.cc", |
| "audio/mojo_audio_output_ipc.h", |
| "audio/web_audio_device_factory.cc", |
| "audio/web_audio_input_ipc_factory.cc", |
| "audio/web_audio_output_ipc_factory.cc", |
| "webmediaplayer_util.cc", |
| ] |
| |
| deps = [ "//build:chromeos_buildflags" ] |
| |
| if (is_fuchsia) { |
| sources += [ "audio/fuchsia_audio_device_factory.cc" ] |
| |
| deps += [ |
| "//media/fuchsia/audio", |
| "//media/fuchsia/mojom:mojom_blink", |
| ] |
| } |
| } |