blob: 01de211ea44fe81d5671669c48d848d3b33e1ca9 [file] [log] [blame]
# Copyright 2022 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") {
name = "accountctl"
edition = "2021"
with_unit_tests = true
deps = [
"//sdk/fidl/fuchsia.identity.account:fuchsia.identity.account-rustc",
"//src/lib/fidl/rust/fidl",
"//src/lib/fuchsia-async",
"//src/lib/fuchsia-component",
"//src/lib/syslog/rust:syslog",
"//src/lib/zircon/rust:fuchsia-zircon",
"//third_party/rust_crates:anyhow",
"//third_party/rust_crates:argh",
"//third_party/rust_crates:futures",
"//third_party/rust_crates:log",
]
test_deps = [
"//src/lib/fuchsia",
"//third_party/rust_crates:assert_matches",
]
sources = [
"src/args.rs",
"src/main.rs",
]
}
fuchsia_shell_package("accountctl") {
deps = [ ":bin" ]
manifest = "meta/accountctl.cmx"
}