prysm-pulse/proto/BUILD.bazel
Preston Van Loon 8eb82dd378
Update rules_go and gazelle to 0.42 & 0.33 (latest releases) (#13021)
* Provide @go_googleapis, update gazelle

* fix pb build failures

Fix build issues with grpc-gateway
2023-10-10 12:50:29 +08:00

30 lines
718 B
Python

load("@prysm//tools/go:def.bzl", "go_library")
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",
},
)