kythe.io@v0.0.68-0.20240422202219-7225dbc01741/kythe/go/util/span/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 = "span",
     7      srcs = ["span.go"],
     8      importpath = "kythe.io/kythe/go/util/span",
     9      deps = [
    10          "//kythe/go/util/log",
    11          "//kythe/proto:common_go_proto",
    12          "//kythe/proto:serving_go_proto",
    13          "//kythe/proto:xref_go_proto",
    14          "@com_github_sergi_go_diff//diffmatchpatch",
    15          "@org_golang_google_protobuf//proto",
    16      ],
    17  )
    18  
    19  go_test(
    20      name = "span_test",
    21      size = "small",
    22      srcs = ["span_test.go"],
    23      library = ":span",
    24      visibility = ["//visibility:private"],
    25      deps = [
    26          "//kythe/go/test/testutil",
    27          "//kythe/go/util/compare",
    28          "//kythe/proto:common_go_proto",
    29          "@com_github_google_go_cmp//cmp/cmpopts",
    30          "@org_golang_google_protobuf//proto",
    31      ],
    32  )