mirror of
https://github.com/nexus-stc/hyperboria
synced 2024-12-25 19:15:48 +01:00
681817ceae
GitOrigin-RevId: 83514338be1d662518bab9fe5ab6eefef98f229f
28 lines
619 B
Python
28 lines
619 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")
|
|
|
|
package(default_visibility = ["//visibility:public"])
|
|
|
|
proto_library(
|
|
name = "hub_proto",
|
|
srcs = glob([
|
|
"*.proto",
|
|
]),
|
|
deps = [
|
|
"//idm/api2/proto:idm_proto",
|
|
"//nexus/models/proto:models_proto",
|
|
"@com_google_protobuf//:wrappers_proto",
|
|
],
|
|
)
|
|
|
|
py_proto_library(
|
|
name = "hub_proto_py",
|
|
deps = [":hub_proto"],
|
|
)
|
|
|
|
py_grpc_library(
|
|
name = "hub_grpc_py",
|
|
srcs = [":hub_proto"],
|
|
deps = [":hub_proto_py"],
|
|
)
|