blob: c00f70ea78988960279fffcf5973f34de9fb8b4c [file]
# Copyright 2023 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/assembly/bootfs_files_for_assembly.gni")
import("//build/dist/renamed_binary.gni")
renamed_binary("component-binary") {
source = "$root_out_dir/shared-multi-call-tool-binary"
source_deps = [ "//src/sys/tools/shared-multi-call-tool-binary" ]
dest = "bin/component"
}
bootfs_files_for_assembly("bootfs") {
deps = [ ":component-binary" ]
}
## BAZEL2GN SENTINEL - DO NOT EDIT BELOW THIS LINE ##
#
# ________ _________ ________ ________
# |\ ____\|\___ ___\\ __ \|\ __ \
# \ \ \___|\|___ \ \_\ \ \|\ \ \ \|\ \
# \ \_____ \ \ \ \ \ \ \\\ \ \ ____\
# \|____|\ \ \ \ \ \ \ \\\ \ \ \___|
# ____\_\ \ \ \__\ \ \_______\ \__\
# |\_________\ \|__| \|_______|\|__|
# \|_________|
#
#
# AUTO-GENERATED - DO NOT EDIT
#
# The targets below are auto-generated based on the targets defined in the
# BUILD.bazel file from the same directory. If you made changes to targets in
# Bazel, instead of editing this file manually, run:
#
# > fx bazel2gn
#
# Please do NOT edit this file directly. Instead, edit the BUILD.bazel file and
# rerun bazel2gn.
import("//build/tools/bazel2gn/bazel_migration.gni")
rustc_library("component") {
sources = [
"src/args.rs",
"src/lib.rs",
]
configs += [ "//build/config/rust:bootfs" ]
edition = "2024"
visibility = [
":*",
"//src/sys/tools/shared-multi-call-tool-binary:*",
]
deps = [
"//sdk/fidl/fuchsia.dash:fuchsia.dash_rust",
"//sdk/fidl/fuchsia.sys2:fuchsia.sys2_rust",
"//src/lib/fuchsia-component",
"//src/lib/fuchsia-url",
"//src/sys/lib/component_debug",
"//src/sys/lib/moniker",
"//src/sys/lib/socket-to-stdio",
"//third_party/rust_crates:anyhow",
"//third_party/rust_crates:argh",
"//third_party/rust_crates:futures",
]
}