bazel: Migrate from `cfg = "host"` to `cfg = "exec"` (#9695)

This change migrates from `cfg = "host"` to `cfg = "exec"`.
This is a no-op cleanup: `cfg = "host"` is a deprecated alias
for `cfg = "exec"`.

Tested:

```
bazel build //grpclb:grpclb
bazel build //compiler:java_grpc_library_toolchain
bazel build //compiler:grpc_java_plugin
bazel build '//compiler:*'
```

Internal ref cl/487924699
This commit is contained in:
Sergii Tkachenko 2022-11-16 13:01:59 -08:00 committed by GitHub
parent 096898a46e
commit 80cd7ec457
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -30,12 +30,12 @@ java_rpc_toolchain = rule(
providers = [JavaInfo],
),
"plugin": attr.label(
cfg = "host",
cfg = "exec",
executable = True,
),
"plugin_arg": attr.string(),
"_protoc": attr.label(
cfg = "host",
cfg = "exec",
default = Label("@com_google_protobuf//:protoc"),
executable = True,
),