prysm-pulse/proto/beacon/p2p/v1/BUILD.bazel
Raul Jordan 891dc2e2de
Define BeaconState Core Type and Protobuf Definition (#863)
* define protos for beacon state

* tests pass

* address feedback
2018-11-20 11:43:07 -08:00

25 lines
692 B
Python

# gazelle:ignore
load("@io_bazel_rules_go//go:def.bzl", "go_library")
load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library")
go_proto_library(
name = "v1_go_proto",
importpath = "github.com/prysmaticlabs/prysm/proto/beacon/p2p/v1",
proto = ":v1_proto",
visibility = ["//visibility:public"],
)
go_library(
name = "go_default_library",
embed = [":v1_go_proto"],
importpath = "github.com/prysmaticlabs/prysm/proto/beacon/p2p/v1",
visibility = ["//visibility:public"],
)
proto_library(
name = "v1_proto",
srcs = ["messages.proto", "types.proto"],
visibility = ["//visibility:public"],
deps = ["@com_google_protobuf//:timestamp_proto"],
)