BUILD 633 B

123456789101112131415161718192021222324252627282930
  1. load(
  2. "@io_bazel_rules_go//go:def.bzl",
  3. "go_library",
  4. )
  5. filegroup(
  6. name = "package-srcs",
  7. srcs = glob(["**"]),
  8. tags = ["automanaged"],
  9. visibility = ["//visibility:private"],
  10. )
  11. filegroup(
  12. name = "all-srcs",
  13. srcs = [
  14. ":package-srcs",
  15. "//library/naming/discovery:all-srcs",
  16. "//library/naming/livezk:all-srcs",
  17. ],
  18. tags = ["automanaged"],
  19. visibility = ["//visibility:public"],
  20. )
  21. go_library(
  22. name = "go_default_library",
  23. srcs = ["naming.go"],
  24. importpath = "go-common/library/naming",
  25. tags = ["automanaged"],
  26. visibility = ["//visibility:public"],
  27. )