BUILD 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. load(
  2. "@io_bazel_rules_go//go:def.bzl",
  3. "go_library",
  4. )
  5. go_library(
  6. name = "go_default_library",
  7. srcs = [
  8. "archive.go",
  9. "audit_result.go",
  10. "channel.go",
  11. "content_repo.go",
  12. "full.go",
  13. "intervs.go",
  14. "label.go",
  15. "modules.go",
  16. "order.go",
  17. "panel.go",
  18. "region.go",
  19. "sear_inter.go",
  20. "season_repo.go",
  21. "tv_content.go",
  22. "uplayurl.go",
  23. "upper.go",
  24. "user.go",
  25. "version_update.go",
  26. "video.go",
  27. "water_mark.go",
  28. ],
  29. importpath = "go-common/app/admin/main/tv/model",
  30. tags = ["automanaged"],
  31. visibility = ["//visibility:public"],
  32. deps = [
  33. "//app/service/main/archive/api:go_default_library",
  34. "//library/database/elastic:go_default_library",
  35. "//library/time:go_default_library",
  36. "//vendor/github.com/jinzhu/gorm:go_default_library",
  37. "//vendor/github.com/siddontang/go-mysql/mysql:go_default_library",
  38. ],
  39. )
  40. filegroup(
  41. name = "package-srcs",
  42. srcs = glob(["**"]),
  43. tags = ["automanaged"],
  44. visibility = ["//visibility:private"],
  45. )
  46. filegroup(
  47. name = "all-srcs",
  48. srcs = [":package-srcs"],
  49. tags = ["automanaged"],
  50. visibility = ["//visibility:public"],
  51. )