github.com/prysmaticlabs/prysm@v1.4.4/proto/validator/accounts/v2/BUILD.bazel (about)

     1  load("@prysm//tools/go:def.bzl", "go_library")
     2  load("@rules_proto//proto:defs.bzl", "proto_library")
     3  load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library")
     4  
     5  # gazelle:ignore
     6  proto_library(
     7      name = "ethereum_validator_accounts_v2_proto",
     8      srcs = [
     9          "keymanager.proto",
    10          "web_api.proto",
    11      ],
    12      visibility = ["//visibility:public"],
    13      deps = [
    14          "//proto/beacon/rpc/v1:v1_proto",
    15          "//proto/eth/v1alpha1:proto",
    16          "//proto/prysm/v2:proto",
    17          "//proto/eth/ext:proto",
    18          "@com_google_protobuf//:empty_proto",
    19          "@go_googleapis//google/api:annotations_proto",
    20      ],
    21  )
    22  
    23  go_proto_library(
    24      name = "ethereum_validator_account_go_proto",
    25      compilers = [
    26          "@prysm//:cast_grpc_proto_compiler",
    27      ],
    28      importpath = "github.com/prysmaticlabs/prysm/proto/validator/accounts/v2",
    29      proto = ":ethereum_validator_accounts_v2_proto",
    30      visibility = ["//visibility:public"],
    31      deps = [
    32          "//proto/beacon/rpc/v1:go_default_library",
    33          "@com_github_golang_protobuf//proto:go_default_library",
    34          "@com_github_prysmaticlabs_eth2_types//:go_default_library",
    35          "//proto/eth/v1alpha1:go_default_library",
    36          "//proto/prysm/v2:go_default_library",
    37          "//proto/eth/ext:go_default_library",
    38          "@go_googleapis//google/api:annotations_go_proto",
    39          "@io_bazel_rules_go//proto/wkt:empty_go_proto",
    40      ],
    41  )
    42  
    43  go_proto_library(
    44      name = "ethereum_validator_account_gateway_proto",
    45      compilers = [
    46          "@prysm//:grpc_gateway_proto_compiler",
    47      ],
    48      embed =["ethereum_validator_account_go_proto"],
    49      importpath = "github.com/prysmaticlabs/prysm/proto/validator/accounts/v2",
    50      proto = ":ethereum_validator_accounts_v2_proto",
    51      visibility = ["//visibility:private"],
    52      deps = [
    53          "//proto/beacon/rpc/v1:go_default_library",
    54          "@io_bazel_rules_go//proto/wkt:descriptor_go_proto",
    55          "@io_bazel_rules_go//proto/wkt:empty_go_proto",
    56          "@com_github_golang_protobuf//proto:go_default_library",
    57          "@com_github_prysmaticlabs_eth2_types//:go_default_library",
    58          "//proto/eth/v1alpha1:go_default_library",
    59          "//proto/prysm/v2:go_default_library",
    60  	    "//proto/eth/ext:go_default_library",
    61          "@go_googleapis//google/api:annotations_go_proto",
    62      ],
    63  )
    64  
    65  go_library(
    66      name = "go_default_library",
    67      embed = [":ethereum_validator_account_gateway_proto"],
    68      importpath = "github.com/prysmaticlabs/prysm/proto/validator/accounts/v2",
    69      visibility = ["//visibility:public"],
    70  )