forked from envoyproxy/envoy
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathgrpc-protoinfo-2.patch
32 lines (30 loc) · 1.04 KB
/
grpc-protoinfo-2.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
commit ecf04ccf4d8be9378166ec9e0ccf44081e211d11
Author: Marcel Hlopko <[email protected]>
Date: Thu Jun 20 18:57:33 2019 +0200
Require ProtoInfo in attributes, not "proto"
diff --git a/bazel/generate_cc.bzl b/bazel/generate_cc.bzl
index 581165a190..87e8b9d329 100644
--- a/bazel/generate_cc.bzl
+++ b/bazel/generate_cc.bzl
@@ -146,7 +146,7 @@ _generate_cc = rule(
"srcs": attr.label_list(
mandatory = True,
allow_empty = False,
- providers = ["proto"],
+ providers = [ProtoInfo],
),
"plugin": attr.label(
executable = True,
diff --git a/bazel/python_rules.bzl b/bazel/python_rules.bzl
index 3df30f8262..d4ff77094c 100644
--- a/bazel/python_rules.bzl
+++ b/bazel/python_rules.bzl
@@ -99,7 +99,7 @@ __generate_py = rule(
"deps": attr.label_list(
mandatory = True,
allow_empty = False,
- providers = ["proto"],
+ providers = [ProtoInfo],
),
"plugin": attr.label(
executable = True,