mirror of
https://github.com/google/brotli.git
synced 2024-12-02 07:40:09 +00:00
04de756ad2
Based on PR #533. Kudos to Bryan (bcmillis@).
27 lines
487 B
Python
Executable File
27 lines
487 B
Python
Executable File
package(default_visibility = ["//visibility:public"])
|
|
|
|
licenses(["notice"]) # MIT
|
|
|
|
load("@io_bazel_rules_go//go:def.bzl", "go_prefix", "cgo_library", "go_test")
|
|
|
|
go_prefix("github.com/google/brotli")
|
|
|
|
cgo_library(
|
|
name = "cbrotli",
|
|
srcs = [
|
|
"reader.go",
|
|
"writer.go",
|
|
],
|
|
cdeps = [
|
|
"//:brotlidec",
|
|
"//:brotlienc",
|
|
],
|
|
)
|
|
|
|
go_test(
|
|
name = "cbrotli_test",
|
|
size = "small",
|
|
srcs = ["cbrotli_test.go"],
|
|
library = ":cbrotli",
|
|
)
|