2018-07-07 17:23:19 +00:00
|
|
|
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
|
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
2018-08-09 22:54:59 +00:00
|
|
|
srcs = ["service.go"],
|
2018-08-22 19:15:21 +00:00
|
|
|
importpath = "github.com/prysmaticlabs/prysm/validator/attester",
|
|
|
|
visibility = ["//validator:__subpackages__"],
|
2018-07-07 17:23:19 +00:00
|
|
|
deps = [
|
2018-09-11 17:08:31 +00:00
|
|
|
"//proto/beacon/p2p/v1:go_default_library",
|
|
|
|
"//proto/beacon/rpc/v1:go_default_library",
|
2018-10-09 05:58:54 +00:00
|
|
|
"//shared/bitutil:go_default_library",
|
2018-10-03 01:49:01 +00:00
|
|
|
"//shared/event:go_default_library",
|
2018-10-14 02:32:29 +00:00
|
|
|
"//shared/hashutil:go_default_library",
|
2018-09-11 17:08:31 +00:00
|
|
|
"@com_github_gogo_protobuf//proto:go_default_library",
|
2018-07-10 02:27:23 +00:00
|
|
|
"@com_github_sirupsen_logrus//:go_default_library",
|
2018-07-07 17:23:19 +00:00
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
2018-08-12 17:58:02 +00:00
|
|
|
srcs = ["service_test.go"],
|
2018-07-07 17:23:19 +00:00
|
|
|
embed = [":go_default_library"],
|
|
|
|
deps = [
|
2018-08-09 22:54:59 +00:00
|
|
|
"//proto/beacon/p2p/v1:go_default_library", #keep
|
2018-09-11 17:08:31 +00:00
|
|
|
"//proto/beacon/rpc/v1:go_default_library",
|
2018-10-03 01:49:01 +00:00
|
|
|
"//shared/event:go_default_library",
|
2018-08-09 22:54:59 +00:00
|
|
|
"//shared/testutil:go_default_library",
|
2018-09-11 17:08:31 +00:00
|
|
|
"//validator/internal:go_default_library",
|
2018-08-09 22:54:59 +00:00
|
|
|
"@com_github_golang_mock//gomock:go_default_library", #keep
|
|
|
|
"@com_github_sirupsen_logrus//:go_default_library",
|
|
|
|
"@com_github_sirupsen_logrus//hooks/test:go_default_library",
|
|
|
|
"@org_golang_google_grpc//:go_default_library", #keep
|
|
|
|
"@org_golang_google_grpc//metadata:go_default_library", #keep
|
|
|
|
],
|
|
|
|
)
|