blob: b9110113b77b0a5dc2bcdc0b0b8cd33e170ea6ef [file] [log] [blame]
# Copyright 2018 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") {
output_name = "cs"
edition = "2018"
source_root = "main.rs"
deps = [
"//garnet/lib/rust/io_util",
"//sdk/fidl/fuchsia.inspect.deprecated:fuchsia.inspect.deprecated-rustc",
"//src/lib/diagnostics/inspect/rust",
"//src/lib/diagnostics/reader/rust",
"//src/lib/fdio/rust:fdio",
"//src/lib/fidl/rust/fidl",
"//src/lib/fuchsia-async",
"//src/lib/zircon/rust:fuchsia-zircon",
"//third_party/rust_crates:anyhow",
"//third_party/rust_crates:structopt",
]
sources = [
"freq.rs",
"log_stats.rs",
"main.rs",
]
}
fuchsia_shell_package("cs") {
deps = [ ":bin" ]
manifest = "meta/cs.cmx"
}