blob: b4a280c09df8036055ea6a2218f3dc56f8216233 [file]
# Copyright 2022 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("credentials") {
public_deps = [ ":lib($host_toolchain)" ]
}
group("tests") {
testonly = true
deps = [ ":lib_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")
if (is_host) {
rustc_library("lib") {
sources = [ "src/lib.rs" ]
crate_name = "credentials"
edition = "2024"
visibility = [
":*",
"//src/developer/ffx/*",
"//src/developer/lib:*",
"//src/lib/assembly/product_bundle:*",
]
deps = [
"//src/lib/gcs",
"//third_party/rust_crates:anyhow",
"//third_party/rust_crates:home",
"//third_party/rust_crates:log",
"//third_party/rust_crates:serde",
"//third_party/rust_crates:serde_json",
]
}
}
if (is_host) {
rustc_test("lib_test") {
sources = [ "src/lib.rs" ]
edition = "2024"
deps = [
"//src/lib/gcs",
"//third_party/rust_crates:anyhow",
"//third_party/rust_crates:home",
"//third_party/rust_crates:log",
"//third_party/rust_crates:serde",
"//third_party/rust_crates:serde_json",
] +
[
"//src/lib/fuchsia-async",
"//src/lib/testing/temp_test_env:lib",
"//third_party/rust_crates:serial_test",
]
output_name = "credentials_lib_test"
visibility = [
":*",
"//src/developer:*",
]
}
}