BUILD 3.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. package(default_visibility = ["//visibility:public"])
  2. load(
  3. "@io_bazel_rules_go//go:def.bzl",
  4. "go_test",
  5. "go_library",
  6. )
  7. go_test(
  8. name = "go_default_test",
  9. srcs = [
  10. "archive_test.go",
  11. "service_test.go",
  12. ],
  13. embed = [":go_default_library"],
  14. rundir = ".",
  15. tags = ["automanaged"],
  16. deps = [
  17. "//app/interface/main/videoup/conf:go_default_library",
  18. "//app/interface/main/videoup/model/archive:go_default_library",
  19. "//library/ecode:go_default_library",
  20. "//vendor/github.com/smartystreets/goconvey/convey:go_default_library",
  21. ],
  22. )
  23. go_library(
  24. name = "go_default_library",
  25. srcs = [
  26. "allow.go",
  27. "app.go",
  28. "check.go",
  29. "check_staff.go",
  30. "client.go",
  31. "creator.go",
  32. "deal.go",
  33. "filter.go",
  34. "geetest.go",
  35. "infoc.go",
  36. "log.go",
  37. "pay.go",
  38. "pre.go",
  39. "service.go",
  40. "subtitle.go",
  41. "web.go",
  42. ],
  43. importpath = "go-common/app/interface/main/videoup/service",
  44. tags = ["automanaged"],
  45. visibility = ["//visibility:public"],
  46. deps = [
  47. "//app/interface/main/creative/model/tag:go_default_library",
  48. "//app/interface/main/videoup/conf:go_default_library",
  49. "//app/interface/main/videoup/dao/account:go_default_library",
  50. "//app/interface/main/videoup/dao/archive:go_default_library",
  51. "//app/interface/main/videoup/dao/bfs:go_default_library",
  52. "//app/interface/main/videoup/dao/creative:go_default_library",
  53. "//app/interface/main/videoup/dao/dynamic:go_default_library",
  54. "//app/interface/main/videoup/dao/elec:go_default_library",
  55. "//app/interface/main/videoup/dao/filter:go_default_library",
  56. "//app/interface/main/videoup/dao/geetest:go_default_library",
  57. "//app/interface/main/videoup/dao/mission:go_default_library",
  58. "//app/interface/main/videoup/dao/order:go_default_library",
  59. "//app/interface/main/videoup/dao/pay:go_default_library",
  60. "//app/interface/main/videoup/dao/subtitle:go_default_library",
  61. "//app/interface/main/videoup/dao/tag:go_default_library",
  62. "//app/interface/main/videoup/model/archive:go_default_library",
  63. "//app/interface/main/videoup/model/geetest:go_default_library",
  64. "//app/interface/main/videoup/model/mission:go_default_library",
  65. "//app/interface/main/videoup/model/porder:go_default_library",
  66. "//app/service/main/account/api:go_default_library",
  67. "//library/ecode:go_default_library",
  68. "//library/log:go_default_library",
  69. "//library/log/infoc:go_default_library",
  70. "//library/net/metadata:go_default_library",
  71. "//library/queue/databus/report:go_default_library",
  72. "//library/sync/errgroup:go_default_library",
  73. "//library/time:go_default_library",
  74. "//library/xstr:go_default_library",
  75. "//vendor/github.com/microcosm-cc/bluemonday:go_default_library",
  76. ],
  77. )
  78. filegroup(
  79. name = "package-srcs",
  80. srcs = glob(["**"]),
  81. tags = ["automanaged"],
  82. visibility = ["//visibility:private"],
  83. )
  84. filegroup(
  85. name = "all-srcs",
  86. srcs = [":package-srcs"],
  87. tags = ["automanaged"],
  88. visibility = ["//visibility:public"],
  89. )