aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/build_rules
diff options
context:
space:
mode:
Diffstat (limited to 'tools/build_rules')
-rw-r--r--tools/build_rules/go/README.md3
-rw-r--r--tools/build_rules/go/def.bzl7
2 files changed, 2 insertions, 8 deletions
diff --git a/tools/build_rules/go/README.md b/tools/build_rules/go/README.md
index a7a7b8a83d..347aee621a 100644
--- a/tools/build_rules/go/README.md
+++ b/tools/build_rules/go/README.md
@@ -21,7 +21,6 @@ The rules should be considered experimental. They support:
They currently do not support (in order of importance):
-* Darwin
* `//+build` tags
* auto generated BUILD files.
* C/C++ interoperation (cgo, swig etc.)
@@ -70,7 +69,7 @@ They currently do not support (in order of importance):
* In this case, import the library as `github.com/joe/project/lib`.
* For vendored libraries, you may depend on
- `//lib/vendor/github_com/user/project:go_default_library`. Vendored
+ `//lib/vendor/github.com/user/project:go_default_library`. Vendored
libraries should have BUILD files like normal libraries.
* To declare a test,
diff --git a/tools/build_rules/go/def.bzl b/tools/build_rules/go/def.bzl
index 4f4bfc98d9..2563e9ebd8 100644
--- a/tools/build_rules/go/def.bzl
+++ b/tools/build_rules/go/def.bzl
@@ -334,7 +334,7 @@ go_library_attrs = {
),
"go_prefix": attr.label(
providers = ["go_prefix"],
- default = Label("//external:go_prefix"),
+ default = Label("//:go_prefix"),
allow_files = False,
cfg = HOST_CFG,
),
@@ -380,12 +380,7 @@ go_test = rule(
test = True,
)
-# TODO(bazel-team): support darwin
def go_repositories():
- native.bind(name = "go_prefix",
- actual = "//:go_prefix",
- )
-
native.new_http_archive(
name= "golang-linux-amd64",
url = "https://storage.googleapis.com/golang/go1.5.1.linux-amd64.tar.gz",