2018-07-13 16:47:57 +00:00
|
|
|
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
|
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
2018-07-14 02:15:37 +00:00
|
|
|
srcs = [
|
|
|
|
"marshal.go",
|
|
|
|
"service_registry.go",
|
|
|
|
"types.go",
|
|
|
|
],
|
2018-07-20 21:31:26 +00:00
|
|
|
importpath = "github.com/prysmaticlabs/prysm/shared",
|
2018-07-13 16:47:57 +00:00
|
|
|
visibility = ["//visibility:public"],
|
2018-07-31 04:41:27 +00:00
|
|
|
deps = [
|
2018-09-16 01:12:36 +00:00
|
|
|
"//shared/p2p:go_default_library",
|
|
|
|
"@com_github_ethereum_go_ethereum//event:go_default_library",
|
2018-07-31 04:41:27 +00:00
|
|
|
"@com_github_ethereum_go_ethereum//rlp:go_default_library",
|
2018-09-16 01:12:36 +00:00
|
|
|
"@com_github_golang_protobuf//proto:go_default_library",
|
2018-07-31 04:41:27 +00:00
|
|
|
"@com_github_sirupsen_logrus//:go_default_library",
|
|
|
|
],
|
2018-07-13 16:47:57 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
2018-07-14 02:15:37 +00:00
|
|
|
srcs = [
|
|
|
|
"marshal_test.go",
|
|
|
|
"service_registry_test.go",
|
|
|
|
],
|
2018-07-13 16:47:57 +00:00
|
|
|
embed = [":go_default_library"],
|
|
|
|
)
|