1load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") 2 3go_library( 4 name = "build", 5 srcs = [ 6 "labels.go", 7 "registry.go", 8 ], 9 importpath = "edge-infra.dev/pkg/edge/component/build", 10 visibility = ["//visibility:public"], 11 deps = ["//pkg/edge/constants"], 12) 13 14go_test( 15 name = "build_test", 16 srcs = ["registry_test.go"], 17 embed = [":build"], 18 deps = ["@com_github_peterbourgon_ff_v3//:ff"], 19)