blob: 4174210ed499e78eed045f82fb8c4022db7fa36e [file]
# Copyright 2025 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("tests") {
testonly = true
deps = [
":split_enum_storage_test($host_toolchain)",
":split_enum_storage_unittests",
]
}
## 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("split_enum_storage") {
sources = [ "src/lib.rs" ]
crate_name = "split_enum_storage"
edition = "2024"
proc_macro_deps = [ ":split_enum_storage_macro" ]
visibility = [
":*",
"//src/starnix/kernel/core:*",
]
}
rustc_macro("split_enum_storage_macro") {
sources = [ "src/macro.rs" ]
crate_name = "split_enum_storage_macro"
source_root = "src/macro.rs"
edition = "2024"
deps = [
"//third_party/rust_crates:proc-macro2",
"//third_party/rust_crates:quote",
"//third_party/rust_crates:syn",
]
}
rustc_test("split_enum_storage_test") {
sources = [ "src/test.rs" ]
source_root = "src/test.rs"
edition = "2024"
deps = [
":split_enum_storage",
"//src/lib/fuchsia",
]
}
fuchsia_unittest_package("split_enum_storage_unittests") {
package_name = "split_enum_storage_unittests-gn"
component_name = "split_enum_storage_unittests"
deps = [ ":split_enum_storage_test" ]
visibility = [
":*",
"//src/starnix/lib:*",
]
}