blob: 3acfd2e74191b6002b7f1aaff25dca77ab6cff51 [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/rust/rustc_binary.gni")
import("//build/package.gni")
rustc_binary("bin") {
name = "wlantool2"
with_lto = "fat"
deps = [
"//garnet/lib/wlan/fidl:fidl-rustc",
"//garnet/lib/wlan/fidl:service-rustc",
"//garnet/lib/wlan/fidl:sme-rustc",
"//garnet/public/lib/fidl/rust/fidl",
"//garnet/public/rust/crates/fuchsia-app",
"//garnet/public/rust/crates/fuchsia-async",
"//garnet/public/rust/crates/fuchsia-zircon",
"//third_party/rust-crates/rustc_deps:clap",
"//third_party/rust-crates/rustc_deps:failure",
"//third_party/rust-crates/rustc_deps:futures",
"//third_party/rust-crates/rustc_deps:structopt",
]
}
package("wlantool2") {
deprecated_system_image = true
deps = [
":bin",
]
binaries = [ {
name = "rust_crates/wlantool2"
dest = "wlantool2"
} ]
}