BUILD 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  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. "business.go",
  10. "csv.go",
  11. "debug.go",
  12. "direction.go",
  13. "engine.go",
  14. "flow.go",
  15. "http.go",
  16. "monitor.go",
  17. "net.go",
  18. "report.go",
  19. "svg.go",
  20. "task.go",
  21. "token.go",
  22. "transition.go",
  23. ],
  24. importpath = "go-common/app/admin/main/aegis/server/http",
  25. tags = ["automanaged"],
  26. visibility = ["//visibility:public"],
  27. deps = [
  28. "//app/admin/main/aegis/conf:go_default_library",
  29. "//app/admin/main/aegis/model:go_default_library",
  30. "//app/admin/main/aegis/model/business:go_default_library",
  31. "//app/admin/main/aegis/model/common:go_default_library",
  32. "//app/admin/main/aegis/model/middleware:go_default_library",
  33. "//app/admin/main/aegis/model/monitor:go_default_library",
  34. "//app/admin/main/aegis/model/net:go_default_library",
  35. "//app/admin/main/aegis/model/svg:go_default_library",
  36. "//app/admin/main/aegis/model/task:go_default_library",
  37. "//app/admin/main/aegis/service:go_default_library",
  38. "//library/ecode:go_default_library",
  39. "//library/log:go_default_library",
  40. "//library/net/http/blademaster:go_default_library",
  41. "//library/net/http/blademaster/binding:go_default_library",
  42. "//library/net/http/blademaster/middleware/permit:go_default_library",
  43. "//library/net/http/blademaster/middleware/verify:go_default_library",
  44. "//library/net/http/blademaster/render:go_default_library",
  45. "//library/time:go_default_library",
  46. "//library/xstr:go_default_library",
  47. "//vendor/github.com/pkg/errors:go_default_library",
  48. ],
  49. )
  50. filegroup(
  51. name = "package-srcs",
  52. srcs = glob(["**"]),
  53. tags = ["automanaged"],
  54. visibility = ["//visibility:private"],
  55. )
  56. filegroup(
  57. name = "all-srcs",
  58. srcs = [":package-srcs"],
  59. tags = ["automanaged"],
  60. visibility = ["//visibility:public"],
  61. )