Debian Codegraph @

go/cbrotli/BUILD.bazel

raw
1 load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
2
3 package(default_visibility = ["//visibility:public"])
4
5 licenses(["notice"]) # MIT
6
7 go_library(
8 name = "cbrotli",
9 srcs = [
10 "reader.go",
11 "writer.go",
12 ],
13 cdeps = [
14 "@org_brotli//:brotlidec",
15 "@org_brotli//:brotlienc",
16 ],
17 cgo = True,
18 importpath = "github.com/google/brotli/go/cbrotli",
19 )
20
21 go_test(
22 name = "cbrotli_test",
23 size = "small",
24 srcs = ["cbrotli_test.go"],
25 deps = [":cbrotli"],
26 )
27
28 go_test(
29 name = "synth_test",
30 size = "small",
31 srcs = ["synth_test.go"],
32 deps = [":cbrotli"],
33 )