2018-12-11 02:15:37 +00:00
|
|
|
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
|
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
|
|
|
srcs = [
|
|
|
|
"decode.go",
|
2018-12-14 18:35:32 +00:00
|
|
|
"doc.go",
|
2018-12-11 02:15:37 +00:00
|
|
|
"encode.go",
|
2019-01-02 19:14:12 +00:00
|
|
|
"hash.go",
|
|
|
|
"ssz_utils_cache.go",
|
2018-12-11 02:15:37 +00:00
|
|
|
],
|
|
|
|
importpath = "github.com/prysmaticlabs/prysm/shared/ssz",
|
|
|
|
visibility = ["//visibility:public"],
|
2019-01-13 14:04:14 +00:00
|
|
|
deps = [
|
2019-01-31 02:53:58 +00:00
|
|
|
"//shared/bytesutil:go_default_library",
|
2019-01-13 14:04:14 +00:00
|
|
|
"//shared/hashutil:go_default_library",
|
|
|
|
],
|
2018-12-11 02:15:37 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
|
|
|
srcs = [
|
|
|
|
"decode_test.go",
|
|
|
|
"encode_test.go",
|
2018-12-14 18:35:32 +00:00
|
|
|
"example_and_test.go",
|
2019-01-02 19:14:12 +00:00
|
|
|
"hash_test.go",
|
2018-12-11 02:15:37 +00:00
|
|
|
],
|
|
|
|
embed = [":go_default_library"],
|
|
|
|
)
|