blob: 9e282c00f0702b8b4eeb54c5c53e3943b6b66d3b [file]
# Copyright 2026 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/bazel/bazel_test_suite.gni")
bazel_test_suite("bazel_tests") {
target_tests = [ "//src/storage/lib/dm_verity:dm_verity_tests" ]
}
group("tests") {
testonly = true
public_deps = [
":bazel_tests",
":dm_verity_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("dm_verity") {
sources = [ "src/lib.rs" ]
edition = "2024"
visibility = [
":*",
"//src/starnix/modules/device_mapper:*",
]
deps = [
"//sdk/rust/zx-status",
"//src/storage/lib/fsverity-merkle",
"//third_party/rust_crates:hex",
"//third_party/rust_crates:thiserror",
]
}
rustc_test("dm_verity_test") {
sources = [ "src/lib.rs" ]
edition = "2024"
deps = [
"//sdk/rust/zx-status",
"//src/storage/lib/fsverity-merkle",
"//third_party/rust_crates:hex",
"//third_party/rust_crates:thiserror",
] + [ "//third_party/rust_crates:test-case" ]
}
fuchsia_unittest_package("dm_verity_tests") {
package_name = "dm_verity_tests-gn"
component_name = "dm_verity_tests"
deps = [ ":dm_verity_test" ]
}