blob: 8bf6591cff2566531ea9ff72a83d81674d2cbc44 [file]
# Copyright 2020 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.
group("fastboot") {
deps = [
":lib($host_toolchain)",
# This target copies the prebuilt fastboot into the build directory - as if
# it were a normally built tool - and defines metadata depended upon by the
# flashing workflow. When this fastboot implementation is ready, flashing
# logic should be replaced by the new tool - and this depedency may safely
# be removed.
"//build/images/tools:fastboot($host_toolchain)",
]
}
## 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")
if (is_host) {
rustc_library("lib") {
sources = [
"src/command.rs",
"src/lib.rs",
"src/reply.rs",
"src/test_transport.rs",
]
crate_name = "fastboot"
edition = "2024"
test_deps = [ "//src/lib/fuchsia" ]
visibility = [
":*",
"//src/developer/ffx:*",
"//src/developer/ffx/lib/discovery:*",
"//src/developer/ffx/lib/fastboot:*",
"//src/developer/ffx/lib/fastboot/interface:*",
"//src/developer/ffx/lib/fastboot/transport/factory:*",
]
with_unit_tests = true
deps = [
"//src/lib/fuchsia-async",
"//third_party/rust_crates:async-fs",
"//third_party/rust_crates:chrono",
"//third_party/rust_crates:futures",
"//third_party/rust_crates:log",
"//third_party/rust_crates:thiserror",
"//third_party/rust_crates:tokio",
]
}
}