2018-08-01 05:35:08 +00:00
|
|
|
# gazelle:ignore
|
2018-07-17 18:39:04 +00:00
|
|
|
load("@io_bazel_rules_go//go:def.bzl", "go_library")
|
|
|
|
load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library")
|
|
|
|
|
2018-07-31 18:54:45 +00:00
|
|
|
go_proto_library(
|
2018-08-01 05:35:08 +00:00
|
|
|
name = "v1_go_proto",
|
2018-07-31 18:54:45 +00:00
|
|
|
importpath = "github.com/prysmaticlabs/prysm/proto/beacon/p2p/v1",
|
2018-08-01 05:35:08 +00:00
|
|
|
proto = ":v1_proto",
|
2018-07-17 18:39:04 +00:00
|
|
|
visibility = ["//visibility:public"],
|
2018-12-04 14:34:14 +00:00
|
|
|
deps = [
|
|
|
|
"//proto/common:common_go_proto",
|
|
|
|
],
|
2018-12-23 20:34:59 +00:00
|
|
|
compiler = "//:proto_compiler",
|
2018-07-17 18:39:04 +00:00
|
|
|
)
|
|
|
|
|
2018-07-31 18:54:45 +00:00
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
2018-08-01 05:35:08 +00:00
|
|
|
embed = [":v1_go_proto"],
|
2018-07-31 18:54:45 +00:00
|
|
|
importpath = "github.com/prysmaticlabs/prysm/proto/beacon/p2p/v1",
|
2018-07-17 18:39:04 +00:00
|
|
|
visibility = ["//visibility:public"],
|
|
|
|
)
|
2018-08-01 05:35:08 +00:00
|
|
|
|
|
|
|
proto_library(
|
|
|
|
name = "v1_proto",
|
2018-12-04 14:34:14 +00:00
|
|
|
srcs = [
|
|
|
|
"messages.proto",
|
|
|
|
"types.proto",
|
|
|
|
],
|
2018-08-01 05:35:08 +00:00
|
|
|
visibility = ["//visibility:public"],
|
2018-12-04 14:34:14 +00:00
|
|
|
deps = [
|
|
|
|
"@com_google_protobuf//:timestamp_proto",
|
|
|
|
"//proto/common:common_proto",
|
|
|
|
],
|
2018-08-01 05:35:08 +00:00
|
|
|
)
|