kythe.io@v0.0.68-0.20240422202219-7225dbc01741/kythe/go/platform/kzip/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 = "kzip",
     7      srcs = ["kzip.go"],
     8      importpath = "kythe.io/kythe/go/platform/kzip",
     9      deps = [
    10          "//kythe/go/platform/kcd/kythe",
    11          "//kythe/go/util/log",
    12          "//kythe/go/util/ptypes",
    13          "//kythe/proto:analysis_go_proto",
    14          "//kythe/proto:buildinfo_go_proto",
    15          "//kythe/proto:cxx_go_proto",
    16          "//kythe/proto:filecontext_go_proto",
    17          "//kythe/proto:go_go_proto",
    18          "//kythe/proto:java_go_proto",
    19          "//kythe/proto:storage_go_proto",
    20          "@com_github_golang_protobuf//proto:go_default_library",
    21          "@org_bitbucket_creachadair_stringset//:stringset",
    22          "@org_golang_google_protobuf//encoding/protojson",
    23          "@org_golang_x_sync//errgroup",
    24      ],
    25  )
    26  
    27  go_test(
    28      name = "kzip_test",
    29      srcs = ["kzip_test.go"],
    30      data = [
    31          "//kythe/testdata/platform:missing-pbunit.kzip",
    32          "//kythe/testdata/platform:missing-unit.kzip",
    33      ],
    34      deps = [
    35          ":kzip",
    36          "//kythe/go/test/testutil",
    37          "//kythe/proto:analysis_go_proto",
    38          "//kythe/proto:storage_go_proto",
    39          "@org_golang_google_protobuf//proto",
    40      ],
    41  )