BUILD 1.2 KB

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