BUILD 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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. "http.go",
  10. "local.go",
  11. "mail.go",
  12. "manager.go",
  13. "mng_auth.go",
  14. "mng_role.go",
  15. "mng_user.go",
  16. "package.go",
  17. "publish.go",
  18. ],
  19. importpath = "go-common/app/admin/main/macross/http",
  20. tags = ["automanaged"],
  21. visibility = ["//visibility:public"],
  22. deps = [
  23. "//app/admin/main/macross/conf:go_default_library",
  24. "//app/admin/main/macross/model/mail:go_default_library",
  25. "//app/admin/main/macross/model/package:go_default_library",
  26. "//app/admin/main/macross/model/publish:go_default_library",
  27. "//app/admin/main/macross/service:go_default_library",
  28. "//library/ecode:go_default_library",
  29. "//library/log:go_default_library",
  30. "//library/net/http/blademaster:go_default_library",
  31. "//library/net/http/blademaster/middleware/permit:go_default_library",
  32. "//library/net/http/blademaster/middleware/verify:go_default_library",
  33. ],
  34. )
  35. filegroup(
  36. name = "package-srcs",
  37. srcs = glob(["**"]),
  38. tags = ["automanaged"],
  39. visibility = ["//visibility:private"],
  40. )
  41. filegroup(
  42. name = "all-srcs",
  43. srcs = [":package-srcs"],
  44. tags = ["automanaged"],
  45. visibility = ["//visibility:public"],
  46. )