8000 Switch third_party/grpc from deprecated `cfg = "host"` to `cfg = "exec"` · coderabbit-test/bazel@1f15b87 · GitHub
[go: up one dir, main page]

Skip to content

Commit 1f15b87

Browse files
tetrominoPavank1992
authored andcommitted
Switch third_party/grpc from deprecated cfg = "host" to cfg = "exec"
Removes a blocker for buildimg Bazel itself with --incompatible_disable_starlark_host_transition - and unblocks bazelbuild/stardoc#145 Partial commit for third_party/*, see bazelbuild#19192. Signed-off-by: Pavan Singh <pavanksingh@google.com>
1 parent 6504a25 commit 1f15b87

File tree

3 files changed

+4
-602
lines changed

3 files changed

+4
-602
lines changed

third_party/grpc/bazel/generate_cc.bzl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ generate_cc = rule(
153153
"plugin": attr.label(
154154
executable = True,
155155
providers = ["files_to_run"],
156-
cfg = "host",
156+
cfg = "exec",
157157
),
158158
"flags": attr.string_list(
159159
mandatory = False,
@@ -166,7 +166,7 @@ generate_cc = rule(
166166
"protoc": attr.label(
167167
mandatory = True,
168168
executable = True,
169-
cfg = "host",
169+
cfg = "exec",
170170
),
171171
},
172172
# We generate .h files, so we need to output to genfiles.

0 commit comments

Comments
 (0)
0