blob: d35edb8ed34eeef0771d4342535de287803854f3 [file]
# Copyright 2023 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.
group("tests") {
testonly = true
deps = [ ":ffx_audio_common_test($host_toolchain)" ]
}
## BAZEL2GN SENTINEL - DO NOT EDIT BELOW THIS LINE ##
#
# ________ _________ ________ ________
# |\ ____\|\___ ___\\ __ \|\ __ \
# \ \ \___|\|___ \ \_\ \ \|\ \ \ \|\ \
# \ \_____ \ \ \ \ \ \ \\\ \ \ ____\
# \|____|\ \ \ \ \ \ \ \\\ \ \ \___|
# ____\_\ \ \ \__\ \ \_______\ \__\
# |\_________\ \|__| \|_______|\|__|
# \|_________|
#
#
# AUTO-GENERATED - DO NOT EDIT
#
# The targets below are auto-generated based on the targets defined in the
# BUILD.bazel file from the same directory. If you made changes to targets in
# Bazel, instead of editing this file manually, run:
#
# > fx bazel2gn
#
# Please do NOT edit this file directly. Instead, edit the BUILD.bazel file and
# rerun bazel2gn.
import("//build/tools/bazel2gn/bazel_migration.gni")
if (is_host) {
rustc_library("ffx_audio_common") {
sources = [ "src/lib.rs" ]
edition = "2024"
visibility = [
":*",
"//src/developer/ffx/plugins/audio/device:*",
"//src/developer/ffx/plugins/audio/play:*",
"//src/developer/ffx/plugins/audio/record:*",
]
deps = [
"//sdk/fidl/fuchsia.audio.controller:fuchsia.audio.controller_rust_fdomain",
"//src/developer/ffx/lib/futures:lib",
"//src/developer/ffx/lib/target/holders:lib",
"//src/developer/ffx/lib/timeout:lib",
"//src/lib/fdomain/client",
"//src/lib/fuchsia-async",
"//src/media/audio/lib/rust:fuchsia_audio_fdomain",
"//third_party/rust_crates:anyhow",
"//third_party/rust_crates:blocking",
"//third_party/rust_crates:futures",
"//third_party/rust_crates:serde",
]
}
}
if (is_host) {
rustc_test("ffx_audio_common_test") {
sources = [ "src/lib.rs" ]
edition = "2024"
deps = [
"//sdk/fidl/fuchsia.audio.controller:fuchsia.audio.controller_rust_fdomain",
"//src/developer/ffx/lib/futures:lib",
"//src/developer/ffx/lib/target/holders:lib",
"//src/developer/ffx/lib/timeout:lib",
"//src/lib/fdomain/client",
"//src/lib/fuchsia-async",
"//src/media/audio/lib/rust:fuchsia_audio_fdomain",
"//third_party/rust_crates:anyhow",
"//third_party/rust_crates:blocking",
"//third_party/rust_crates:futures",
"//third_party/rust_crates:serde",
]
visibility = [
":*",
"//src/developer/ffx:*",
]
}
}