| # Copyright 2022 The Fuchsia 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("//src/developer/ffx/build/ffx_plugin.gni") |
| import("//src/developer/ffx/build/ffx_tool.gni") |
| |
| ffx_plugin("ffx_audio") { |
| version = "0.1.0" |
| edition = "2021" |
| with_unit_tests = false |
| |
| plugin_deps = [ |
| "device:ffx_audio_device", |
| "gen:ffx_audio_gen", |
| "list-devices:ffx_audio_listdevices", |
| "play:ffx_audio_play", |
| "record:ffx_audio_record", |
| ] |
| args_sources = [ "src/args.rs" ] |
| |
| deps = [ "//src/developer/ffx/lib/errors:lib" ] |
| } |
| |
| ffx_tool("ffx_audio_tool") { |
| edition = "2021" |
| output_name = "ffx-audio" |
| deps = [ |
| ":ffx_audio_suite", |
| "//src/lib/fuchsia-async", |
| ] |
| sources = [ "src/main.rs" ] |
| } |