blob: d1a429afb33497740a727ec59cb1f5ef84106fa9 [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 ],
Lorenz Brun1cf17952023-02-13 17:41:59 +010019 gc_goopts = ["-d=libfuzzer"],
Jan Schär0fd36f42025-04-29 10:26:03 +000020 pure = "off",
Lorenz Brun1cf17952023-02-13 17:41:59 +010021 deps = [
Jan Schär1212ea12025-07-03 07:42:43 +000022 ":bootparam",
Tim Windelschmidt9f21f532024-05-07 15:14:20 +020023 "//osbase/bootparam/ref",
Lorenz Brun1cf17952023-02-13 17:41:59 +010024 "@com_github_google_go_cmp//cmp",
25 ],
26)