aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Vladimir Moskva <vladmos@google.com>2016-09-12 19:45:49 +0200
committerGravatar Kristina Chodorow <kchodorow@google.com>2016-09-12 14:29:46 -0400
commit7f77b45284080de49b3c74a6abebe1a6ff47ee71 (patch)
tree329043df1a24b0f42798c867b9642139875b0e79
parent3a5663f62a129a765e796431095f6705c09a83e8 (diff)
Config files compatible with the new version of Bazel
Change-Id: I59fd0ff2059abb16ccb23403736efe2d955038f4
-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,
),