github.com/bazelbuild/bazel-gazelle@v0.36.1-0.20240520142334-61b277ba6fed/third_party/org_golang_x_tools/cmd/bundle/BUILD.bazel.in (about) 1 load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library", "go_test") 2 3 go_library( 4 name = "go_default_library", 5 srcs = ["main.go"], 6 importpath = "golang.org/x/tools/cmd/bundle", 7 visibility = ["//visibility:private"], 8 deps = ["//go/loader:go_default_library"], 9 ) 10 11 go_binary( 12 name = "bundle", 13 embed = [":go_default_library"], 14 visibility = ["//visibility:public"], 15 ) 16 17 go_test( 18 name = "go_default_test", 19 srcs = ["main_test.go"], 20 embed = [":go_default_library"], 21 deps = ["//go/buildutil:go_default_library"], 22 )