BUILD.bazel 661 B

12345678910111213141516171819202122232425262728
  1. load("@io_bazel_rules_go//go:def.bzl", "go_library")
  2. go_library(
  3. name = "go_default_library",
  4. srcs = [
  5. "murmur3.go",
  6. "murmur3_128.go",
  7. "murmur3_32.go",
  8. "murmur3_64.go",
  9. ],
  10. importmap = "go-common/vendor/github.com/Dai0522/go-hash/murmur3",
  11. importpath = "github.com/Dai0522/go-hash/murmur3",
  12. visibility = ["//visibility:public"],
  13. )
  14. filegroup(
  15. name = "package-srcs",
  16. srcs = glob(["**"]),
  17. tags = ["automanaged"],
  18. visibility = ["//visibility:private"],
  19. )
  20. filegroup(
  21. name = "all-srcs",
  22. srcs = [":package-srcs"],
  23. tags = ["automanaged"],
  24. visibility = ["//visibility:public"],
  25. )