blob: 7a8e63c4afa16ec9a9ba77423e451c19dd1defa6 [file]
# Copyright 2021 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("temp_test_env") {
testonly = true
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") {
testonly = true
sources = [
"src/lib.rs",
"src/temp_test_env.rs",
]
crate_name = "temp_test_env"
disable_clippy = true
edition = "2024"
visibility = [
":*",
"//src/developer/lib/credentials:*",
"//src/lib/testing:*",
]
deps = [
"//third_party/rust_crates:anyhow",
"//third_party/rust_crates:tempfile",
]
}
}
if (is_host) {
rustc_test("lib_test") {
sources = [
"src/lib.rs",
"src/temp_test_env.rs",
]
edition = "2024"
deps = [
"//third_party/rust_crates:anyhow",
"//third_party/rust_crates:tempfile",
] + [ "//third_party/rust_crates:serial_test" ]
output_name = "temp_test_env_lib_test"
disable_clippy = true
visibility = [
":*",
"//src/lib:*",
]
}
}