BUILD 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  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. "audit_v2.go",
  10. "auth.go",
  11. "favorite.go",
  12. "follow.go",
  13. "loadpage.go",
  14. "media.go",
  15. "media_v2.go",
  16. "module.go",
  17. "others.go",
  18. "pgc_cards.go",
  19. "playurl.go",
  20. "recommend.go",
  21. "region.go",
  22. "upgrade.go",
  23. "zone_index.go",
  24. ],
  25. importpath = "go-common/app/interface/main/tv/model",
  26. tags = ["automanaged"],
  27. visibility = ["//visibility:public"],
  28. deps = [
  29. "//app/service/main/archive/api:go_default_library",
  30. "//library/ecode:go_default_library",
  31. "//library/time:go_default_library",
  32. ],
  33. )
  34. filegroup(
  35. name = "package-srcs",
  36. srcs = glob(["**"]),
  37. tags = ["automanaged"],
  38. visibility = ["//visibility:private"],
  39. )
  40. filegroup(
  41. name = "all-srcs",
  42. srcs = [
  43. ":package-srcs",
  44. "//app/interface/main/tv/model/goblin:all-srcs",
  45. "//app/interface/main/tv/model/history:all-srcs",
  46. "//app/interface/main/tv/model/search:all-srcs",
  47. "//app/interface/main/tv/model/thirdp:all-srcs",
  48. "//app/interface/main/tv/model/tvvip:all-srcs",
  49. "//app/interface/main/tv/model/upper:all-srcs",
  50. "//app/interface/main/tv/model/view:all-srcs",
  51. ],
  52. tags = ["automanaged"],
  53. visibility = ["//visibility:public"],
  54. )