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 = [
|
|
|
|
"hash.go",
|
|
|
|
"merkleRoot.go",
|
|
|
|
],
|
2018-10-14 02:32:29 +00:00
|
|
|
importpath = "github.com/prysmaticlabs/prysm/shared/hashutil",
|
|
|
|
visibility = ["//visibility:public"],
|
2018-12-06 17:01:51 +00:00
|
|
|
deps = ["@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 = [
|
|
|
|
"hash_test.go",
|
|
|
|
"merkleRoot_test.go",
|
|
|
|
],
|
2018-10-14 02:32:29 +00:00
|
|
|
embed = [":go_default_library"],
|
2019-01-13 14:04:14 +00:00
|
|
|
deps = ["//shared/bytes:go_default_library"],
|
2018-10-14 02:32:29 +00:00
|
|
|
)
|