Home | History | Annotate | Download | only in cbrotli
      1 package(default_visibility = ["//visibility:public"])
      2 
      3 licenses(["notice"])  # MIT
      4 
      5 load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
      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     embed = [":cbrotli"],
     26 )
     27