mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-22 19:40:37 +00:00
8eb82dd378
* Provide @go_googleapis, update gazelle * fix pb build failures Fix build issues with grpc-gateway
30 lines
718 B
Python
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",
|
|
},
|
|
)
|