diff options
author | Cody Schroeder <schroederc@google.com> | 2018-06-26 09:08:07 -0700 |
---|---|---|
committer | Eugene Kliuchnikov <eustas@google.com> | 2018-06-26 18:08:07 +0200 |
commit | ee2a5e1540cbd6ef883a897499d9596307f7f7f9 (patch) | |
tree | 5f53c12d6ea548043280253e9412c8e1524fd344 /go/cbrotli | |
parent | eb12ec04ebb0e9ebb95bb2f13d1edfb62d7ae51d (diff) | |
download | brotli-ee2a5e1540cbd6ef883a897499d9596307f7f7f9.zip brotli-ee2a5e1540cbd6ef883a897499d9596307f7f7f9.tar.gz brotli-ee2a5e1540cbd6ef883a897499d9596307f7f7f9.tar.bz2 |
Update go_library to use standard importpath (#690)
* Update go_library to use standard importpath
Instead of using go_prefix, which is deprecated, the importpath attribute is made explicit.
* Add description to go/BUILD
Diffstat (limited to 'go/cbrotli')
-rw-r--r-- | go/cbrotli/BUILD | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/go/cbrotli/BUILD b/go/cbrotli/BUILD index 0f23a15..ce594ad 100644 --- a/go/cbrotli/BUILD +++ b/go/cbrotli/BUILD @@ -2,9 +2,7 @@ package(default_visibility = ["//visibility:public"]) licenses(["notice"]) # MIT -load("@io_bazel_rules_go//go:def.bzl", "go_prefix", "go_library", "go_test") - -go_prefix("github.com/google/brotli") +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") go_library( name = "cbrotli", @@ -16,7 +14,8 @@ go_library( "@org_brotli//:brotlidec", "@org_brotli//:brotlienc", ], - cgo=True, + cgo = True, + importpath = "github.com/google/brotli/go/cbrotli", ) go_test( |