| # Copyright 2021 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/rust/rustc_binary.gni") |
| |
| rustc_binary("bin") { |
| edition = "2021" |
| output_name = "dai-info" |
| with_unit_tests = true |
| |
| deps = [ |
| "//src/connectivity/bluetooth/lib/fuchsia-audio-dai", |
| "//src/lib/fuchsia", |
| "//third_party/rust_crates:anyhow", |
| ] |
| |
| sources = [ "src/main.rs" ] |
| |
| configs -= [ "//build/config/rust/lints:allow_unused_results" ] |
| } |
| |
| fuchsia_package("dai-info") { |
| deps = [ ":bin" ] |
| } |