blob: 56bbae5bc9089ba7f40036a3e6ab07ff7c33d965 [file] [log] [blame]
# Copyright 2019 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("blackout-host") {
edition = "2018"
with_unit_tests = true
deps = [
"//third_party/rust_crates:anyhow",
"//third_party/rust_crates:rand",
"//third_party/rust_crates:structopt",
"//third_party/rust_crates:thiserror",
]
sources = [
"src/integration.rs",
"src/lib.rs",
"src/steps.rs",
]
}
}
group("tests") {
testonly = true
public_deps = [ ":blackout-host_test($host_toolchain)" ]
}