blob: 50b7452c9f6b4913aa4d6bee1c8d18b136b326b6 [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.
import("//build/host.gni")
import("//build/rust/rustc_binary.gni")
rustc_binary("test_list_tool") {
edition = "2021"
name = "test_list_tool"
with_unit_tests = true
deps = [
"//sdk/fidl/fuchsia.component.decl:fuchsia.component.decl-rustc",
"//sdk/fidl/fuchsia.data:fuchsia.data-rustc",
"//src/lib/diagnostics/data/rust",
"//src/lib/fidl/rust/fidl",
"//src/lib/fuchsia-url",
"//src/lib/testing/test_list",
"//src/sys/pkg/lib/far/rust:fuchsia-archive",
"//src/sys/pkg/lib/fuchsia-pkg",
"//third_party/rust_crates:anyhow",
"//third_party/rust_crates:maplit",
"//third_party/rust_crates:serde",
"//third_party/rust_crates:serde_json",
"//third_party/rust_crates:structopt",
"//third_party/rust_crates:tempfile",
"//third_party/rust_crates:thiserror",
]
sources = [
"src/error.rs",
"src/main.rs",
"src/opts.rs",
]
testonly = true
}
install_host_tools("install") {
testonly = true
deps = [ ":test_list_tool" ]
outputs = [ "test_list_tool" ]
}