BUILD 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  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. "banner.go",
  10. "daily.go",
  11. "http.go",
  12. "local.go",
  13. "rank.go",
  14. "region.go",
  15. "show.go",
  16. ],
  17. importpath = "go-common/app/interface/main/app-show/http",
  18. tags = ["automanaged"],
  19. visibility = ["//visibility:public"],
  20. deps = [
  21. "//app/interface/main/app-show/conf:go_default_library",
  22. "//app/interface/main/app-show/model:go_default_library",
  23. "//app/interface/main/app-show/model/region:go_default_library",
  24. "//app/interface/main/app-show/model/show:go_default_library",
  25. "//app/interface/main/app-show/service/banner:go_default_library",
  26. "//app/interface/main/app-show/service/daily:go_default_library",
  27. "//app/interface/main/app-show/service/ping:go_default_library",
  28. "//app/interface/main/app-show/service/rank:go_default_library",
  29. "//app/interface/main/app-show/service/region:go_default_library",
  30. "//app/interface/main/app-show/service/show:go_default_library",
  31. "//library/ecode:go_default_library",
  32. "//library/log:go_default_library",
  33. "//library/net/http/blademaster:go_default_library",
  34. "//library/net/http/blademaster/middleware/auth:go_default_library",
  35. "//library/net/http/blademaster/render:go_default_library",
  36. "//library/net/metadata:go_default_library",
  37. ],
  38. )
  39. filegroup(
  40. name = "package-srcs",
  41. srcs = glob(["**"]),
  42. tags = ["automanaged"],
  43. visibility = ["//visibility:private"],
  44. )
  45. filegroup(
  46. name = "all-srcs",
  47. srcs = [":package-srcs"],
  48. tags = ["automanaged"],
  49. visibility = ["//visibility:public"],
  50. )