blob: 149e993bf0251daa461727090117390a27713795 [file]
# Copyright 2023 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.
import("//build/components.gni")
import("//build/rust/rustc_library.gni")
fuchsia_unittest_package("diagnostics-assertions-tests") {
deps = [ ":diagnostics-assertions_test" ]
test_specs = {
log_settings = {
max_severity = "ERROR"
}
}
}
group("tests") {
testonly = true
deps = [ ":diagnostics-assertions-tests" ]
}
## 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")
rustc_library("diagnostics-assertions") {
testonly = true
sources = [ "src/lib.rs" ]
edition = "2024"
lint_config = "//build/config/rust/lints:clippy_warn_all"
test_deps = [ "//src/lib/fuchsia" ]
version = "0.1.0"
with_unit_tests = true
deps = [
"//src/lib/diagnostics/hierarchy/rust:diagnostics-hierarchy",
"//third_party/rust_crates:anyhow",
"//third_party/rust_crates:difference",
"//third_party/rust_crates:num-traits",
"//third_party/rust_crates:regex",
"//third_party/rust_crates:serde_json",
]
}
group("rust") {
testonly = true
public_deps = [ ":diagnostics-assertions" ]
}