2021-04-09 11:17:38 +03: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 17:39:36 +03:00
|
|
|
name = "proto",
|
2021-04-09 11:17:38 +03:00
|
|
|
srcs = [
|
2021-04-12 20:47:21 +03:00
|
|
|
"chat_manager_service.proto",
|
2022-09-02 18:44:56 +03:00
|
|
|
"profile_service.proto",
|
|
|
|
"subscription_manager_service.proto",
|
2021-04-09 11:17:38 +03:00
|
|
|
],
|
|
|
|
deps = [
|
|
|
|
"@com_google_protobuf//:wrappers_proto",
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
py_proto_library(
|
2022-03-28 17:39:36 +03:00
|
|
|
name = "proto_py",
|
|
|
|
deps = [":proto"],
|
2021-04-09 11:17:38 +03:00
|
|
|
)
|
|
|
|
|
|
|
|
py_grpc_library(
|
2022-03-28 17:39:36 +03:00
|
|
|
name = "grpc_py",
|
|
|
|
srcs = [":proto"],
|
|
|
|
deps = [":proto_py"],
|
2021-04-09 11:17:38 +03:00
|
|
|
)
|