hyperboria/nexus/meta_api/proto/BUILD.bazel
the-superpirate dd23846059 - [nexus] Refactoring
- [nexus] Switch bot
  - [bot] Added extra receivers functionality

GitOrigin-RevId: 68fc32d3e79ff411758f54f435fe8680fc42dead
2022-03-28 17:42:18 +03:00

38 lines
816 B
Python

load("@com_github_grpc_grpc//bazel:python_rules.bzl", "py_grpc_library", "py_proto_library")
load("@rules_proto//proto:defs.bzl", "proto_library")
load("@rules_proto_grpc//js:defs.bzl", "js_grpc_web_library")
package(default_visibility = ["//visibility:public"])
proto_library(
name = "proto",
srcs = glob([
"*.proto",
]),
deps = [
"//nexus/models/proto",
"@com_google_protobuf//:wrappers_proto",
],
)
py_proto_library(
name = "proto_py",
deps = [":proto"],
)
py_grpc_library(
name = "grpc_py",
srcs = [":proto"],
deps = [":proto_py"],
)
js_grpc_web_library(
name = "grpc_web_js",
protos = [
":proto",
"//nexus/models/proto",
],
visibility = ["//visibility:public"],
deps = ["//nexus/models/proto:proto_js"],
)