mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-26 05:17:22 +00:00
b55ddb5a34
* Use go:build lines and remove obsolete +build lines * Run gazelle * Update crypto/bls/blst/stub.go * Update crypto/bls/blst/stub.go Co-authored-by: Raul Jordan <raul@prysmaticlabs.com> Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com> Co-authored-by: Nishant Das <nishdas93@gmail.com>
49 lines
1.4 KiB
Python
49 lines
1.4 KiB
Python
load("@bazel_skylib//lib:selects.bzl", "selects")
|
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
|
|
|
# gazelle:resolve go github.com/supranational/blst/bindings/go @com_github_supranational_blst//:go_default_library
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
srcs = [
|
|
"aliases.go",
|
|
"doc.go",
|
|
"init.go",
|
|
"public_key.go",
|
|
"secret_key.go",
|
|
"signature.go",
|
|
"stub.go", # keep
|
|
],
|
|
importpath = "github.com/prysmaticlabs/prysm/crypto/bls/blst",
|
|
visibility = [
|
|
"//crypto/bls:__pkg__",
|
|
],
|
|
deps = [
|
|
"//cache/lru:go_default_library",
|
|
"//config/features:go_default_library",
|
|
"//config/fieldparams:go_default_library",
|
|
"//config/params:go_default_library",
|
|
"//crypto/bls/common:go_default_library",
|
|
"//crypto/rand:go_default_library",
|
|
"@com_github_pkg_errors//:go_default_library",
|
|
"@com_github_supranational_blst//:go_default_library",
|
|
],
|
|
)
|
|
|
|
go_test(
|
|
name = "go_default_test",
|
|
srcs = [
|
|
"bls_benchmark_test.go",
|
|
"public_key_test.go",
|
|
"secret_key_test.go",
|
|
"signature_test.go",
|
|
],
|
|
embed = [":go_default_library"],
|
|
deps = [
|
|
"//crypto/bls/common:go_default_library",
|
|
"//encoding/bytesutil:go_default_library",
|
|
"//testing/assert:go_default_library",
|
|
"//testing/require:go_default_library",
|
|
],
|
|
)
|