blob: 5a5704e58f3e9718d1d892d899c41d8ccf124ec1 [file] [log] [blame]
Lorenz Brun1cf17952023-02-13 17:41:59 +01001load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
2
3go_library(
4 name = "bootparam",
Lorenz Brund67eb4f2023-04-11 16:03:31 +02005 srcs = [
6 "bootparam.go",
7 "params.go",
8 ],
Tim Windelschmidt9f21f532024-05-07 15:14:20 +02009 importpath = "source.monogon.dev/osbase/bootparam",
Lorenz Brun1cf17952023-02-13 17:41:59 +010010 visibility = ["//visibility:public"],
11)
12
13go_test(
14 name = "bootparam_test",
Lorenz Brund67eb4f2023-04-11 16:03:31 +020015 srcs = [
16 "bootparam_test.go",
17 "params_test.go",
18 ],
19 embed = [":bootparam"],
Lorenz Brun1cf17952023-02-13 17:41:59 +010020 gc_goopts = ["-d=libfuzzer"],
21 deps = [
Tim Windelschmidt9f21f532024-05-07 15:14:20 +020022 "//osbase/bootparam/ref",
Lorenz Brun1cf17952023-02-13 17:41:59 +010023 "@com_github_google_go_cmp//cmp",
24 ],
25)