BUILD 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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-view/model",
  10. tags = ["automanaged"],
  11. deps = [
  12. "//app/service/main/archive/api:go_default_library",
  13. "//app/service/main/archive/model/archive:go_default_library",
  14. ],
  15. )
  16. filegroup(
  17. name = "package-srcs",
  18. srcs = glob(["**"]),
  19. tags = ["automanaged"],
  20. visibility = ["//visibility:private"],
  21. )
  22. filegroup(
  23. name = "all-srcs",
  24. srcs = [
  25. ":package-srcs",
  26. "//app/interface/main/app-view/model/act:all-srcs",
  27. "//app/interface/main/app-view/model/ad:all-srcs",
  28. "//app/interface/main/app-view/model/bangumi:all-srcs",
  29. "//app/interface/main/app-view/model/creative:all-srcs",
  30. "//app/interface/main/app-view/model/elec:all-srcs",
  31. "//app/interface/main/app-view/model/game:all-srcs",
  32. "//app/interface/main/app-view/model/live:all-srcs",
  33. "//app/interface/main/app-view/model/manager:all-srcs",
  34. "//app/interface/main/app-view/model/region:all-srcs",
  35. "//app/interface/main/app-view/model/report:all-srcs",
  36. "//app/interface/main/app-view/model/search:all-srcs",
  37. "//app/interface/main/app-view/model/special:all-srcs",
  38. "//app/interface/main/app-view/model/tag:all-srcs",
  39. "//app/interface/main/app-view/model/view:all-srcs",
  40. ],
  41. tags = ["automanaged"],
  42. visibility = ["//visibility:public"],
  43. )