java_grpc_library.bzl: Migrate from 'proto' to ProtoInfo syntax (#5994)

* Migrate the provider containing information about protocol buffers from the old-style 'dep.proto' pattern to the new-style 'dep[ProtoInfo]' one.
This commit is contained in:
Ran 2019-07-19 16:06:47 -07:00 committed by GitHub
parent cc524f10d3
commit f261af3445
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -149,7 +149,7 @@ _java_lite_grpc_library = rule(
"srcs": attr.label_list(
mandatory = True,
allow_empty = False,
providers = ["proto"],
providers = [ProtoInfo],
),
"deps": attr.label_list(
mandatory = True,