2021-06-30 19:22:09 +00:00
|
|
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
2020-03-10 02:22:41 +00:00
|
|
|
|
2019-02-15 18:31:07 +00:00
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
2020-06-25 00:47:51 +00:00
|
|
|
srcs = [
|
|
|
|
"bls.go",
|
|
|
|
"constants.go",
|
2020-10-30 19:06:33 +00:00
|
|
|
"error.go",
|
2020-06-25 00:47:51 +00:00
|
|
|
"interface.go",
|
2020-07-03 07:38:13 +00:00
|
|
|
"signature_set.go",
|
2020-06-25 00:47:51 +00:00
|
|
|
],
|
2019-02-15 18:31:07 +00:00
|
|
|
importpath = "github.com/prysmaticlabs/prysm/shared/bls",
|
|
|
|
visibility = ["//visibility:public"],
|
2019-02-19 15:09:50 +00:00
|
|
|
deps = [
|
2020-09-16 13:28:28 +00:00
|
|
|
"//shared/bls/blst:go_default_library",
|
2020-10-30 19:06:33 +00:00
|
|
|
"//shared/bls/common:go_default_library",
|
2020-06-25 00:47:51 +00:00
|
|
|
"//shared/bls/herumi:go_default_library",
|
2020-11-11 21:24:08 +00:00
|
|
|
"@com_github_pkg_errors//:go_default_library",
|
2019-08-06 00:11:38 +00:00
|
|
|
],
|
|
|
|
)
|
2020-10-30 19:06:33 +00:00
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
|
|
|
srcs = ["bls_test.go"],
|
|
|
|
embed = [":go_default_library"],
|
|
|
|
deps = [
|
|
|
|
"//shared/bls/common:go_default_library",
|
2021-04-27 06:46:47 +00:00
|
|
|
"//shared/rand:go_default_library",
|
|
|
|
"//shared/testutil/assert:go_default_library",
|
2020-10-30 19:06:33 +00:00
|
|
|
"//shared/testutil/require:go_default_library",
|
|
|
|
],
|
|
|
|
)
|