BUILD 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  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. "bangumi.go",
  9. "bfs.go",
  10. "channel.go",
  11. "common.go",
  12. "egg.go",
  13. "http.go",
  14. "popular.go",
  15. "search.go",
  16. ],
  17. importpath = "go-common/app/admin/main/feed/http",
  18. tags = ["automanaged"],
  19. visibility = ["//visibility:public"],
  20. deps = [
  21. "//app/admin/main/feed/conf:go_default_library",
  22. "//app/admin/main/feed/model/channel:go_default_library",
  23. "//app/admin/main/feed/model/common:go_default_library",
  24. "//app/admin/main/feed/model/egg:go_default_library",
  25. "//app/admin/main/feed/model/search:go_default_library",
  26. "//app/admin/main/feed/model/show:go_default_library",
  27. "//app/admin/main/feed/service/bfs:go_default_library",
  28. "//app/admin/main/feed/service/channel:go_default_library",
  29. "//app/admin/main/feed/service/common:go_default_library",
  30. "//app/admin/main/feed/service/egg:go_default_library",
  31. "//app/admin/main/feed/service/pgc:go_default_library",
  32. "//app/admin/main/feed/service/popular:go_default_library",
  33. "//app/admin/main/feed/service/search:go_default_library",
  34. "//app/admin/main/feed/util:go_default_library",
  35. "//app/service/openplatform/pgc-season/api/grpc/episode/v1:go_default_library",
  36. "//app/service/openplatform/pgc-season/api/grpc/season/v1:go_default_library",
  37. "//library/ecode:go_default_library",
  38. "//library/log:go_default_library",
  39. "//library/net/http/blademaster:go_default_library",
  40. "//library/net/http/blademaster/middleware/permit:go_default_library",
  41. "//library/net/http/blademaster/render:go_default_library",
  42. "//library/time:go_default_library",
  43. "//vendor/github.com/jinzhu/gorm:go_default_library",
  44. ],
  45. )
  46. filegroup(
  47. name = "package-srcs",
  48. srcs = glob(["**"]),
  49. tags = ["automanaged"],
  50. visibility = ["//visibility:private"],
  51. )
  52. filegroup(
  53. name = "all-srcs",
  54. srcs = [":package-srcs"],
  55. tags = ["automanaged"],
  56. visibility = ["//visibility:public"],
  57. )