BUILD 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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. "feed.go",
  10. "player.go",
  11. ],
  12. importpath = "go-common/app/interface/main/app-feed/model/feed",
  13. tags = ["automanaged"],
  14. deps = [
  15. "//app/interface/main/app-card/model:go_default_library",
  16. "//app/interface/main/app-card/model/card/ai:go_default_library",
  17. "//app/interface/main/app-card/model/card/audio:go_default_library",
  18. "//app/interface/main/app-card/model/card/bangumi:go_default_library",
  19. "//app/interface/main/app-card/model/card/banner:go_default_library",
  20. "//app/interface/main/app-card/model/card/cm:go_default_library",
  21. "//app/interface/main/app-card/model/card/live:go_default_library",
  22. "//app/interface/main/app-card/model/card/operate:go_default_library",
  23. "//app/interface/main/app-card/model/card/rank:go_default_library",
  24. "//app/interface/main/app-card/model/card/show:go_default_library",
  25. "//app/interface/main/app-feed/model:go_default_library",
  26. "//app/interface/main/app-feed/model/dislike:go_default_library",
  27. "//app/interface/main/app-feed/model/live:go_default_library",
  28. "//app/interface/main/tag/model:go_default_library",
  29. "//app/interface/openplatform/article/model:go_default_library",
  30. "//app/service/main/account/model:go_default_library",
  31. "//app/service/main/archive/model/archive:go_default_library",
  32. "//app/service/main/feed/model:go_default_library",
  33. "//app/service/main/relation/model:go_default_library",
  34. "//app/service/openplatform/pgc-season/api/grpc/episode/v1:go_default_library",
  35. "//library/time:go_default_library",
  36. ],
  37. )
  38. filegroup(
  39. name = "package-srcs",
  40. srcs = glob(["**"]),
  41. tags = ["automanaged"],
  42. visibility = ["//visibility:private"],
  43. )
  44. filegroup(
  45. name = "all-srcs",
  46. srcs = [":package-srcs"],
  47. tags = ["automanaged"],
  48. visibility = ["//visibility:public"],
  49. )