Skip to content

Commit

Permalink
Removed other references to host_javabase.
Browse files Browse the repository at this point in the history
  • Loading branch information
comius committed Oct 8, 2021
1 parent ae1162f commit fc0fc7e
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions java_grpc_library.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

_JavaRpcToolchainInfo = provider(
fields = [
"host_javabase",
"java_toolchain",
"plugin",
"plugin_arg",
Expand All @@ -14,7 +13,6 @@ _JavaRpcToolchainInfo = provider(
def _java_rpc_toolchain_impl(ctx):
return [
_JavaRpcToolchainInfo(
host_javabase = ctx.attr._host_javabase,
java_toolchain = ctx.attr._java_toolchain,
plugin = ctx.executable.plugin,
plugin_arg = ctx.attr.plugin_arg,
Expand Down Expand Up @@ -44,10 +42,6 @@ java_rpc_toolchain = rule(
"_java_toolchain": attr.label(
default = Label("@bazel_tools//tools/jdk:current_java_toolchain"),
),
"_host_javabase": attr.label(
cfg = "host",
default = Label("@bazel_tools//tools/jdk:current_java_runtime"),
),
},
provides = [
_JavaRpcToolchainInfo,
Expand Down

0 comments on commit fc0fc7e

Please sign in to comment.