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-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-11-20 19:43:07 +00:00
|
|
|
srcs = ["messages.proto", "types.proto"],
|
2018-08-01 05:35:08 +00:00
|
|
|
visibility = ["//visibility:public"],
|
|
|
|
deps = ["@com_google_protobuf//:timestamp_proto"],
|
|
|
|
)
|