From 29dc2cce9090d6c92c908116e11373bc7fdc8ad1 Mon Sep 17 00:00:00 2001 From: Eugene Kliuchnikov Date: Thu, 31 May 2018 13:21:04 +0200 Subject: Update golang and JS Bazel plugins to latest stable versions. (#676) --- go/cbrotli/BUILD | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'go') 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"], ) -- cgit v1.1