2021-06-30 19:22:09 +00:00
|
|
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
2019-03-21 02:57:25 +00:00
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
|
|
|
srcs = [
|
|
|
|
"config.go",
|
2020-10-13 06:38:41 +00:00
|
|
|
"deprecated_flags.go",
|
2020-03-19 21:46:44 +00:00
|
|
|
"filter_flags.go",
|
2019-03-21 02:57:25 +00:00
|
|
|
"flags.go",
|
|
|
|
],
|
|
|
|
importpath = "github.com/prysmaticlabs/prysm/shared/featureconfig",
|
|
|
|
visibility = ["//visibility:public"],
|
|
|
|
deps = [
|
2020-06-24 14:03:16 +00:00
|
|
|
"//shared/params:go_default_library",
|
2019-03-21 02:57:25 +00:00
|
|
|
"@com_github_sirupsen_logrus//:go_default_library",
|
2020-05-31 06:44:34 +00:00
|
|
|
"@com_github_urfave_cli_v2//:go_default_library",
|
2019-03-21 02:57:25 +00:00
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
2019-06-30 16:00:22 +00:00
|
|
|
size = "small",
|
2019-10-29 15:30:14 +00:00
|
|
|
srcs = [
|
|
|
|
"config_test.go",
|
2020-10-13 06:38:41 +00:00
|
|
|
"deprecated_flags_test.go",
|
2019-10-29 15:30:14 +00:00
|
|
|
],
|
2019-03-21 02:57:25 +00:00
|
|
|
embed = [":go_default_library"],
|
2020-07-19 21:08:29 +00:00
|
|
|
deps = [
|
|
|
|
"//shared/testutil/assert:go_default_library",
|
|
|
|
"@com_github_urfave_cli_v2//:go_default_library",
|
|
|
|
],
|
2019-03-21 02:57:25 +00:00
|
|
|
)
|