blob: 8c2c8ef16aa977ac35f094af945e5a9a1f65570b [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/config.gni")
import("//build/rust/rustc_binary.gni")
import("//src/sys/build/components.gni")
rustc_binary("bin") {
name = "audio_device_output_harness"
edition = "2018"
deps = [
"//sdk/fidl/fuchsia.media:fuchsia.media-rustc",
"//src/connectivity/bluetooth/lib/fuchsia-audio-device-output",
"//src/lib/fidl/rust/fidl",
"//src/lib/fuchsia-async",
"//src/lib/fuchsia-component",
"//src/lib/syslog/rust:syslog",
"//src/lib/zircon/rust:fuchsia-zircon",
"//third_party/rust_crates:anyhow",
"//third_party/rust_crates:log",
]
sources = [ "src/main.rs" ]
}
fuchsia_component("component") {
component_name = "audio-device-output-harness"
manifest = "meta/audio-device-output-harness.cmx"
deps = [ ":bin" ]
}
fuchsia_package("audio-device-output-harness") {
deps = [ ":component" ]
}