blob: 2d4ebcb8056d6c63638d0a1a7ddf92c9f952c17d [file] [log] [blame]
# Copyright 2020 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, "ffx_config is for use with the host toolchain only")
rustc_library("lib") {
name = "ffx_core"
version = "0.1.0"
edition = "2024"
with_unit_tests = true
deps = [
"macro:lib",
"//sdk/fidl/fuchsia.developer.remotecontrol:fuchsia.developer.remotecontrol_rust",
"//sdk/fidl/fuchsia.developer.remotecontrol:fuchsia.developer.remotecontrol_rust_fdomain",
"//src/developer/ffx/fidl:fuchsia.developer.ffx_rust",
"//src/developer/ffx/lib/errors:lib",
"//src/developer/ffx/lib/rcs:lib",
"//src/lib/fidl/rust/fidl",
"//src/lib/fuchsia-async",
"//third_party/rust_crates:anyhow",
"//third_party/rust_crates:async-trait",
"//third_party/rust_crates:futures",
"//third_party/rust_crates:thiserror",
]
test_deps = [
"//src/lib/fuchsia",
"//third_party/rust_crates:assert_matches",
]
sources = [ "src/lib.rs" ]
}
group("tests") {
testonly = true
deps = [
":lib_test",
"macro:tests",
]
}