2020-02-14 16:46:55 +00:00
|
|
|
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
|
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
2020-02-14 19:03:25 +00:00
|
|
|
srcs = [
|
2020-02-27 17:22:39 +00:00
|
|
|
"detect.go",
|
2020-02-14 19:03:25 +00:00
|
|
|
"listeners.go",
|
|
|
|
"service.go",
|
|
|
|
],
|
2020-02-14 16:46:55 +00:00
|
|
|
importpath = "github.com/prysmaticlabs/prysm/slasher/detection",
|
2020-02-14 19:03:25 +00:00
|
|
|
visibility = ["//slasher:__subpackages__"],
|
2020-02-14 16:46:55 +00:00
|
|
|
deps = [
|
2020-02-14 19:03:25 +00:00
|
|
|
"//shared/event:go_default_library",
|
2020-02-27 17:22:39 +00:00
|
|
|
"//shared/sliceutil:go_default_library",
|
2020-02-14 19:03:25 +00:00
|
|
|
"//slasher/beaconclient:go_default_library",
|
2020-02-19 22:26:14 +00:00
|
|
|
"//slasher/db:go_default_library",
|
2020-02-27 17:22:39 +00:00
|
|
|
"//slasher/detection/attestations:go_default_library",
|
|
|
|
"//slasher/detection/attestations/iface:go_default_library",
|
|
|
|
"//slasher/detection/attestations/types:go_default_library",
|
|
|
|
"@com_github_pkg_errors//:go_default_library",
|
2020-02-14 16:46:55 +00:00
|
|
|
"@com_github_prysmaticlabs_ethereumapis//eth/v1alpha1:go_default_library",
|
2020-02-14 19:03:25 +00:00
|
|
|
"@com_github_sirupsen_logrus//:go_default_library",
|
2020-02-14 16:46:55 +00:00
|
|
|
"@io_opencensus_go//trace:go_default_library",
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
2020-02-27 17:22:39 +00:00
|
|
|
srcs = [
|
|
|
|
"detect_test.go",
|
|
|
|
"listeners_test.go",
|
|
|
|
],
|
2020-02-14 16:46:55 +00:00
|
|
|
embed = [":go_default_library"],
|
|
|
|
deps = [
|
2020-02-14 19:03:25 +00:00
|
|
|
"//shared/event:go_default_library",
|
2020-02-27 17:22:39 +00:00
|
|
|
"//shared/sliceutil:go_default_library",
|
2020-02-14 19:03:25 +00:00
|
|
|
"//shared/testutil:go_default_library",
|
2020-02-27 17:22:39 +00:00
|
|
|
"//slasher/db/testing:go_default_library",
|
|
|
|
"//slasher/detection/attestations:go_default_library",
|
2020-02-14 19:03:25 +00:00
|
|
|
"@com_github_prysmaticlabs_ethereumapis//eth/v1alpha1:go_default_library",
|
2020-02-19 22:26:14 +00:00
|
|
|
"@com_github_sirupsen_logrus//:go_default_library",
|
2020-02-14 19:03:25 +00:00
|
|
|
"@com_github_sirupsen_logrus//hooks/test:go_default_library",
|
2020-02-14 16:46:55 +00:00
|
|
|
],
|
|
|
|
)
|