1234567891011121314151617181920212223242526272829 |
- load("@io_bazel_rules_go//go:def.bzl", "go_library")
- go_library(
- name = "go_default_library",
- srcs = [
- "block.go",
- "lz4.go",
- "reader.go",
- "writer.go",
- ],
- importmap = "go-common/vendor/github.com/pierrec/lz4",
- importpath = "github.com/pierrec/lz4",
- visibility = ["//visibility:public"],
- deps = ["//vendor/github.com/pierrec/xxHash/xxHash32:go_default_library"],
- )
- filegroup(
- name = "package-srcs",
- srcs = glob(["**"]),
- tags = ["automanaged"],
- visibility = ["//visibility:private"],
- )
- filegroup(
- name = "all-srcs",
- srcs = [":package-srcs"],
- tags = ["automanaged"],
- visibility = ["//visibility:public"],
- )
|