BUILD 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  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 = ["const.go"],
  9. importpath = "go-common/app/interface/main/app-interface/model",
  10. tags = ["automanaged"],
  11. visibility = ["//visibility:public"],
  12. deps = [
  13. "//app/interface/main/app-interface/model/live:go_default_library",
  14. "//app/service/main/archive/model/archive:go_default_library",
  15. "//library/conf/env:go_default_library",
  16. ],
  17. )
  18. filegroup(
  19. name = "package-srcs",
  20. srcs = glob(["**"]),
  21. tags = ["automanaged"],
  22. visibility = ["//visibility:private"],
  23. )
  24. filegroup(
  25. name = "all-srcs",
  26. srcs = [
  27. ":package-srcs",
  28. "//app/interface/main/app-interface/model/audio:all-srcs",
  29. "//app/interface/main/app-interface/model/bangumi:all-srcs",
  30. "//app/interface/main/app-interface/model/banner:all-srcs",
  31. "//app/interface/main/app-interface/model/bplus:all-srcs",
  32. "//app/interface/main/app-interface/model/coin:all-srcs",
  33. "//app/interface/main/app-interface/model/community:all-srcs",
  34. "//app/interface/main/app-interface/model/elec:all-srcs",
  35. "//app/interface/main/app-interface/model/favorite:all-srcs",
  36. "//app/interface/main/app-interface/model/history:all-srcs",
  37. "//app/interface/main/app-interface/model/live:all-srcs",
  38. "//app/interface/main/app-interface/model/pay:all-srcs",
  39. "//app/interface/main/app-interface/model/region:all-srcs",
  40. "//app/interface/main/app-interface/model/relation:all-srcs",
  41. "//app/interface/main/app-interface/model/search:all-srcs",
  42. "//app/interface/main/app-interface/model/shop:all-srcs",
  43. "//app/interface/main/app-interface/model/sidebar:all-srcs",
  44. "//app/interface/main/app-interface/model/sp:all-srcs",
  45. "//app/interface/main/app-interface/model/space:all-srcs",
  46. "//app/interface/main/app-interface/model/tag:all-srcs",
  47. "//app/interface/main/app-interface/model/topic:all-srcs",
  48. ],
  49. tags = ["automanaged"],
  50. visibility = ["//visibility:public"],
  51. )