aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/build_rules/go
diff options
context:
space:
mode:
authorGravatar Damien Martin-Guillerez <dmarting@google.com>2016-02-01 10:28:54 +0000
committerGravatar Damien Martin-Guillerez <dmarting@google.com>2016-02-02 14:54:39 +0000
commit68d0b69165127e259b23515f3d6d62fd1e4fc0ea (patch)
tree8c603526cc3df1ee662e38cf25d328c71837625e /tools/build_rules/go
parent038a574e42dad1b29f734c10f2f4c3d4af1ee6a4 (diff)
Use labels in load statements
This will fix some issue with loading skylark rules from @bazel_tools. Tested with ./compile.sh all and also a project that use pkg_tar from @bazel_tools (which is broken at HEAD). -- Change-Id: Iffbb7134ef5fee497890c4d01b85084973d45ad0 Reviewed-on: https://bazel-review.googlesource.com/2800 MOS_MIGRATED_REVID=113508661
Diffstat (limited to 'tools/build_rules/go')
-rw-r--r--tools/build_rules/go/tools/BUILD2
-rw-r--r--tools/build_rules/go/tools/filter_tags/BUILD2
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/build_rules/go/tools/BUILD b/tools/build_rules/go/tools/BUILD
index 0c118ab38b..1dfa4c25c4 100644
--- a/tools/build_rules/go/tools/BUILD
+++ b/tools/build_rules/go/tools/BUILD
@@ -1,6 +1,6 @@
package(default_visibility = ["//visibility:public"])
-load("/tools/build_rules/go/def", "go_binary")
+load("//tools/build_rules/go:def.bzl", "go_binary")
# This binary is used implicitly by go_test().
go_binary(
diff --git a/tools/build_rules/go/tools/filter_tags/BUILD b/tools/build_rules/go/tools/filter_tags/BUILD
index 2372eed8b7..d1dc3faaa9 100644
--- a/tools/build_rules/go/tools/filter_tags/BUILD
+++ b/tools/build_rules/go/tools/filter_tags/BUILD
@@ -1,6 +1,6 @@
package(default_visibility = ["//visibility:public"])
-load("/tools/build_rules/go/def", "go_prefix", "go_library", "go_binary", "go_test")
+load("//tools/build_rules/go:def.bzl", "go_prefix", "go_library", "go_binary", "go_test")
go_library(
name = "filter_tags_lib",