BUILD.bazel 669 B

123456789101112131415161718192021222324252627
  1. load("@io_bazel_rules_go//go:def.bzl", "go_library")
  2. go_library(
  3. name = "go_default_library",
  4. srcs = [
  5. "arena.go",
  6. "skl.go",
  7. ],
  8. importmap = "go-common/vendor/github.com/dgraph-io/badger/skl",
  9. importpath = "github.com/dgraph-io/badger/skl",
  10. visibility = ["//visibility:public"],
  11. deps = ["//vendor/github.com/dgraph-io/badger/y:go_default_library"],
  12. )
  13. filegroup(
  14. name = "package-srcs",
  15. srcs = glob(["**"]),
  16. tags = ["automanaged"],
  17. visibility = ["//visibility:private"],
  18. )
  19. filegroup(
  20. name = "all-srcs",
  21. srcs = [":package-srcs"],
  22. tags = ["automanaged"],
  23. visibility = ["//visibility:public"],
  24. )