load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") | |
go_library( | |
name = "bootparam", | |
srcs = [ | |
"bootparam.go", | |
"params.go", | |
], | |
importpath = "source.monogon.dev/metropolis/pkg/bootparam", | |
visibility = ["//visibility:public"], | |
) | |
go_test( | |
name = "bootparam_test", | |
srcs = [ | |
"bootparam_test.go", | |
"params_test.go", | |
], | |
embed = [":bootparam"], | |
gc_goopts = ["-d=libfuzzer"], | |
deps = [ | |
"//metropolis/pkg/bootparam/ref", | |
"@com_github_google_go_cmp//cmp", | |
], | |
) |