mirror of https://github.com/grpc/grpc-java.git
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:
parent
096898a46e
commit
80cd7ec457
|
|
@ -30,12 +30,12 @@ java_rpc_toolchain = rule(
|
||||||
providers = [JavaInfo],
|
providers = [JavaInfo],
|
||||||
),
|
),
|
||||||
"plugin": attr.label(
|
"plugin": attr.label(
|
||||||
cfg = "host",
|
cfg = "exec",
|
||||||
executable = True,
|
executable = True,
|
||||||
),
|
),
|
||||||
"plugin_arg": attr.string(),
|
"plugin_arg": attr.string(),
|
||||||
"_protoc": attr.label(
|
"_protoc": attr.label(
|
||||||
cfg = "host",
|
cfg = "exec",
|
||||||
default = Label("@com_google_protobuf//:protoc"),
|
default = Label("@com_google_protobuf//:protoc"),
|
||||||
executable = True,
|
executable = True,
|
||||||
),
|
),
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue