blob: f13a2d4362237e01834bb2ed2ef1311ff158a19a [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/components.gni")
import("//build/rust/rustc_binary.gni")
rustc_binary("bin") {
testonly = true
name = "iquery_test_component"
edition = "2021"
source_root = "main.rs"
sources = [ "main.rs" ]
deps = [
"//src/lib/diagnostics/inspect/runtime/rust",
"//src/lib/diagnostics/inspect/rust",
"//src/lib/diagnostics/inspect/rust/testing:inspect_testing",
"//src/lib/fuchsia",
"//third_party/rust_crates:anyhow",
"//third_party/rust_crates:structopt",
]
}
fuchsia_component("test_component") {
testonly = true
manifest = "meta/test_component.cml"
deps = [ ":bin" ]
}