blob: ea0a2eaa0128e6ff1581010e40fb55223b782ee6 [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("tests") {
testonly = true
deps = [ ":ffx_preflight_test($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")
ffx_plugin("ffx_preflight") {
sources = [
"src/analytics.rs",
"src/check.rs",
"src/check/build_prereqs.rs",
"src/check/emu_acceleration.rs",
"src/check/emu_networking.rs",
"src/check/femu_graphics.rs",
"src/check/ssh_checks.rs",
"src/command_runner.rs",
"src/config.rs",
"src/json.rs",
"src/lib.rs",
]
args_deps = [
"//src/developer/ffx/core:lib",
"//third_party/rust_crates:argh",
]
args_sources = [ "src/args.rs" ]
edition = "2024"
sdk_category = "not-yet-specified"
version = "0.1.0"
visibility = [
":*",
"//src/developer/ffx/plugins/platform:*",
]
deps = [
"//src/developer/ffx/config:lib",
"//src/developer/ffx/lib/fho:lib",
"//src/developer/ffx/lib/writer:lib",
"//src/lib/analytics/rust:lib",
"//third_party/rust_crates:anyhow",
"//third_party/rust_crates:log",
"//third_party/rust_crates:regex",
"//third_party/rust_crates:serde",
"//third_party/rust_crates:serde_json",
"//third_party/rust_crates:termion",
"//third_party/rust_crates:textwrap",
]
}
if (is_host) {
rustc_test("ffx_preflight_test") {
sources = [
"src/analytics.rs",
"src/check.rs",
"src/check/build_prereqs.rs",
"src/check/emu_acceleration.rs",
"src/check/emu_networking.rs",
"src/check/femu_graphics.rs",
"src/check/ssh_checks.rs",
"src/command_runner.rs",
"src/config.rs",
"src/json.rs",
"src/lib.rs",
]
edition = "2024"
deps = [
":ffx_preflight_args",
"//src/developer/ffx/config:lib",
"//src/developer/ffx/lib/fho:lib",
"//src/developer/ffx/lib/writer:lib",
"//src/lib/analytics/rust:lib",
"//third_party/rust_crates:anyhow",
"//third_party/rust_crates:log",
"//third_party/rust_crates:regex",
"//third_party/rust_crates:serde",
"//third_party/rust_crates:serde_json",
"//third_party/rust_crates:termion",
"//third_party/rust_crates:textwrap",
] + [ "//src/lib/fuchsia" ]
visibility = [
":*",
"//src/developer/ffx:*",
]
}
}