blob: 9846ee710c627419534ff0b3849482a188fab89e [file] [log] [blame]
# 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/rust/rustc_library.gni")
rustc_library("lib") {
name = "rcs"
edition = "2021"
with_unit_tests = true
deps = [
"//sdk/fidl/fuchsia.developer.ffx:fuchsia.developer.ffx-rustc",
"//sdk/fidl/fuchsia.developer.remotecontrol:fuchsia.developer.remotecontrol-rustc",
"//sdk/fidl/fuchsia.overnet.protocol:fuchsia.overnet.protocol-rustc",
"//src/connectivity/overnet/lib/hoist",
"//src/developer/ffx/lib/errors:lib",
"//src/developer/ffx/lib/timeout:lib",
"//src/lib/diagnostics/selectors",
"//src/lib/fidl/rust/fidl",
"//src/lib/fuchsia-async",
"//third_party/rust_crates:anyhow",
"//third_party/rust_crates:futures",
"//third_party/rust_crates:log",
"//third_party/rust_crates:thiserror",
]
sources = [ "src/lib.rs" ]
}
group("rcs") {
testonly = true
public_deps = [ ":lib" ]
}
group("tests") {
testonly = true
deps = [ ":lib_test($host_toolchain)" ]
}