hyperboria/nexus/meta_api/proto/BUILD.bazel
the-superpirate fff80cd4e7 - feat(nexus): Bump versions
- fix(nexus): Preparing configs to be published
  - feat(nexus): Various fixes for opening left sources
  - fix(nexus): Fine-tune versions
1 internal commit(s)

GitOrigin-RevId: 6c834cd3f4f5f18109a159a73503700dac63b0bb
2021-04-23 18:32:56 +03:00

44 lines
1.1 KiB
Python

load("@com_github_grpc_grpc//bazel:python_rules.bzl", "py_grpc_library", "py_proto_library")
load("@rules_rust//proto:proto.bzl", "rust_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 = "meta_api_proto",
srcs = glob([
"*.proto",
]),
deps = [
"//nexus/models/proto:models_proto",
"@com_google_protobuf//:wrappers_proto",
],
)
py_proto_library(
name = "meta_api_proto_py",
deps = [":meta_api_proto"],
)
py_grpc_library(
name = "meta_api_grpc_py",
srcs = [":meta_api_proto"],
deps = [":meta_api_proto_py"],
)
rust_proto_library(
name = "meta_api_proto_rust",
rust_deps = ["//rules/rust/cargo:protobuf"],
visibility = ["//visibility:public"],
deps = [":meta_api_proto"],
)
js_grpc_web_library(
name = "meta_api_grpc_web_js",
prefix_path = "../../../../",
protos = [":meta_api_proto"],
visibility = ["//visibility:public"],
deps = ["//nexus/models/proto:models_proto_js"],
)