BUILD 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  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. "feed2.go",
  11. ],
  12. importpath = "go-common/app/interface/main/app-channel/model/feed",
  13. tags = ["automanaged"],
  14. visibility = ["//visibility:public"],
  15. deps = [
  16. "//app/interface/main/app-card/model/card: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/live:go_default_library",
  20. "//app/interface/main/app-card/model/card/operate:go_default_library",
  21. "//app/interface/main/app-card/model/card/show:go_default_library",
  22. "//app/interface/main/app-channel/model:go_default_library",
  23. "//app/interface/main/app-channel/model/activity:go_default_library",
  24. "//app/interface/main/app-channel/model/card:go_default_library",
  25. "//app/interface/main/app-channel/model/channel:go_default_library",
  26. "//app/interface/main/app-channel/model/dislike:go_default_library",
  27. "//app/interface/main/app-channel/model/recommend: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/relation/model:go_default_library",
  33. "//app/service/openplatform/pgc-season/api/grpc/episode/v1:go_default_library",
  34. "//library/time:go_default_library",
  35. ],
  36. )
  37. filegroup(
  38. name = "package-srcs",
  39. srcs = glob(["**"]),
  40. tags = ["automanaged"],
  41. visibility = ["//visibility:private"],
  42. )
  43. filegroup(
  44. name = "all-srcs",
  45. srcs = [":package-srcs"],
  46. tags = ["automanaged"],
  47. visibility = ["//visibility:public"],
  48. )