BUILD 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  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. "bloomfilter.go",
  10. "dao.go",
  11. "parallel.go",
  12. "recall.go",
  13. "relation.go",
  14. "user.go",
  15. ],
  16. importpath = "go-common/app/service/bbq/recsys/dao",
  17. tags = ["automanaged"],
  18. visibility = ["//visibility:public"],
  19. deps = [
  20. "//app/service/bbq/recsys-recall/api/grpc/v1:go_default_library",
  21. "//app/service/bbq/recsys/api/grpc/v1:go_default_library",
  22. "//app/service/bbq/recsys/conf:go_default_library",
  23. "//app/service/bbq/recsys/dao/parallel:go_default_library",
  24. "//app/service/bbq/recsys/model:go_default_library",
  25. "//app/service/bbq/recsys/service/retrieve:go_default_library",
  26. "//app/service/bbq/search/api/grpc/v1:go_default_library",
  27. "//app/service/bbq/user/api:go_default_library",
  28. "//app/service/main/relation/api:go_default_library",
  29. "//library/cache/memcache:go_default_library",
  30. "//library/cache/redis:go_default_library",
  31. "//library/database/sql:go_default_library",
  32. "//library/log:go_default_library",
  33. "//library/net/rpc/warden:go_default_library",
  34. "//vendor/github.com/Dai0522/go-hash/bloomfilter:go_default_library",
  35. "//vendor/github.com/Dai0522/workpool:go_default_library",
  36. "//vendor/github.com/json-iterator/go:go_default_library",
  37. ],
  38. )
  39. filegroup(
  40. name = "package-srcs",
  41. srcs = glob(["**"]),
  42. tags = ["automanaged"],
  43. visibility = ["//visibility:private"],
  44. )
  45. filegroup(
  46. name = "all-srcs",
  47. srcs = [
  48. ":package-srcs",
  49. "//app/service/bbq/recsys/dao/parallel:all-srcs",
  50. ],
  51. tags = ["automanaged"],
  52. visibility = ["//visibility:public"],
  53. )