mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-10 03:31:20 +00:00
d6bd619429
* Add build transitions for minimal config based tests * respect existing gotags * clean up import * Add some commentary * gaz Co-authored-by: terence tsao <terence@prysmaticlabs.com> Co-authored-by: rauljordan <raul@prysmaticlabs.com>
25 lines
828 B
Python
25 lines
828 B
Python
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
srcs = ["pregen.go"],
|
|
data = ["//shared/benchutil/benchmark_files:benchmark_data"],
|
|
importpath = "github.com/prysmaticlabs/prysm/shared/benchutil",
|
|
visibility = ["//visibility:public"],
|
|
deps = [
|
|
"//beacon-chain/state/interface:go_default_library",
|
|
"//beacon-chain/state/v1:go_default_library",
|
|
"//proto/beacon/p2p/v1:go_default_library",
|
|
"//proto/eth/v1alpha1:go_default_library",
|
|
"//shared/params:go_default_library",
|
|
"@io_bazel_rules_go//go/tools/bazel:go_default_library",
|
|
],
|
|
)
|
|
|
|
go_test(
|
|
name = "go_default_test",
|
|
srcs = ["pregen_test.go"],
|
|
embed = [":go_default_library"],
|
|
deps = ["//shared/testutil/require:go_default_library"],
|
|
)
|