blob: 0595216a0717ed2d289aa5855e05b87bd7a0daa8 [file] [log] [blame]
# Copyright 2024 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("shared-multi-call-tool-binary") {
visibility = [
":*",
"../component:*",
"../package:*",
]
edition = "2021"
deps = [
"//src/lib/fuchsia",
"//src/sys/tools/component",
"//src/sys/tools/package",
"//third_party/rust_crates:anyhow",
"//third_party/rust_crates:futures",
]
# This is only used in eng products, not production.
deps += [ "//build/validate:non_production_tag" ]
sources = [ "src/main.rs" ]
configs += [
"//build/config/rust/lints:clippy_warn_all",
# This binary is a part of the bootfs image, so attempt to minimize its size impact.
"//build/config/rust:bootfs",
]
}