Add a new option to create grpc libraries in tf_proto_library rule.
PiperOrigin-RevId: 333391104 Change-Id: I810bb10c595114da0de27dd11c56b1dfbdfe978d
This commit is contained in:
parent
7ec70d54b2
commit
f3462c311d
@ -505,6 +505,7 @@ def tf_proto_library(
|
||||
js_codegen = "jspb",
|
||||
create_service = False,
|
||||
create_java_proto = False,
|
||||
create_grpc_library = False,
|
||||
make_default_target_header_only = False,
|
||||
exports = [],
|
||||
tags = []):
|
||||
@ -513,7 +514,7 @@ def tf_proto_library(
|
||||
# TODO(b/145545130): Add docstring explaining what rules this creates and how
|
||||
# opensource projects importing TF in bazel can use them safely (i.e. w/o ODR or
|
||||
# ABI violations).
|
||||
_ignore = (js_codegen, exports, create_service, create_java_proto)
|
||||
_ignore = (js_codegen, exports, create_service, create_java_proto, create_grpc_library)
|
||||
|
||||
native.proto_library(
|
||||
name = name,
|
||||
|
Loading…
x
Reference in New Issue
Block a user