BUILD 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839
  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-feed/model",
  10. tags = ["automanaged"],
  11. deps = [
  12. "//app/interface/main/app-card/model/card/live: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-feed/model/dislike:all-srcs",
  27. "//app/interface/main/app-feed/model/feed:all-srcs",
  28. "//app/interface/main/app-feed/model/live:all-srcs",
  29. "//app/interface/main/app-feed/model/region:all-srcs",
  30. "//app/interface/main/app-feed/model/search:all-srcs",
  31. "//app/interface/main/app-feed/model/tag:all-srcs",
  32. ],
  33. tags = ["automanaged"],
  34. visibility = ["//visibility:public"],
  35. )