BUILD 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  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. "archive.go",
  10. "archive_filter.go",
  11. "bvc.go",
  12. "check.go",
  13. "comment.go",
  14. "dao.cache.go",
  15. "dao.go",
  16. "databus.go",
  17. "video.go",
  18. "video_bvc.go",
  19. "video_repository.go",
  20. "video_upload_process.go",
  21. ],
  22. importpath = "go-common/app/service/bbq/video/dao",
  23. tags = ["automanaged"],
  24. visibility = ["//visibility:public"],
  25. deps = [
  26. "//app/interface/bbq/app-bbq/model:go_default_library",
  27. "//app/service/bbq/common/db/bbq:go_default_library",
  28. "//app/service/bbq/video/api/grpc/v1:go_default_library",
  29. "//app/service/bbq/video/conf:go_default_library",
  30. "//app/service/bbq/video/model:go_default_library",
  31. "//app/service/bbq/video/model/grpc:go_default_library",
  32. "//app/service/main/account/api:go_default_library",
  33. "//app/service/main/archive/api:go_default_library",
  34. "//library/cache/redis:go_default_library",
  35. "//library/conf/env:go_default_library",
  36. "//library/database/sql:go_default_library",
  37. "//library/ecode:go_default_library",
  38. "//library/log:go_default_library",
  39. "//library/net/http/blademaster:go_default_library",
  40. "//library/net/metadata:go_default_library",
  41. "//library/net/rpc/warden:go_default_library",
  42. "//library/queue/databus:go_default_library",
  43. "//library/stat/prom:go_default_library",
  44. "//library/sync/pipeline/fanout:go_default_library",
  45. "//library/xstr:go_default_library",
  46. "//vendor/github.com/json-iterator/go:go_default_library",
  47. ],
  48. )
  49. filegroup(
  50. name = "package-srcs",
  51. srcs = glob(["**"]),
  52. tags = ["automanaged"],
  53. visibility = ["//visibility:private"],
  54. )
  55. filegroup(
  56. name = "all-srcs",
  57. srcs = [":package-srcs"],
  58. tags = ["automanaged"],
  59. visibility = ["//visibility:public"],
  60. )