kythe.io@v0.0.68-0.20240422202219-7225dbc01741/kythe/go/util/ptypes/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 = "ptypes",
     7      srcs = ["ptypes.go"],
     8      importpath = "kythe.io/kythe/go/util/ptypes",
     9      deps = [
    10          "@com_github_golang_protobuf//proto:go_default_library",
    11          "@com_github_golang_protobuf//ptypes:go_default_library_gen",
    12          "@com_github_golang_protobuf//ptypes/any",
    13      ],
    14  )
    15  
    16  go_test(
    17      name = "ptypes_test",
    18      size = "small",
    19      srcs = ["ptypes_test.go"],
    20      library = ":ptypes",
    21      visibility = ["//visibility:private"],
    22      deps = [
    23          "@com_github_golang_protobuf//proto:go_default_library",
    24          "@com_github_golang_protobuf//ptypes/any",
    25      ],
    26  )