BUILD 854 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. package(default_visibility = ["//visibility:public"])
  2. load(
  3. "@io_bazel_rules_go//go:def.bzl",
  4. "go_library",
  5. )
  6. go_library(
  7. name = "go_default_library",
  8. srcs = [
  9. "common.go",
  10. "databus.go",
  11. "email.go",
  12. "message.go",
  13. "report.go",
  14. "resource.go",
  15. "task.go",
  16. ],
  17. importpath = "go-common/app/job/main/aegis/model",
  18. tags = ["automanaged"],
  19. visibility = ["//visibility:public"],
  20. deps = ["//library/time:go_default_library"],
  21. )
  22. filegroup(
  23. name = "package-srcs",
  24. srcs = glob(["**"]),
  25. tags = ["automanaged"],
  26. visibility = ["//visibility:private"],
  27. )
  28. filegroup(
  29. name = "all-srcs",
  30. srcs = [
  31. ":package-srcs",
  32. "//app/job/main/aegis/model/monitor:all-srcs",
  33. ],
  34. tags = ["automanaged"],
  35. visibility = ["//visibility:public"],
  36. )