BUILD 874 B

123456789101112131415161718192021222324252627282930313233
  1. load(
  2. "@io_bazel_rules_go//go:def.bzl",
  3. "go_library",
  4. )
  5. go_library(
  6. name = "go_default_library",
  7. srcs = ["server.go"],
  8. importpath = "go-common/app/service/bbq/recsys-recall/server/grpc",
  9. tags = ["automanaged"],
  10. visibility = ["//visibility:public"],
  11. deps = [
  12. "//app/service/bbq/recsys-recall/api/grpc/v1:go_default_library",
  13. "//app/service/bbq/recsys-recall/service:go_default_library",
  14. "//library/net/rpc/warden:go_default_library",
  15. "//library/time:go_default_library",
  16. "@org_golang_google_grpc//:go_default_library",
  17. ],
  18. )
  19. filegroup(
  20. name = "package-srcs",
  21. srcs = glob(["**"]),
  22. tags = ["automanaged"],
  23. visibility = ["//visibility:private"],
  24. )
  25. filegroup(
  26. name = "all-srcs",
  27. srcs = [":package-srcs"],
  28. tags = ["automanaged"],
  29. visibility = ["//visibility:public"],
  30. )