2018-07-22 16:58:14 +00:00
|
|
|
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
|
2018-07-19 16:31:50 +00:00
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
2018-07-22 16:58:14 +00:00
|
|
|
srcs = [
|
2018-11-11 16:54:17 +00:00
|
|
|
"block_vote_cache.go",
|
2018-08-13 02:07:37 +00:00
|
|
|
"clock.go",
|
2018-07-22 16:58:14 +00:00
|
|
|
"flags.go",
|
|
|
|
"shuffle.go",
|
|
|
|
],
|
2018-07-20 21:31:26 +00:00
|
|
|
importpath = "github.com/prysmaticlabs/prysm/beacon-chain/utils",
|
2018-07-19 16:31:50 +00:00
|
|
|
visibility = ["//beacon-chain:__subpackages__"],
|
2018-07-22 16:58:14 +00:00
|
|
|
deps = [
|
2018-10-14 02:32:29 +00:00
|
|
|
"//shared/hashutil:go_default_library",
|
2018-11-18 16:39:35 +00:00
|
|
|
"//shared/params:go_default_library",
|
2018-07-22 16:58:14 +00:00
|
|
|
"@com_github_ethereum_go_ethereum//common:go_default_library",
|
|
|
|
"@com_github_urfave_cli//:go_default_library",
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
2018-08-13 02:07:37 +00:00
|
|
|
srcs = [
|
2018-11-11 16:54:17 +00:00
|
|
|
"block_vote_cache_test.go",
|
2018-08-13 02:07:37 +00:00
|
|
|
"clock_test.go",
|
|
|
|
"shuffle_test.go",
|
|
|
|
],
|
2018-07-22 16:58:14 +00:00
|
|
|
embed = [":go_default_library"],
|
|
|
|
deps = [
|
2018-11-18 16:39:35 +00:00
|
|
|
"//shared/params:go_default_library",
|
2018-07-22 16:58:14 +00:00
|
|
|
"@com_github_ethereum_go_ethereum//common:go_default_library",
|
|
|
|
],
|
2018-07-19 16:31:50 +00:00
|
|
|
)
|