blob: c015ef173cb8ea463e1d2761c96d8bdb3a6a4d45 [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_binary.gni")
import("//src/sys/build/components.gni")
rustc_binary("bin") {
edition = "2018"
name = "iquery_basic_component"
source_root = "main.rs"
deps = [
"//src/lib/diagnostics/inspect/rust",
"//src/lib/fuchsia-async",
"//src/lib/fuchsia-component",
"//third_party/rust_crates:anyhow",
"//third_party/rust_crates:futures",
]
sources = [ "main.rs" ]
}
fuchsia_component("basic_component") {
testonly = true
manifest = "meta/basic_component.cmx"
deps = [ ":bin" ]
}