blob: 91f6592477144c9093ad0f01f2830fafabb564b0 [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/components.gni")
import("//build/config.gni")
import("//build/rust/rustc_binary.gni")
rustc_binary("bin") {
output_name = "lowpan_monitor"
edition = "2021"
deps = [
"//sdk/fidl/fuchsia.component:fuchsia.component_rust",
"//src/lib/fidl/rust/fidl",
"//src/lib/fuchsia",
"//src/lib/fuchsia-async",
"//src/lib/fuchsia-component",
"//src/lib/zircon/rust:fuchsia-zircon",
"//third_party/rust_crates:anyhow",
"//third_party/rust_crates:tracing",
]
sources = [ "src/main.rs" ]
}
fuchsia_component("lowpan-monitor") {
component_name = "lowpan-monitor"
deps = [ ":bin" ]
manifest = "meta/lowpan-monitor.cml"
}