github.com/bazelbuild/bazel-gazelle@v0.36.1-0.20240520142334-61b277ba6fed/third_party/org_golang_x_tools/cmd/godex/BUILD.bazel.in (about)

     1  load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library")
     2  
     3  go_library(
     4      name = "go_default_library",
     5      srcs = [
     6          "doc.go",
     7          "gc.go",
     8          "gccgo.go",
     9          "godex.go",
    10          "isAlias18.go",
    11          "isAlias19.go",
    12          "print.go",
    13          "source.go",
    14          "writetype.go",
    15      ],
    16      importpath = "golang.org/x/tools/cmd/godex",
    17      visibility = ["//visibility:private"],
    18  )
    19  
    20  go_binary(
    21      name = "godex",
    22      embed = [":go_default_library"],
    23      visibility = ["//visibility:public"],
    24  )