github.com/bazelbuild/bazel-gazelle@v0.36.1-0.20240520142334-61b277ba6fed/third_party/org_golang_x_tools/cmd/goyacc/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          "yacc.go",
     8      ],
     9      importpath = "golang.org/x/tools/cmd/goyacc",
    10      visibility = ["//visibility:private"],
    11  )
    12  
    13  go_binary(
    14      name = "goyacc",
    15      embed = [":go_default_library"],
    16      visibility = ["//visibility:public"],
    17  )