blob: e8832aea74501bf0fa874d74c136470deb9556ad [file] [log] [blame]
# Copyright 2018 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") {
output_name = "bt-hci-emulator"
testonly = true
with_unit_tests = true
deps = [
"//src/connectivity/bluetooth/testing/hci-emulator-client",
"//src/lib/fdio/rust:fdio",
"//src/lib/fuchsia-async",
"//third_party/rust_crates:anyhow",
"//third_party/rust_crates:futures",
"//third_party/rust_crates:rand",
"//third_party/rust_crates:thiserror",
]
sources = [ "src/main.rs" ]
configs -= [ "//build/config/rust:allow_unused_results" ]
}
fuchsia_shell_package("bt-hci-emulator") {
testonly = true
deps = [ ":bin" ]
}