blob: 3ce0f741c33b25dd7fc143533917a523512c95c6 [file] [log] [blame]
Lorenz Brun547b33f2020-04-23 15:27:06 +02001load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library", "go_test")
2
3go_library(
4 name = "go_default_library",
5 srcs = ["main.go"],
Serge Bazanski77cb6c52020-12-19 00:09:22 +01006 importpath = "git.monogon.dev/source/nexantic.git/metropolis/node/build/kconfig-patcher",
Lorenz Brun547b33f2020-04-23 15:27:06 +02007 visibility = ["//visibility:private"],
8)
9
10go_binary(
11 name = "kconfig-patcher",
12 embed = [":go_default_library"],
Serge Bazanski0be9be82021-01-07 15:23:44 +010013 visibility = [
14 "//metropolis/node:__pkg__",
15 "//metropolis/test/ktest:__pkg__",
16 ],
Lorenz Brun547b33f2020-04-23 15:27:06 +020017)
18
19go_test(
20 name = "go_default_test",
21 srcs = ["main_test.go"],
22 embed = [":go_default_library"],
23)