1load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") 2 3go_library( 4 name = "pythonconfig", 5 srcs = [ 6 "pythonconfig.go", 7 "types.go", 8 ], 9 importpath = "github.com/bazelbuild/rules_python/gazelle/pythonconfig", 10 visibility = ["//visibility:public"], 11 deps = [ 12 "//manifest", 13 "@bazel_gazelle//label:go_default_library", 14 "@com_github_emirpasic_gods//lists/singlylinkedlist", 15 ], 16) 17 18go_test( 19 name = "pythonconfig_test", 20 srcs = ["pythonconfig_test.go"], 21 embed = [":pythonconfig"], 22) 23 24filegroup( 25 name = "distribution", 26 srcs = glob(["**"]), 27 visibility = ["//:__pkg__"], 28) 29