BUILD 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  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. "berserker.go",
  10. "cmsvideo.go",
  11. "comment.go",
  12. "dao.go",
  13. "email.go",
  14. "notice.go",
  15. "user.go",
  16. "video.go",
  17. ],
  18. importpath = "go-common/app/job/bbq/video/dao",
  19. tags = ["automanaged"],
  20. visibility = ["//visibility:public"],
  21. deps = [
  22. "//app/job/bbq/video/conf:go_default_library",
  23. "//app/job/bbq/video/model:go_default_library",
  24. "//app/service/bbq/notice-service/api/v1:go_default_library",
  25. "//app/service/bbq/search/api/grpc/v1:go_default_library",
  26. "//app/service/bbq/sys-msg/api/v1:go_default_library",
  27. "//app/service/bbq/video/api/grpc/v1:go_default_library",
  28. "//app/service/main/account/api:go_default_library",
  29. "//library/cache/redis:go_default_library",
  30. "//library/conf/env:go_default_library",
  31. "//library/database/sql:go_default_library",
  32. "//library/ecode:go_default_library",
  33. "//library/log:go_default_library",
  34. "//library/net/http/blademaster:go_default_library",
  35. "//library/net/metadata:go_default_library",
  36. "//library/net/rpc/warden:go_default_library",
  37. "//library/time:go_default_library",
  38. "//vendor/github.com/json-iterator/go:go_default_library",
  39. "//vendor/github.com/pkg/errors:go_default_library",
  40. "//vendor/gopkg.in/gomail.v2:go_default_library",
  41. ],
  42. )
  43. filegroup(
  44. name = "package-srcs",
  45. srcs = glob(["**"]),
  46. tags = ["automanaged"],
  47. visibility = ["//visibility:private"],
  48. )
  49. filegroup(
  50. name = "all-srcs",
  51. srcs = [":package-srcs"],
  52. tags = ["automanaged"],
  53. visibility = ["//visibility:public"],
  54. )