2018-10-14 02:32:29 +00:00
|
|
|
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
|
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
2018-12-27 06:48:09 +00:00
|
|
|
srcs = [
|
2019-02-26 03:42:31 +00:00
|
|
|
"beacon_block.go",
|
2018-12-27 06:48:09 +00:00
|
|
|
"hash.go",
|
|
|
|
"merkleRoot.go",
|
|
|
|
],
|
2018-10-14 02:32:29 +00:00
|
|
|
importpath = "github.com/prysmaticlabs/prysm/shared/hashutil",
|
|
|
|
visibility = ["//visibility:public"],
|
2019-01-14 16:41:20 +00:00
|
|
|
deps = [
|
2019-02-26 03:42:31 +00:00
|
|
|
"//proto/beacon/p2p/v1:go_default_library",
|
2019-01-14 16:41:20 +00:00
|
|
|
"@com_github_gogo_protobuf//proto:go_default_library",
|
|
|
|
"@org_golang_x_crypto//sha3:go_default_library",
|
|
|
|
],
|
2018-10-14 02:32:29 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
2018-12-27 06:48:09 +00:00
|
|
|
srcs = [
|
2019-02-26 03:42:31 +00:00
|
|
|
"beacon_block_test.go",
|
2018-12-27 06:48:09 +00:00
|
|
|
"hash_test.go",
|
|
|
|
"merkleRoot_test.go",
|
|
|
|
],
|
2018-10-14 02:32:29 +00:00
|
|
|
embed = [":go_default_library"],
|
2019-01-14 16:41:20 +00:00
|
|
|
deps = [
|
|
|
|
"//proto/beacon/p2p/v1:go_default_library",
|
2019-01-31 02:53:58 +00:00
|
|
|
"//shared/bytesutil:go_default_library",
|
2019-02-26 03:42:31 +00:00
|
|
|
"@com_github_gogo_protobuf//proto:go_default_library",
|
2019-01-14 16:41:20 +00:00
|
|
|
],
|
2018-10-14 02:32:29 +00:00
|
|
|
)
|