BUILD 944 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. package(default_visibility = ["//visibility:public"])
  2. load(
  3. "@io_bazel_rules_go//go:def.bzl",
  4. "go_test",
  5. "go_library",
  6. )
  7. go_test(
  8. name = "go_default_test",
  9. srcs = ["queue_test.go"],
  10. embed = [":go_default_library"],
  11. rundir = ".",
  12. tags = ["automanaged"],
  13. )
  14. go_library(
  15. name = "go_default_library",
  16. srcs = ["queue.go"],
  17. importpath = "go-common/app/admin/main/up/util/timerqueue",
  18. tags = ["automanaged"],
  19. visibility = ["//visibility:public"],
  20. )
  21. go_test(
  22. name = "go_default_xtest",
  23. srcs = ["example_test.go"],
  24. tags = ["automanaged"],
  25. deps = ["//app/admin/main/up/util/timerqueue:go_default_library"],
  26. )
  27. filegroup(
  28. name = "package-srcs",
  29. srcs = glob(["**"]),
  30. tags = ["automanaged"],
  31. visibility = ["//visibility:private"],
  32. )
  33. filegroup(
  34. name = "all-srcs",
  35. srcs = [":package-srcs"],
  36. tags = ["automanaged"],
  37. visibility = ["//visibility:public"],
  38. )