blob: efc82d67c82e973b4abaa93ec23127934734f65c [file] [log] [blame]
# Copyright 2021 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/components.gni")
rustc_binary("bin") {
name = "fidl_restart_driver_hosts"
deps = [
"//sdk/fidl/fuchsia.device.manager:fuchsia.device.manager-rustc",
"//src/lib/fuchsia-async",
"//src/lib/fuchsia-component",
"//third_party/rust_crates:anyhow",
"//third_party/rust_crates:futures",
"//third_party/rust_crates:structopt",
]
sources = [ "src/main.rs" ]
}
fuchsia_component("restart-driver-hosts-meta") {
manifest = "meta/client.cmx"
deps = [ ":bin" ]
}
fuchsia_package("restart-driver-hosts") {
package_name = "restart-driver-hosts"
deps = [ ":restart-driver-hosts-meta" ]
}