diff options
author | Eugene Kliuchnikov <eustas@google.com> | 2018-05-31 13:21:04 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-31 13:21:04 +0200 |
commit | 29dc2cce9090d6c92c908116e11373bc7fdc8ad1 (patch) | |
tree | 57cee02097592492801a676a5877dc600f1ec377 /go | |
parent | f9b8c02673c576a3e807edbf3a9328e9e7af6d7c (diff) | |
download | brotli-29dc2cce9090d6c92c908116e11373bc7fdc8ad1.zip brotli-29dc2cce9090d6c92c908116e11373bc7fdc8ad1.tar.gz brotli-29dc2cce9090d6c92c908116e11373bc7fdc8ad1.tar.bz2 |
Update golang and JS Bazel plugins to latest stable versions. (#676)
Diffstat (limited to 'go')
-rw-r--r-- | go/cbrotli/BUILD | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/go/cbrotli/BUILD b/go/cbrotli/BUILD index e045b61..ed0a055 100644 --- a/go/cbrotli/BUILD +++ b/go/cbrotli/BUILD @@ -2,11 +2,11 @@ package(default_visibility = ["//visibility:public"]) licenses(["notice"]) # MIT -load("@io_bazel_rules_go//go:def.bzl", "go_prefix", "cgo_library", "go_test") +load("@io_bazel_rules_go//go:def.bzl", "go_prefix", "go_library", "go_test") go_prefix("github.com/google/brotli") -cgo_library( +go_library( name = "cbrotli", srcs = [ "reader.go", @@ -16,11 +16,12 @@ cgo_library( "//:brotlidec", "//:brotlienc", ], + cgo=True, ) go_test( name = "cbrotli_test", size = "small", srcs = ["cbrotli_test.go"], - library = ":cbrotli", + embed = [":cbrotli"], ) |