mirror of
https://github.com/google/brotli.git
synced 2024-11-30 23:20:06 +00:00
68f1b90ad0
Prepare to use copybara worklow.
27 lines
527 B
Python
27 lines
527 B
Python
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
|
|
|
|
package(default_visibility = ["//visibility:public"])
|
|
|
|
licenses(["notice"]) # MIT
|
|
|
|
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"],
|
|
)
|