BUILD 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  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. "arc_audit.go",
  10. "archive.go",
  11. "audit_result.go",
  12. "channel.go",
  13. "content_repo.go",
  14. "ep_content.go",
  15. "http.go",
  16. "intervs.go",
  17. "label.go",
  18. "mango.go",
  19. "modules.go",
  20. "order.go",
  21. "panel.go",
  22. "region.go",
  23. "sear_inter.go",
  24. "season_repo.go",
  25. "upbfs.go",
  26. "upper.go",
  27. "user.go",
  28. "version.go",
  29. "version_update.go",
  30. "video.go",
  31. "watermark.go",
  32. ],
  33. importpath = "go-common/app/admin/main/tv/http",
  34. tags = ["automanaged"],
  35. visibility = ["//visibility:public"],
  36. deps = [
  37. "//app/admin/main/tv/conf:go_default_library",
  38. "//app/admin/main/tv/model:go_default_library",
  39. "//app/admin/main/tv/service:go_default_library",
  40. "//library/cache/memcache:go_default_library",
  41. "//library/ecode:go_default_library",
  42. "//library/log:go_default_library",
  43. "//library/net/http/blademaster:go_default_library",
  44. "//library/net/http/blademaster/middleware/permit:go_default_library",
  45. "//library/net/http/blademaster/middleware/verify:go_default_library",
  46. "//library/net/http/blademaster/render:go_default_library",
  47. "//library/time:go_default_library",
  48. "//vendor/github.com/jinzhu/gorm:go_default_library",
  49. ],
  50. )
  51. filegroup(
  52. name = "package-srcs",
  53. srcs = glob(["**"]),
  54. tags = ["automanaged"],
  55. visibility = ["//visibility:private"],
  56. )
  57. filegroup(
  58. name = "all-srcs",
  59. srcs = [":package-srcs"],
  60. tags = ["automanaged"],
  61. visibility = ["//visibility:public"],
  62. )