2021-04-09 10:17:38 +02:00
|
|
|
load("@com_github_grpc_grpc//bazel:python_rules.bzl", "py_grpc_library", "py_proto_library")
|
|
|
|
load("@rules_proto//proto:defs.bzl", "proto_library")
|
|
|
|
|
|
|
|
package(default_visibility = ["//visibility:public"])
|
|
|
|
|
|
|
|
proto_library(
|
2022-03-28 16:39:36 +02:00
|
|
|
name = "proto",
|
2021-04-09 10:17:38 +02:00
|
|
|
srcs = glob([
|
|
|
|
"*.proto",
|
|
|
|
]),
|
|
|
|
deps = [
|
2022-03-28 16:39:36 +02:00
|
|
|
"//nexus/models/proto",
|
2021-04-09 10:17:38 +02:00
|
|
|
"@com_google_protobuf//:wrappers_proto",
|
2022-09-02 17:44:56 +02:00
|
|
|
"@org_izihawa_summa//summa/proto",
|
2021-04-09 10:17:38 +02:00
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
py_proto_library(
|
2022-03-28 16:39:36 +02:00
|
|
|
name = "proto_py",
|
|
|
|
deps = [":proto"],
|
2021-04-09 10:17:38 +02:00
|
|
|
)
|
|
|
|
|
|
|
|
py_grpc_library(
|
2022-03-28 16:39:36 +02:00
|
|
|
name = "grpc_py",
|
|
|
|
srcs = [":proto"],
|
|
|
|
deps = [":proto_py"],
|
2021-04-09 10:17:38 +02:00
|
|
|
)
|