2021-06-30 19:22:09 +00:00
|
|
|
load(
|
|
|
|
"@bazel_skylib//rules:common_settings.bzl",
|
|
|
|
"string_flag",
|
|
|
|
)
|
|
|
|
|
2023-10-10 04:50:29 +00:00
|
|
|
# gazelle:resolve proto proto google/api/annotations.proto @googleapis//google/api:annotations_proto
|
|
|
|
# gazelle:resolve proto go google/api/annotations.proto @googleapis//google/api:annotations_go_proto
|
|
|
|
|
2021-06-30 19:22:09 +00:00
|
|
|
# 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
|
|
|
},
|
|
|
|
)
|