blob: 13fbf84278ad9e11332f9f9acf3a2892c9a649d0 [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 = "2024"
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:clap",
]
configs += [ "//build/config/rust/lints:clippy_warn_all" ]
}
fuchsia_component("test_component") {
testonly = true
manifest = "meta/test_component.cml"
deps = [ ":bin" ]
}