prysm-pulse/proto/BUILD.bazel
Preston Van Loon d6bd619429
Bazel: minimal test build transitions (#9122)
* Add build transitions for minimal config based tests

* respect existing gotags

* clean up import

* Add some commentary

* gaz

Co-authored-by: terence tsao <terence@prysmaticlabs.com>
Co-authored-by: rauljordan <raul@prysmaticlabs.com>
2021-06-30 19:22:09 +00:00

26 lines
468 B
Python

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"],
)
config_setting(
name = "ssz_mainnet",
flag_values = {
"@prysm//proto:network": "mainnet",
},
)
config_setting(
name = "ssz_minimal",
flag_values = {
"@prysm//proto:network": "minimal",
},
)