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

     1  load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
     2  
     3  go_library(
     4      name = "go_default_library",
     5      srcs = [
     6          "cmdline.go",
     7          "corpus.go",
     8          "dirtrees.go",
     9          "format.go",
    10          "godoc.go",
    11          "index.go",
    12          "linkify.go",
    13          "meta.go",
    14          "page.go",
    15          "parser.go",
    16          "pres.go",
    17          "search.go",
    18          "server.go",
    19          "snippet.go",
    20          "spec.go",
    21          "spot.go",
    22          "tab.go",
    23          "template.go",
    24      ],
    25      importpath = "golang.org/x/tools/godoc",
    26      visibility = ["//visibility:public"],
    27      deps = [
    28          "//godoc/analysis:go_default_library",
    29          "//godoc/util:go_default_library",
    30          "//godoc/vfs:go_default_library",
    31          "//godoc/vfs/httpfs:go_default_library",
    32      ],
    33  )
    34  
    35  go_test(
    36      name = "go_default_test",
    37      srcs = [
    38          "cmdline_test.go",
    39          "godoc17_test.go",
    40          "godoc_test.go",
    41          "index_test.go",
    42      ],
    43      embed = [":go_default_library"],
    44      deps = [
    45          "//godoc/vfs:go_default_library",
    46          "//godoc/vfs/mapfs:go_default_library",
    47      ],
    48  )