github.com/prysmaticlabs/prysm@v1.4.4/shared/grpcutils/BUILD.bazel (about)

     1  load("@prysm//tools/go:def.bzl", "go_library", "go_test")
     2  
     3  go_library(
     4      name = "go_default_library",
     5      srcs = [
     6          "grpcutils.go",
     7          "parameters.go",
     8      ],
     9      importpath = "github.com/prysmaticlabs/prysm/shared/grpcutils",
    10      visibility = ["//visibility:public"],
    11      deps = [
    12          "@com_github_sirupsen_logrus//:go_default_library",
    13          "@org_golang_google_grpc//:go_default_library",
    14          "@org_golang_google_grpc//metadata:go_default_library",
    15      ],
    16  )
    17  
    18  go_test(
    19      name = "go_default_test",
    20      srcs = ["grpcutils_test.go"],
    21      embed = [":go_default_library"],
    22      deps = [
    23          "//shared/testutil/assert:go_default_library",
    24          "//shared/testutil/require:go_default_library",
    25          "@com_github_grpc_ecosystem_grpc_gateway_v2//runtime:go_default_library",
    26          "@com_github_sirupsen_logrus//hooks/test:go_default_library",
    27          "@org_golang_google_grpc//:go_default_library",
    28          "@org_golang_google_grpc//metadata:go_default_library",
    29      ],
    30  )