prysm-pulse/proto/prysm/storage/BUILD.bazel

34 lines
827 B
Python
Raw Normal View History

load("@rules_proto//proto:defs.bzl", "proto_library")
load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library")
load("@prysm//tools/go:def.bzl", "go_library")
# gazelle:ignore
proto_library(
name = "proto",
srcs = [
"beacon_storage.proto",
"version.proto",
],
visibility = ["//visibility:public"],
deps = [
"//proto/eth/v2:proto",
],
)
go_proto_library(
name = "go_proto",
importpath = "github.com/prysmaticlabs/prysm/v3/proto/prysm/storage",
proto = ":proto",
visibility = ["//visibility:public"],
deps = [
"//proto/eth/v2:go_default_library",
],
)
go_library(
name = "go_default_library",
embed = [":go_proto"],
importpath = "github.com/prysmaticlabs/prysm/v3/proto/prysm/storage",
visibility = ["//visibility:public"],
)