blob: 34498f4084fd1233eebf136d703d1620e4ffb33e [file]
# Copyright 2025 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")
if (is_host) {
rustc_library("lib") {
sources = [ "src/lib.rs" ]
crate_name = "ffx_diagnostics_analytics"
edition = "2024"
visibility = [
":*",
"//src/developer/ffx/lib/diagnostics/checks:*",
"//src/developer/ffx/lib/fastboot/transport/factory:*",
"//src/developer/ffx/lib/target:*",
]
deps = [
"//src/developer/ffx/lib/diagnostics/analytics/state:lib",
"//src/developer/ffx/lib/discovery:lib",
"//src/developer/ffx/lib/errors:lib",
"//src/developer/ffx/lib/metrics:lib",
"//src/lib/analytics/rust:lib",
"//src/lib/fidl/rust/fidl",
"//third_party/rust_crates:log",
]
}
}
if (is_host) {
rustc_test("lib_test") {
sources = [ "src/lib.rs" ]
edition = "2024"
deps = [
"//src/developer/ffx/lib/diagnostics/analytics/state:lib",
"//src/developer/ffx/lib/discovery:lib",
"//src/developer/ffx/lib/errors:lib",
"//src/developer/ffx/lib/metrics:lib",
"//src/lib/analytics/rust:lib",
"//src/lib/fidl/rust/fidl",
"//third_party/rust_crates:log",
] + [ "//third_party/rust_crates:pretty_assertions" ]
output_name = "ffx_diagnostics_analytics_lib_test"
visibility = [
":*",
"//src/developer/ffx:*",
"//src/developer/ffx/lib/diagnostics:*",
]
}
}