mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-21 19:20:38 +00:00
e19c99c3e2
* Update go, rules_go, gazelle, bazel * Update zig toolchain
29 lines
671 B
Python
29 lines
671 B
Python
load(
|
|
"@bazel_skylib//rules:common_settings.bzl",
|
|
"string_flag",
|
|
)
|
|
|
|
# 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
|
|
|
|
# Example flag: --//proto:network=minimal
|
|
string_flag(
|
|
name = "network",
|
|
build_setting_default = "mainnet",
|
|
visibility = ["//visibility:public"],
|
|
)
|
|
|
|
config_setting(
|
|
name = "ssz_mainnet",
|
|
flag_values = {
|
|
"@prysm//proto:network": "mainnet",
|
|
},
|
|
)
|
|
|
|
config_setting(
|
|
name = "ssz_minimal",
|
|
flag_values = {
|
|
"@prysm//proto:network": "minimal",
|
|
},
|
|
)
|