blob: 5feb5ced7da191bcdfd3799ab5851bf99952e39f [file] [log] [blame]
# Copyright 2025 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/rust/rustc_library.gni")
assert(is_host, "target_connector is host only")
rustc_library("lib") {
name = "target_connector"
version = "0.1.0"
edition = "2024"
with_unit_tests = true
deps = [
"//src/developer/ffx/command/error:lib",
"//src/developer/ffx/fidl:fuchsia.developer.ffx_rust",
"//src/developer/ffx/lib/errors:lib",
"//src/developer/ffx/lib/fho:lib",
"//src/developer/ffx/lib/target:lib",
"//src/developer/ffx/lib/target/behavior:lib",
"//src/developer/ffx/lib/target/holders:lib",
"//src/developer/ffx/lib/target_errors:lib",
"//src/lib/fidl/rust/fidl",
"//third_party/rust_crates:async-trait",
"//third_party/rust_crates:log",
]
sources = [ "src/lib.rs" ]
}
group("connector") {
deps = [ ":lib" ]
}
group("tests") {
testonly = true
deps = [ ":lib_test($host_toolchain)" ]
}