blob: 94d21abeebc7db62d5c56b6fe593677f9bae84e6 [file] [log] [blame] [edit]
# Copyright 2022 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.
if (is_host) {
import("//build/rust/rustc_library.gni")
rustc_library("lib") {
name = "ffx_isolate"
version = "0.1.0"
edition = "2021"
with_unit_tests = true
deps = [
"//src/developer/ffx/config:lib",
"//src/lib/fuchsia-async",
"//third_party/rust_crates:anyhow",
"//third_party/rust_crates:serde",
"//third_party/rust_crates:serde_json",
"//third_party/rust_crates:tempfile",
]
sources = [ "src/lib.rs" ]
}
}
group("tests") {
testonly = true
deps = [ ":lib_test($host_toolchain)" ]
}
group("isolate") {
testonly = true
deps = [
":lib($host_toolchain)",
":tests",
]
}