mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-08 02:31:19 +00:00
34 lines
821 B
Python
34 lines
821 B
Python
|
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/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/proto/prysm/storage",
|
||
|
visibility = ["//visibility:public"],
|
||
|
)
|