| # 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/package.gni") |
| import("//build/rust/rustc_binary.gni") |
| |
| rustc_binary("bin") { |
| name = "qmi_snoop" |
| edition = "2018" |
| |
| deps = [ |
| "//garnet/public/lib/fidl/rust/fidl", |
| "//garnet/public/rust/fuchsia-async", |
| "//src/connectivity/telephony/lib/qmi", |
| "//third_party/rust_crates:failure", |
| "//third_party/rust_crates:futures-preview", |
| "//third_party/rust_crates:structopt", |
| "//zircon/public/fidl/fuchsia-telephony-snoop:fuchsia-telephony-snoop-rustc", |
| ] |
| } |
| |
| package("qmi-snoop") { |
| deps = [ |
| ":bin", |
| ] |
| |
| binaries = [ |
| { |
| name = "qmi_snoop" |
| dest = "qmi-snoop" |
| path = "rust_crates/qmi_snoop" |
| shell = true |
| }, |
| ] |
| } |