blob: dfbd46032346acbeb2b381f64301a72c664e5282 [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.
## 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_version") {
sources = [
"src/lib.rs",
"src/serialization.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/*",
]
deps = [
"//src/developer/ffx/config:lib",
"//src/developer/ffx/lib/fho:lib",
"//src/developer/ffx/lib/version:lib",
"//src/developer/ffx/lib/writer:lib",
"//third_party/rust_crates:chrono",
"//third_party/rust_crates:schemars",
"//third_party/rust_crates:serde",
]
}
if (is_host) {
rustc_test("ffx_version_test") {
sources = [
"src/lib.rs",
"src/serialization.rs",
]
edition = "2024"
deps = [
":ffx_version_args",
"//src/developer/ffx/config:lib",
"//src/developer/ffx/lib/fho:lib",
"//src/developer/ffx/lib/version:lib",
"//src/developer/ffx/lib/writer:lib",
"//third_party/rust_crates:chrono",
"//third_party/rust_crates:schemars",
"//third_party/rust_crates:serde",
]
visibility = [
":*",
"//src/developer/ffx:*",
]
}
}