aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
authorGravatar Lukacs Berki <lberki@google.com>2015-12-14 14:58:36 +0000
committerGravatar Dmitry Lomov <dslomov@google.com>2015-12-15 12:00:11 +0000
commitbe9f57775ac79a817a38eddd7a0ac4299d26b853 (patch)
treec9ec970480bf7a9662402ad334109c394ee54045 /tools
parenta91198bd3c9b161334e80ca53f5ad02d09bb1169 (diff)
Make the Go rules depend on the Go toolchain targets in the main repository.
This will be broken when we remove tools/ from the base workspace, but for now, it allows one to use Go rules in external repositories. -- MOS_MIGRATED_REVID=110150654
Diffstat (limited to 'tools')
-rw-r--r--tools/build_rules/go/def.bzl4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/build_rules/go/def.bzl b/tools/build_rules/go/def.bzl
index 0cbe85c179..4f4bfc98d9 100644
--- a/tools/build_rules/go/def.bzl
+++ b/tools/build_rules/go/def.bzl
@@ -319,12 +319,12 @@ go_library_attrs = {
],
),
"toolchain": attr.label(
- default = Label("//tools/build_rules/go/toolchain:toolchain"),
+ default = Label("@//tools/build_rules/go/toolchain:toolchain"),
allow_files = True,
cfg = HOST_CFG,
),
"go_tool": attr.label(
- default = Label("//tools/build_rules/go/toolchain:go_tool"),
+ default = Label("@//tools/build_rules/go/toolchain:go_tool"),
single_file = True,
allow_files = True,
cfg = HOST_CFG,