2020-05-05 07:22:26 +00:00
|
|
|
load("@prysm//tools/go:def.bzl", "go_library")
|
|
|
|
load("@io_bazel_rules_go//go:def.bzl", "go_binary")
|
2019-11-26 18:09:57 +00:00
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
|
|
|
testonly = True,
|
2020-01-17 17:25:35 +00:00
|
|
|
srcs = ["main.go"],
|
2023-03-17 18:52:56 +00:00
|
|
|
importpath = "github.com/prysmaticlabs/prysm/v4/tools/benchmark-files-gen",
|
2020-01-17 17:25:35 +00:00
|
|
|
visibility = ["//visibility:private"],
|
2019-11-26 18:09:57 +00:00
|
|
|
deps = [
|
|
|
|
"//beacon-chain/core/helpers:go_default_library",
|
2021-09-27 16:19:20 +00:00
|
|
|
"//beacon-chain/core/signing:go_default_library",
|
2021-09-30 19:00:14 +00:00
|
|
|
"//beacon-chain/core/time:go_default_library",
|
2021-09-08 10:41:47 +00:00
|
|
|
"//beacon-chain/core/transition:go_default_library",
|
2021-07-23 16:11:21 +00:00
|
|
|
"//beacon-chain/state:go_default_library",
|
2022-09-16 22:17:46 +00:00
|
|
|
"//beacon-chain/state/state-native:go_default_library",
|
2021-09-21 19:59:25 +00:00
|
|
|
"//config/params:go_default_library",
|
2022-08-02 15:30:46 +00:00
|
|
|
"//consensus-types/blocks:go_default_library",
|
2022-04-29 14:32:11 +00:00
|
|
|
"//consensus-types/primitives:go_default_library",
|
2021-09-17 21:55:24 +00:00
|
|
|
"//io/file:go_default_library",
|
2021-07-21 21:34:07 +00:00
|
|
|
"//proto/prysm/v1alpha1:go_default_library",
|
2021-09-21 18:11:16 +00:00
|
|
|
"//runtime/interop:go_default_library",
|
2021-09-14 19:18:15 +00:00
|
|
|
"//testing/benchmark:go_default_library",
|
2021-09-23 18:53:46 +00:00
|
|
|
"//testing/util:go_default_library",
|
2020-01-17 17:25:35 +00:00
|
|
|
"@com_github_pkg_errors//:go_default_library",
|
2022-08-05 10:52:02 +00:00
|
|
|
"@com_github_sirupsen_logrus//:go_default_library",
|
2019-11-26 18:09:57 +00:00
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
go_binary(
|
2020-01-17 17:25:35 +00:00
|
|
|
name = "benchmark-files-gen",
|
2019-11-26 18:09:57 +00:00
|
|
|
testonly = True,
|
|
|
|
embed = [":go_default_library"],
|
2020-01-17 17:25:35 +00:00
|
|
|
visibility = ["//visibility:public"],
|
2019-11-26 18:09:57 +00:00
|
|
|
)
|