blob: 9602c8ce44c9515561077ee77523b82bd3df5163 [file] [log] [blame]
# 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 = "2018"
with_unit_tests = true
deps = [
"//src/developer/ffx/config:lib",
"//src/developer/ffx/daemon:lib",
"//src/lib/fuchsia-async",
"//third_party/rust_crates:anyhow",
"//third_party/rust_crates:log",
"//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",
]
}