2019-03-10 22:53:28 +00:00
|
|
|
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
|
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
|
|
|
srcs = ["messagehandler.go"],
|
|
|
|
importpath = "github.com/prysmaticlabs/prysm/shared/messagehandler",
|
|
|
|
visibility = ["//visibility:public"],
|
|
|
|
deps = [
|
|
|
|
"@com_github_gogo_protobuf//proto:go_default_library",
|
|
|
|
"@com_github_sirupsen_logrus//:go_default_library",
|
|
|
|
"@io_opencensus_go//trace:go_default_library",
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
2019-06-30 16:00:22 +00:00
|
|
|
size = "small",
|
2019-03-10 22:53:28 +00:00
|
|
|
srcs = ["messagehandler_test.go"],
|
|
|
|
embed = [":go_default_library"],
|
|
|
|
deps = [
|
2019-07-22 14:03:57 +00:00
|
|
|
"//proto/eth/v1alpha1:go_default_library",
|
2019-03-10 22:53:28 +00:00
|
|
|
"//shared/testutil:go_default_library",
|
|
|
|
"@com_github_gogo_protobuf//proto:go_default_library",
|
|
|
|
"@com_github_sirupsen_logrus//hooks/test:go_default_library",
|
|
|
|
],
|
|
|
|
)
|