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",
|
2019-04-24 05:39:02 +00:00
|
|
|
"hash_cache.go",
|
2019-01-02 19:14:12 +00:00
|
|
|
"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-04-24 05:39:02 +00:00
|
|
|
"//shared/featureconfig:go_default_library",
|
2019-01-13 14:04:14 +00:00
|
|
|
"//shared/hashutil:go_default_library",
|
2019-04-24 05:39:02 +00:00
|
|
|
"//shared/params:go_default_library",
|
|
|
|
"@com_github_ethereum_go_ethereum//common:go_default_library",
|
|
|
|
"@com_github_karlseguin_ccache//:go_default_library",
|
|
|
|
"@com_github_prometheus_client_golang//prometheus:go_default_library",
|
|
|
|
"@com_github_prometheus_client_golang//prometheus/promauto:go_default_library",
|
2019-01-13 14:04:14 +00:00
|
|
|
],
|
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-02-22 17:50:28 +00:00
|
|
|
"example_encode_test.go",
|
2019-04-24 05:39:02 +00:00
|
|
|
"hash_cache_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"],
|
2019-04-24 05:39:02 +00:00
|
|
|
deps = [
|
|
|
|
"//shared/bytesutil:go_default_library",
|
|
|
|
"//shared/featureconfig:go_default_library",
|
|
|
|
],
|
2018-12-11 02:15:37 +00:00
|
|
|
)
|