25 lines
1.1 KiB
Python
25 lines
1.1 KiB
Python
"""python protobuf and grpc rules."""
|
|
|
|
load(":python_proto_compile.bzl", _python_proto_compile = "python_proto_compile")
|
|
load(":python_grpc_compile.bzl", _python_grpc_compile = "python_grpc_compile")
|
|
load(":python_grpclib_compile.bzl", _python_grpclib_compile = "python_grpclib_compile")
|
|
load(":python_proto_library.bzl", _python_proto_library = "python_proto_library")
|
|
load(":python_grpc_library.bzl", _python_grpc_library = "python_grpc_library")
|
|
load(":python_grpclib_library.bzl", _python_grpclib_library = "python_grpclib_library")
|
|
|
|
# Export python rules
|
|
python_proto_compile = _python_proto_compile
|
|
python_grpc_compile = _python_grpc_compile
|
|
python_grpclib_compile = _python_grpclib_compile
|
|
python_proto_library = _python_proto_library
|
|
python_grpc_library = _python_grpc_library
|
|
python_grpclib_library = _python_grpclib_library
|
|
|
|
# Aliases
|
|
py_grpc_compile = _python_grpc_compile
|
|
py_grpc_library = _python_grpc_library
|
|
py_grpclib_compile = _python_grpclib_compile
|
|
py_grpclib_library = _python_grpclib_library
|
|
py_proto_compile = _python_proto_compile
|
|
py_proto_library = _python_proto_library
|