| # 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/rust/rustc_binary.gni") | |
| import("//src/sys/build/fuchsia_shell_package.gni") | |
| rustc_binary("bin") { | |
| output_name = "tel-snoop-cli" | |
| edition = "2018" | |
| deps = [ | |
| "//sdk/fidl/fuchsia.telephony.snoop:fuchsia.telephony.snoop-rustc", | |
| "//src/lib/fuchsia-async", | |
| "//src/lib/fuchsia-component", | |
| "//src/lib/syslog/rust:syslog", | |
| "//third_party/rust_crates:anyhow", | |
| "//third_party/rust_crates:futures", | |
| "//third_party/rust_crates:itertools", | |
| "//third_party/rust_crates:thiserror", | |
| ] | |
| sources = [ "src/main.rs" ] | |
| } | |
| fuchsia_shell_package("tel-snoop-cli") { | |
| deps = [ ":bin" ] | |
| } |