Skip to content

Commit

Permalink
fix(build): use @io_kythe// instead of @// in bazel build file templa…
Browse files Browse the repository at this point in the history
…te (#4711)

This makes it easier to use kythe as a dependency in another bazel
project as it tells bazel to look for these toolchain configs in the
kythe repo, not in the repo that depends on kythe.
  • Loading branch information
justbuchanan committed Oct 13, 2020
1 parent c089771 commit ca9e888
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/build_rules/external_tools/external_tools_configure.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
_BUILD_TEMPLATE = """
package(default_visibility=["//visibility:public"])
load("@//tools/build_rules/external_tools:external_tools_toolchain.bzl", "external_tools_toolchain")
load("@io_kythe//tools/build_rules/external_tools:external_tools_toolchain.bzl", "external_tools_toolchain")
external_tools_toolchain(
name = "host_toolchain_impl",
Expand All @@ -22,7 +22,7 @@ toolchain(
#"@bazel_tools//platforms:host_platform",
],
toolchain = ":host_toolchain_impl",
toolchain_type = "@//tools/build_rules/external_tools:external_tools_toolchain_type",
toolchain_type = "@io_kythe//tools/build_rules/external_tools:external_tools_toolchain_type",
)
"""

Expand Down

0 comments on commit ca9e888

Please sign in to comment.