1package(default_visibility = ["//visibility:public"]) 2 3licenses(["notice"]) # MIT 4 5load("@io_bazel_rules_go//go:def.bzl", "cgo_library") 6 7cgo_library( 8 name = "decoder", 9 srcs = ["decoder.go"], 10 visibility = ["//go/cbrotli:__subpackages__"], 11 cdeps = ["//:brotlidec"], 12) 13 14cgo_library( 15 name = "encoder", 16 srcs = ["encoder.go"], 17 visibility = ["//go/cbrotli:__subpackages__"], 18 cdeps = ["//:brotlienc"], 19) 20