blob: 46fcc9c8c39139e5b994c4173b8d5dfc3d7dbc93 [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_binary.gni")
import("//build/rust/rustc_test.gni")
shared_deps = [
"//src/diagnostics/lib/triage",
"//src/diagnostics/triage:triage_app_lib",
"//third_party/rust_crates:anyhow",
"//third_party/rust_crates:structopt",
]
rustc_test("triage_config_test_runner_test") {
edition = "2021"
source_root = "src/main.rs"
deps = shared_deps + [ "//src/lib/fuchsia" ]
sources = [ "src/main.rs" ]
}
rustc_binary("triage_config_test_runner") {
edition = "2021"
deps = shared_deps
sources = [ "src/main.rs" ]
}
group("tests") {
testonly = true
deps = [ ":triage_config_test_runner_test($host_toolchain)" ]
}