BUILD 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  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. "card.go",
  10. "double.go",
  11. "ipad.go",
  12. "single.go",
  13. ],
  14. importpath = "go-common/app/interface/main/app-card/model/card",
  15. tags = ["automanaged"],
  16. visibility = ["//visibility:public"],
  17. deps = [
  18. "//app/interface/main/app-card/model:go_default_library",
  19. "//app/interface/main/app-card/model/bplus:go_default_library",
  20. "//app/interface/main/app-card/model/card/ai:go_default_library",
  21. "//app/interface/main/app-card/model/card/audio:go_default_library",
  22. "//app/interface/main/app-card/model/card/bangumi:go_default_library",
  23. "//app/interface/main/app-card/model/card/banner:go_default_library",
  24. "//app/interface/main/app-card/model/card/cm:go_default_library",
  25. "//app/interface/main/app-card/model/card/live:go_default_library",
  26. "//app/interface/main/app-card/model/card/operate:go_default_library",
  27. "//app/interface/main/app-card/model/card/show: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/api:go_default_library",
  32. "//app/service/main/archive/model/archive: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. "//app/service/openplatform/pgc-season/api/grpc/season/v1:go_default_library",
  36. "//library/log: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 = [
  48. ":package-srcs",
  49. "//app/interface/main/app-card/model/card/ai:all-srcs",
  50. "//app/interface/main/app-card/model/card/audio:all-srcs",
  51. "//app/interface/main/app-card/model/card/bangumi:all-srcs",
  52. "//app/interface/main/app-card/model/card/banner:all-srcs",
  53. "//app/interface/main/app-card/model/card/cm:all-srcs",
  54. "//app/interface/main/app-card/model/card/live:all-srcs",
  55. "//app/interface/main/app-card/model/card/operate:all-srcs",
  56. "//app/interface/main/app-card/model/card/rank:all-srcs",
  57. "//app/interface/main/app-card/model/card/show:all-srcs",
  58. "//app/interface/main/app-card/model/card/topic:all-srcs",
  59. ],
  60. tags = ["automanaged"],
  61. visibility = ["//visibility:public"],
  62. )