BUILD 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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-show/model",
  10. tags = ["automanaged"],
  11. visibility = ["//visibility:public"],
  12. deps = ["//app/service/main/archive/api:go_default_library"],
  13. )
  14. filegroup(
  15. name = "package-srcs",
  16. srcs = glob(["**"]),
  17. tags = ["automanaged"],
  18. visibility = ["//visibility:private"],
  19. )
  20. filegroup(
  21. name = "all-srcs",
  22. srcs = [
  23. ":package-srcs",
  24. "//app/interface/main/app-show/model/activity:all-srcs",
  25. "//app/interface/main/app-show/model/ad:all-srcs",
  26. "//app/interface/main/app-show/model/bangumi:all-srcs",
  27. "//app/interface/main/app-show/model/banner:all-srcs",
  28. "//app/interface/main/app-show/model/card:all-srcs",
  29. "//app/interface/main/app-show/model/daily:all-srcs",
  30. "//app/interface/main/app-show/model/dislike:all-srcs",
  31. "//app/interface/main/app-show/model/feed:all-srcs",
  32. "//app/interface/main/app-show/model/live:all-srcs",
  33. "//app/interface/main/app-show/model/recommend:all-srcs",
  34. "//app/interface/main/app-show/model/region:all-srcs",
  35. "//app/interface/main/app-show/model/show:all-srcs",
  36. "//app/interface/main/app-show/model/tag:all-srcs",
  37. ],
  38. tags = ["automanaged"],
  39. visibility = ["//visibility:public"],
  40. )