2022-03-21 19:43:41 +00:00
|
|
|
load("@prysm//tools/go:def.bzl", "go_library")
|
2021-06-30 19:22:09 +00:00
|
|
|
load(
|
|
|
|
"@bazel_skylib//rules:common_settings.bzl",
|
|
|
|
"string_flag",
|
|
|
|
)
|
|
|
|
|
|
|
|
# Example flag: --//proto:network=minimal
|
|
|
|
string_flag(
|
|
|
|
name = "network",
|
|
|
|
build_setting_default = "mainnet",
|
|
|
|
visibility = ["//visibility:public"],
|
|
|
|
)
|
|
|
|
|
2019-07-25 02:03:05 +00:00
|
|
|
config_setting(
|
|
|
|
name = "ssz_mainnet",
|
2021-06-30 19:22:09 +00:00
|
|
|
flag_values = {
|
|
|
|
"@prysm//proto:network": "mainnet",
|
2019-07-25 02:03:05 +00:00
|
|
|
},
|
|
|
|
)
|
|
|
|
|
|
|
|
config_setting(
|
|
|
|
name = "ssz_minimal",
|
2021-06-30 19:22:09 +00:00
|
|
|
flag_values = {
|
|
|
|
"@prysm//proto:network": "minimal",
|
2019-07-25 02:03:05 +00:00
|
|
|
},
|
|
|
|
)
|