Edit

kc3-lang/brotli/go/cbrotli/BUILD.bazel

Branch :

  • Show log

    Commit

  • Author : Evgenii Kliuchnikov
    Date : 2025-06-17 06:01:41
    Hash : 7bd1bd44
    Message : add synth_test for cbrotli PiperOrigin-RevId: 772439037

  • go/cbrotli/BUILD.bazel
  • load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
    
    package(default_visibility = ["//visibility:public"])
    
    licenses(["notice"])  # MIT
    
    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"],
        deps = [":cbrotli"],
    )
    
    go_test(
        name = "synth_test",
        size = "small",
        srcs = ["synth_test.go"],
        deps = [":cbrotli"],
    )