2021-07-16 16:56:09 +00:00
|
|
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
2021-05-26 18:33:46 +00:00
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
|
|
|
srcs = ["cloners.go"],
|
|
|
|
importpath = "github.com/prysmaticlabs/prysm/shared/copyutil",
|
|
|
|
visibility = ["//visibility:public"],
|
|
|
|
deps = [
|
|
|
|
"//proto/beacon/p2p/v1:go_default_library",
|
2021-07-21 21:34:07 +00:00
|
|
|
"//proto/prysm/v1alpha1:go_default_library",
|
2021-06-29 16:11:11 +00:00
|
|
|
"//proto/prysm/v2:go_default_library",
|
2021-05-26 18:33:46 +00:00
|
|
|
"//shared/bytesutil:go_default_library",
|
|
|
|
],
|
|
|
|
)
|
2021-07-16 16:56:09 +00:00
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
|
|
|
srcs = ["cloners_test.go"],
|
|
|
|
embed = [":go_default_library"],
|
|
|
|
deps = [
|
|
|
|
"//proto/beacon/p2p/v1:go_default_library",
|
2021-07-21 21:34:07 +00:00
|
|
|
"//proto/prysm/v1alpha1:go_default_library",
|
2021-07-16 16:56:09 +00:00
|
|
|
"//proto/prysm/v2:go_default_library",
|
|
|
|
"//shared/testutil/assert:go_default_library",
|
|
|
|
],
|
|
|
|
)
|