BUILD 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. load(
  2. "@io_bazel_rules_go//go:def.bzl",
  3. "go_library",
  4. )
  5. go_library(
  6. name = "go_default_library",
  7. srcs = [
  8. "audit.go",
  9. "auth.go",
  10. "history.go",
  11. "http.go",
  12. "media.go",
  13. "others.go",
  14. "pages.go",
  15. "recommend.go",
  16. "search.go",
  17. "tvvip.go",
  18. "ugc.go",
  19. "ugc_view.go",
  20. "upgrade.go",
  21. "wild.go",
  22. "zone_index.go",
  23. ],
  24. importpath = "go-common/app/interface/main/tv/http",
  25. tags = ["automanaged"],
  26. visibility = ["//visibility:public"],
  27. deps = [
  28. "//app/interface/main/tv/conf:go_default_library",
  29. "//app/interface/main/tv/dao/thirdp:go_default_library",
  30. "//app/interface/main/tv/model:go_default_library",
  31. "//app/interface/main/tv/model/search:go_default_library",
  32. "//app/interface/main/tv/model/tvvip:go_default_library",
  33. "//app/interface/main/tv/service/app:go_default_library",
  34. "//app/interface/main/tv/service/audit:go_default_library",
  35. "//app/interface/main/tv/service/favorite:go_default_library",
  36. "//app/interface/main/tv/service/goblin:go_default_library",
  37. "//app/interface/main/tv/service/history:go_default_library",
  38. "//app/interface/main/tv/service/pgc:go_default_library",
  39. "//app/interface/main/tv/service/search:go_default_library",
  40. "//app/interface/main/tv/service/thirdp:go_default_library",
  41. "//app/interface/main/tv/service/tvvip:go_default_library",
  42. "//app/interface/main/tv/service/view:go_default_library",
  43. "//library/ecode:go_default_library",
  44. "//library/log:go_default_library",
  45. "//library/net/http/blademaster:go_default_library",
  46. "//library/net/http/blademaster/binding:go_default_library",
  47. "//library/net/http/blademaster/middleware/auth:go_default_library",
  48. "//library/net/http/blademaster/middleware/verify:go_default_library",
  49. "//library/net/http/blademaster/render:go_default_library",
  50. "//library/net/metadata:go_default_library",
  51. ],
  52. )
  53. filegroup(
  54. name = "package-srcs",
  55. srcs = glob(["**"]),
  56. tags = ["automanaged"],
  57. visibility = ["//visibility:private"],
  58. )
  59. filegroup(
  60. name = "all-srcs",
  61. srcs = [":package-srcs"],
  62. tags = ["automanaged"],
  63. visibility = ["//visibility:public"],
  64. )