github.com/prysmaticlabs/prysm@v1.4.4/shared/gateway/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          "api_middleware.go",
     7          "api_middleware_processing.go",
     8          "api_middleware_structs.go",
     9          "gateway.go",
    10          "log.go",
    11          "param_handling.go",
    12      ],
    13      importpath = "github.com/prysmaticlabs/prysm/shared/gateway",
    14      visibility = [
    15          "//beacon-chain:__subpackages__",
    16          "//validator:__subpackages__",
    17      ],
    18      deps = [
    19          "//shared:go_default_library",
    20          "//shared/bytesutil:go_default_library",
    21          "//shared/grpcutils:go_default_library",
    22          "@com_github_ethereum_go_ethereum//common/hexutil:go_default_library",
    23          "@com_github_gorilla_mux//:go_default_library",
    24          "@com_github_grpc_ecosystem_grpc_gateway_v2//runtime:go_default_library",
    25          "@com_github_pkg_errors//:go_default_library",
    26          "@com_github_rs_cors//:go_default_library",
    27          "@com_github_sirupsen_logrus//:go_default_library",
    28          "@com_github_wealdtech_go_bytesutil//:go_default_library",
    29          "@org_golang_google_grpc//:go_default_library",
    30          "@org_golang_google_grpc//connectivity:go_default_library",
    31          "@org_golang_google_grpc//credentials:go_default_library",
    32      ],
    33  )
    34  
    35  go_test(
    36      name = "go_default_test",
    37      srcs = [
    38          "api_middleware_processing_test.go",
    39          "gateway_test.go",
    40          "param_handling_test.go",
    41      ],
    42      embed = [":go_default_library"],
    43      deps = [
    44          "//cmd/beacon-chain/flags:go_default_library",
    45          "//shared/grpcutils:go_default_library",
    46          "//shared/testutil/assert:go_default_library",
    47          "//shared/testutil/require:go_default_library",
    48          "@com_github_gorilla_mux//:go_default_library",
    49          "@com_github_sirupsen_logrus//hooks/test:go_default_library",
    50          "@com_github_urfave_cli_v2//:go_default_library",
    51      ],
    52  )