BUILD.bazel 640 B

123456789101112131415161718192021222324
  1. load("@io_bazel_rules_go//go:def.bzl", "go_library")
  2. go_library(
  3. name = "go_default_library",
  4. srcs = ["snappy.go"],
  5. importmap = "go-common/vendor/github.com/eapache/go-xerial-snappy",
  6. importpath = "github.com/eapache/go-xerial-snappy",
  7. visibility = ["//visibility:public"],
  8. deps = ["//vendor/github.com/golang/snappy:go_default_library"],
  9. )
  10. filegroup(
  11. name = "package-srcs",
  12. srcs = glob(["**"]),
  13. tags = ["automanaged"],
  14. visibility = ["//visibility:private"],
  15. )
  16. filegroup(
  17. name = "all-srcs",
  18. srcs = [":package-srcs"],
  19. tags = ["automanaged"],
  20. visibility = ["//visibility:public"],
  21. )