• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1package(default_visibility = ["//visibility:public"])
2
3licenses(["notice"])  # MIT
4
5load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
6
7go_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
21go_test(
22    name = "cbrotli_test",
23    size = "small",
24    srcs = ["cbrotli_test.go"],
25    embed = [":cbrotli"],
26)
27