brotli/go/cbrotli/BUILD
Cody Schroeder ee2a5e1540 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
2018-06-26 18:08:07 +02:00

27 lines
527 B
Python

package(default_visibility = ["//visibility:public"])
licenses(["notice"]) # MIT
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
go_library(
name = "cbrotli",
srcs = [
"reader.go",
"writer.go",
],
cdeps = [
"@org_brotli//:brotlidec",
"@org_brotli//:brotlienc",
],
cgo = True,
importpath = "github.com/google/brotli/go/cbrotli",
)
go_test(
name = "cbrotli_test",
size = "small",
srcs = ["cbrotli_test.go"],
embed = [":cbrotli"],
)