blob: 94a9afe7ed29a8c24aff3069b400f2b75241927d [file]
# 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")
if (host_toolchain == current_toolchain) {
rustc_library("lib") {
name = "ffx_config"
version = "0.1.0"
edition = "2018"
with_unit_tests = true
deps = [
"macro:config-macros",
"//src/connectivity/overnet/lib/hoist",
"//src/developer/ffx:ffx_lib_args",
"//src/developer/ffx:ffx_lib_sub_command",
"//src/developer/ffx/core:lib",
"//src/lib/fuchsia-async",
"//third_party/rust_crates:anyhow",
"//third_party/rust_crates:argh",
"//third_party/rust_crates:async-std",
"//third_party/rust_crates:async-trait",
"//third_party/rust_crates:chrono",
"//third_party/rust_crates:futures",
"//third_party/rust_crates:lazy_static",
"//third_party/rust_crates:libc",
"//third_party/rust_crates:log",
"//third_party/rust_crates:serde",
"//third_party/rust_crates:serde_json",
]
non_rust_deps = [ "//third_party/boringssl" ]
}
}
group("tests") {
testonly = true
deps = [ ":lib_test($host_toolchain)" ]
}