BUILD 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  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 = [
  9. "access.go",
  10. "auth.go",
  11. "contain.go",
  12. "empty_arc.go",
  13. "service.go",
  14. "view.go",
  15. ],
  16. importpath = "go-common/app/interface/main/tv/service/view",
  17. tags = ["automanaged"],
  18. visibility = ["//visibility:public"],
  19. deps = [
  20. "//app/interface/main/tv/conf:go_default_library",
  21. "//app/interface/main/tv/dao/account:go_default_library",
  22. "//app/interface/main/tv/dao/archive:go_default_library",
  23. "//app/interface/main/tv/dao/cms:go_default_library",
  24. "//app/interface/main/tv/dao/favorite:go_default_library",
  25. "//app/interface/main/tv/dao/upper:go_default_library",
  26. "//app/interface/main/tv/model:go_default_library",
  27. "//app/interface/main/tv/model/upper:go_default_library",
  28. "//app/interface/main/tv/model/view:go_default_library",
  29. "//app/service/main/archive/api:go_default_library",
  30. "//app/service/main/archive/model/archive:go_default_library",
  31. "//library/ecode:go_default_library",
  32. "//library/log:go_default_library",
  33. "//library/stat/prom:go_default_library",
  34. "//library/sync/errgroup:go_default_library",
  35. ],
  36. )
  37. filegroup(
  38. name = "package-srcs",
  39. srcs = glob(["**"]),
  40. tags = ["automanaged"],
  41. visibility = ["//visibility:private"],
  42. )
  43. filegroup(
  44. name = "all-srcs",
  45. srcs = [":package-srcs"],
  46. tags = ["automanaged"],
  47. visibility = ["//visibility:public"],
  48. )