BUILD 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  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. "bloomfilter.go",
  11. "dao.go",
  12. "hdfs.go",
  13. "inverted_index.go",
  14. "video.go",
  15. ],
  16. importpath = "go-common/app/job/bbq/recall/internal/dao",
  17. tags = ["automanaged"],
  18. visibility = ["//visibility:public"],
  19. deps = [
  20. "//app/job/bbq/recall/internal/conf:go_default_library",
  21. "//app/job/bbq/recall/internal/model:go_default_library",
  22. "//app/job/bbq/recall/proto:go_default_library",
  23. "//app/job/bbq/recall/proto/quality:go_default_library",
  24. "//app/service/bbq/recsys-recall/api/grpc/v1:go_default_library",
  25. "//library/cache/redis:go_default_library",
  26. "//library/database/sql:go_default_library",
  27. "//library/log:go_default_library",
  28. "//library/net/rpc/warden:go_default_library",
  29. "//vendor/github.com/Dai0522/go-hash/bloomfilter:go_default_library",
  30. "//vendor/github.com/golang/snappy:go_default_library",
  31. "//vendor/github.com/json-iterator/go:go_default_library",
  32. ],
  33. )
  34. filegroup(
  35. name = "package-srcs",
  36. srcs = glob(["**"]),
  37. tags = ["automanaged"],
  38. visibility = ["//visibility:private"],
  39. )
  40. filegroup(
  41. name = "all-srcs",
  42. srcs = [":package-srcs"],
  43. tags = ["automanaged"],
  44. visibility = ["//visibility:public"],
  45. )