hc
2024-03-22 a0752693d998599af469473b8dc239ef973a012f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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"],
)