kythe.io@v0.0.68-0.20240422202219-7225dbc01741/kythe/go/util/markedsource/BUILD (about)

     1  load("//tools:build_rules/shims.bzl", "go_library", "go_test")
     2  
     3  package(default_visibility = ["//kythe:default_visibility"])
     4  
     5  go_library(
     6      name = "markedsource",
     7      srcs = [
     8          "markedsource.go",
     9          "resolve.go",
    10      ],
    11      importpath = "kythe.io/kythe/go/util/markedsource",
    12      deps = [
    13          "//kythe/go/util/kytheuri",
    14          "//kythe/go/util/md",
    15          "//kythe/go/util/schema/edges",
    16          "//kythe/go/util/schema/facts",
    17          "//kythe/proto:common_go_proto",
    18          "//kythe/proto:storage_go_proto",
    19          "@com_github_johanneskaufmann_html_to_markdown//escape",
    20          "@org_golang_google_protobuf//encoding/protojson",
    21          "@org_golang_google_protobuf//proto",
    22      ],
    23  )
    24  
    25  go_test(
    26      name = "markedsource_test",
    27      size = "small",
    28      srcs = [
    29          "markedsource_test.go",
    30          "resolve_test.go",
    31      ],
    32      data = ["//kythe/cxx/doc"],
    33      library = ":markedsource",
    34      visibility = ["//visibility:private"],
    35      deps = [
    36          "//kythe/go/test/testutil",
    37          "//kythe/go/util/compare",
    38          "//kythe/go/util/kytheuri",
    39          "//kythe/go/util/schema/edges",
    40          "//kythe/go/util/schema/facts",
    41          "//kythe/proto:common_go_proto",
    42          "//kythe/proto:storage_go_proto",
    43          "@org_golang_google_protobuf//encoding/prototext",
    44          "@org_golang_google_protobuf//proto",
    45      ],
    46  )