blob: 43965fc80b6bac891e3b670d9e92b610d67c8cde [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/package.gni")
import("//build/rust/rustc_binary.gni")
rustc_binary("bin") {
name = "bt_hci_emulator"
with_unit_tests = true
edition = "2018"
deps = [
"//src/connectivity/bluetooth/lib/fuchsia-bluetooth",
"//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" ]
}
package("bt-hci-emulator") {
name = "bt_hci_emulator"
deps = [ ":bin" ]
binaries = [
{
name = "bt_hci_emulator"
dest = "bt-hci-emulator"
shell = true
},
]
}