blob: c59f1fb6d4f9d27ac7304a7a7c4f5b0245553eaf [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/buddy_allocator:buddy-allocator-tests" ]
host_tests = [ "//src/storage/lib/buddy_allocator:buddy_allocator_host_test" ]
}
group("tests") {
testonly = true
deps = [
":bazel_tests",
":buddy-allocator-tests",
":buddy_allocator_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")
rustc_library("buddy_allocator") {
sources = [ "src/lib.rs" ]
edition = "2024"
visibility = [
":*",
"//src/storage/lib/*",
]
deps = []
}
rustc_test("buddy_allocator_test") {
sources = [ "src/lib.rs" ]
edition = "2024"
deps = [] + [ "//src/lib/fuchsia" ]
}
fuchsia_unittest_package("buddy-allocator-tests") {
package_name = "buddy-allocator-tests-gn"
component_name = "buddy-allocator-tests"
deps = [ ":buddy_allocator_test" ]
}