BUILD 1.6 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. "job.go",
  11. "local.go",
  12. "notice.go",
  13. "res.go",
  14. ],
  15. importpath = "go-common/app/interface/main/web-show/http",
  16. tags = ["automanaged"],
  17. visibility = ["//visibility:public"],
  18. deps = [
  19. "//app/interface/main/web-show/conf:go_default_library",
  20. "//app/interface/main/web-show/model/operation:go_default_library",
  21. "//app/interface/main/web-show/model/resource:go_default_library",
  22. "//app/interface/main/web-show/service/job:go_default_library",
  23. "//app/interface/main/web-show/service/operation:go_default_library",
  24. "//app/interface/main/web-show/service/resource:go_default_library",
  25. "//library/ecode:go_default_library",
  26. "//library/log:go_default_library",
  27. "//library/net/http/blademaster:go_default_library",
  28. "//library/net/http/blademaster/middleware/auth:go_default_library",
  29. "//library/net/http/blademaster/middleware/cache:go_default_library",
  30. "//library/net/http/blademaster/middleware/cache/store:go_default_library",
  31. "//library/net/http/blademaster/middleware/verify:go_default_library",
  32. "//library/xstr: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. )