blob: b965e2b56b847cbeb1af8ffce565c883cedb4d77 [file] [log] [blame]
# Copyright 2020 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("//build/components.gni")
import("//build/config.gni")
import("//build/rust/rustc_binary.gni")
rustc_binary("bin") {
edition = "2021"
output_name = "audio_device_output_harness"
deps = [
"//sdk/fidl/fuchsia.media:fuchsia.media_rust",
"//src/connectivity/bluetooth/lib/fuchsia-audio-device",
"//src/lib/fuchsia",
"//src/lib/fuchsia-async",
"//src/lib/fuchsia-component",
"//src/lib/zircon/rust:fuchsia-zircon",
"//third_party/rust_crates:anyhow",
"//third_party/rust_crates:futures",
"//third_party/rust_crates:tracing",
]
sources = [ "src/main.rs" ]
configs -= [ "//build/config/rust/lints:allow_unused_results" ]
}
fuchsia_component("audio-device-output-harness") {
component_name = "audio-device-output-harness"
manifest = "meta/audio-device-output-harness.cml"
deps = [ ":bin" ]
}