blob: f5a58f38ddd77ce6582d5dd761f6c8c38a0ac410 [file] [log] [blame]
# Copyright 2019 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_library.gni")
rustc_library("lib") {
name = "bt_tool_cli"
with_unit_tests = true
deps = [
"//src/lib/fdio/rust:fdio",
"//src/lib/fuchsia-runtime",
"//src/lib/zircon/rust:fuchsia-zircon",
"//src/lib/zircon/rust:fuchsia-zircon-sys",
"//third_party/rust_crates:anyhow",
"//third_party/rust_crates:thiserror",
]
sources = [ "src/lib.rs" ]
}
fuchsia_unittest_package("bt-tool-cli-tests") {
manifest = "meta/bt-tool-cli-tests.cmx"
deps = [
":lib_test",
# include these binaries in our package so we aren't dependent on the /bin ones.
"//src/connectivity/bluetooth/tools/bt-avrcp-controller:bin",
"//src/connectivity/bluetooth/tools/bt-snoop-cli:bin",
]
}