hyperboria/nexus/models/proto/BUILD.bazel
the-superpirate 8472f27ec5 No description
GitOrigin-RevId: ddf02e70d2827c048db49b687ebbcdcc67807ca6
2021-01-04 18:12:22 +03:00

25 lines
627 B
Python

load("@com_github_grpc_grpc//bazel:python_rules.bzl", "py_proto_library")
load("@io_bazel_rules_rust//proto:proto.bzl", "rust_proto_library")
load("@rules_proto//proto:defs.bzl", "proto_library")
proto_library(
name = "models_proto",
srcs = glob([
"*.proto",
]),
visibility = ["//visibility:public"],
)
py_proto_library(
name = "models_proto_py",
visibility = ["//visibility:public"],
deps = [":models_proto"],
)
rust_proto_library(
name = "models_proto_rust",
rust_deps = ["//rules/rust/cargo:protobuf"],
visibility = ["//visibility:public"],
deps = [":models_proto"],
)