BUILD.bazel 764 B

123456789101112131415161718192021222324252627282930313233
  1. load("@io_bazel_rules_go//go:def.bzl", "go_library")
  2. go_library(
  3. name = "go_default_library",
  4. srcs = [
  5. "conn.go",
  6. "constants.go",
  7. "dnshostprovider.go",
  8. "flw.go",
  9. "lock.go",
  10. "server_help.go",
  11. "server_java.go",
  12. "structs.go",
  13. "util.go",
  14. ],
  15. importmap = "go-common/vendor/github.com/samuel/go-zookeeper/zk",
  16. importpath = "github.com/samuel/go-zookeeper/zk",
  17. visibility = ["//visibility:public"],
  18. )
  19. filegroup(
  20. name = "package-srcs",
  21. srcs = glob(["**"]),
  22. tags = ["automanaged"],
  23. visibility = ["//visibility:private"],
  24. )
  25. filegroup(
  26. name = "all-srcs",
  27. srcs = [":package-srcs"],
  28. tags = ["automanaged"],
  29. visibility = ["//visibility:public"],
  30. )