2019-09-26 16:29:10 +00:00
|
|
|
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
|
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
2019-10-19 03:35:09 +00:00
|
|
|
srcs = [
|
|
|
|
"server.go",
|
|
|
|
"service.go",
|
|
|
|
],
|
2019-09-26 16:29:10 +00:00
|
|
|
importpath = "github.com/prysmaticlabs/prysm/slasher",
|
|
|
|
visibility = ["//slasher:__subpackages__"],
|
|
|
|
deps = [
|
2019-10-19 03:35:09 +00:00
|
|
|
"//beacon-chain/core/helpers:go_default_library",
|
2019-10-17 03:12:26 +00:00
|
|
|
"//proto/eth/v1alpha1:go_default_library",
|
2019-09-26 16:29:10 +00:00
|
|
|
"//slasher/db:go_default_library",
|
2019-10-17 03:12:26 +00:00
|
|
|
"//slasher/rpc:go_default_library",
|
2019-10-19 03:35:09 +00:00
|
|
|
"@com_github_gogo_protobuf//proto:go_default_library",
|
|
|
|
"@com_github_gogo_protobuf//types:go_default_library",
|
2019-09-26 16:29:10 +00:00
|
|
|
"@com_github_grpc_ecosystem_go_grpc_middleware//:go_default_library",
|
|
|
|
"@com_github_grpc_ecosystem_go_grpc_middleware//recovery:go_default_library",
|
|
|
|
"@com_github_grpc_ecosystem_go_grpc_prometheus//:go_default_library",
|
2019-10-19 03:35:09 +00:00
|
|
|
"@com_github_pkg_errors//:go_default_library",
|
2019-09-26 16:29:10 +00:00
|
|
|
"@com_github_sirupsen_logrus//:go_default_library",
|
|
|
|
"@io_opencensus_go//plugin/ocgrpc:go_default_library",
|
|
|
|
"@org_golang_google_grpc//:go_default_library",
|
2019-10-19 03:35:09 +00:00
|
|
|
"@org_golang_google_grpc//codes:go_default_library",
|
2019-09-26 16:29:10 +00:00
|
|
|
"@org_golang_google_grpc//credentials:go_default_library",
|
|
|
|
"@org_golang_google_grpc//reflection:go_default_library",
|
2019-10-19 03:35:09 +00:00
|
|
|
"@org_golang_google_grpc//status:go_default_library",
|
2019-09-26 16:29:10 +00:00
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
2019-10-19 03:35:09 +00:00
|
|
|
srcs = [
|
|
|
|
"server_test.go",
|
|
|
|
"service_test.go",
|
|
|
|
],
|
2019-09-26 16:29:10 +00:00
|
|
|
embed = [":go_default_library"],
|
|
|
|
deps = [
|
2019-10-19 03:35:09 +00:00
|
|
|
"//proto/eth/v1alpha1:go_default_library",
|
2019-09-26 16:29:10 +00:00
|
|
|
"//shared/testutil:go_default_library",
|
2019-10-19 03:35:09 +00:00
|
|
|
"//slasher/db:go_default_library",
|
|
|
|
"@com_github_gogo_protobuf//proto:go_default_library",
|
2019-09-26 16:29:10 +00:00
|
|
|
"@com_github_sirupsen_logrus//:go_default_library",
|
|
|
|
"@com_github_sirupsen_logrus//hooks/test:go_default_library",
|
|
|
|
],
|
|
|
|
)
|