aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--third_party/grpc/grpc.patch2
-rw-r--r--third_party/protobuf/protobuf.bzl4
2 files changed, 3 insertions, 3 deletions
diff --git a/third_party/grpc/grpc.patch b/third_party/grpc/grpc.patch
index 448776a2d0..fc1c224ebd 100644
--- a/third_party/grpc/grpc.patch
+++ b/third_party/grpc/grpc.patch
@@ -138,7 +138,7 @@ index 62284a3..bc76cd1 100644
single_file = True,
),
+ "grpc_java_plugin": attr.label(
-+ cfg = HOST_CFG,
++ cfg = "host",
+ executable = True,
+ single_file = True,
+ ),
diff --git a/third_party/protobuf/protobuf.bzl b/third_party/protobuf/protobuf.bzl
index 71eaba22f0..6041fa1bba 100644
--- a/third_party/protobuf/protobuf.bzl
+++ b/third_party/protobuf/protobuf.bzl
@@ -93,13 +93,13 @@ _proto_gen = rule(
"deps": attr.label_list(providers = ["proto"]),
"includes": attr.string_list(),
"protoc": attr.label(
- cfg = HOST_CFG,
+ cfg = "host",
executable = True,
single_file = True,
mandatory = True,
),
"grpc_cpp_plugin": attr.label(
- cfg = HOST_CFG,
+ cfg = "host",
executable = True,
single_file = True,
),