BUILD 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  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. "abtest.go",
  10. "audit.go",
  11. "broadcast.go",
  12. "domain.go",
  13. "http.go",
  14. "interest.go",
  15. "local.go",
  16. "module.go",
  17. "notice.go",
  18. "param.go",
  19. "plugin.go",
  20. "show.go",
  21. "sidebar.go",
  22. "splash.go",
  23. "static.go",
  24. "version.go",
  25. "white.go",
  26. ],
  27. importpath = "go-common/app/interface/main/app-resource/http",
  28. tags = ["automanaged"],
  29. visibility = ["//visibility:public"],
  30. deps = [
  31. "//app/interface/main/app-resource/conf:go_default_library",
  32. "//app/interface/main/app-resource/model:go_default_library",
  33. "//app/interface/main/app-resource/model/module:go_default_library",
  34. "//app/interface/main/app-resource/model/version:go_default_library",
  35. "//app/interface/main/app-resource/service/abtest:go_default_library",
  36. "//app/interface/main/app-resource/service/audit:go_default_library",
  37. "//app/interface/main/app-resource/service/broadcast:go_default_library",
  38. "//app/interface/main/app-resource/service/domain:go_default_library",
  39. "//app/interface/main/app-resource/service/guide:go_default_library",
  40. "//app/interface/main/app-resource/service/module:go_default_library",
  41. "//app/interface/main/app-resource/service/notice:go_default_library",
  42. "//app/interface/main/app-resource/service/param:go_default_library",
  43. "//app/interface/main/app-resource/service/ping:go_default_library",
  44. "//app/interface/main/app-resource/service/plugin:go_default_library",
  45. "//app/interface/main/app-resource/service/show:go_default_library",
  46. "//app/interface/main/app-resource/service/sidebar:go_default_library",
  47. "//app/interface/main/app-resource/service/splash:go_default_library",
  48. "//app/interface/main/app-resource/service/static:go_default_library",
  49. "//app/interface/main/app-resource/service/version:go_default_library",
  50. "//app/interface/main/app-resource/service/white:go_default_library",
  51. "//library/ecode:go_default_library",
  52. "//library/log:go_default_library",
  53. "//library/net/http/blademaster:go_default_library",
  54. "//library/net/http/blademaster/middleware/auth:go_default_library",
  55. "@com_github_golang_protobuf//proto:go_default_library",
  56. ],
  57. )
  58. filegroup(
  59. name = "package-srcs",
  60. srcs = glob(["**"]),
  61. tags = ["automanaged"],
  62. visibility = ["//visibility:private"],
  63. )
  64. filegroup(
  65. name = "all-srcs",
  66. srcs = [":package-srcs"],
  67. tags = ["automanaged"],
  68. visibility = ["//visibility:public"],
  69. )