28 lines
728 B
Python
28 lines
728 B
Python
"""Generated definition of js_grpc_node_compile."""
|
|
|
|
load(
|
|
"//:defs.bzl",
|
|
"ProtoPluginInfo",
|
|
"proto_compile_attrs",
|
|
"proto_compile_impl",
|
|
)
|
|
|
|
# Create compile rule
|
|
js_grpc_node_compile = rule(
|
|
implementation = proto_compile_impl,
|
|
attrs = dict(
|
|
proto_compile_attrs,
|
|
_plugins = attr.label_list(
|
|
providers = [ProtoPluginInfo],
|
|
default = [
|
|
Label("//js:js_plugin"),
|
|
Label("//js:ts_plugin"),
|
|
Label("//js:grpc_node_plugin"),
|
|
Label("//js:grpc_node_ts_plugin"),
|
|
],
|
|
doc = "List of protoc plugins to apply",
|
|
),
|
|
),
|
|
toolchains = [str(Label("//protobuf:toolchain_type"))],
|
|
)
|