BUILD 924 B

1234567891011121314151617181920212223242526272829303132333435
  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 = ["server.go"],
  9. importpath = "go-common/app/service/main/thumbup/server/grpc",
  10. tags = ["automanaged"],
  11. visibility = ["//visibility:public"],
  12. deps = [
  13. "//app/service/main/thumbup/api:go_default_library",
  14. "//app/service/main/thumbup/model:go_default_library",
  15. "//app/service/main/thumbup/service:go_default_library",
  16. "//library/net/rpc/warden:go_default_library",
  17. "@io_bazel_rules_go//proto/wkt:empty_go_proto",
  18. ],
  19. )
  20. filegroup(
  21. name = "package-srcs",
  22. srcs = glob(["**"]),
  23. tags = ["automanaged"],
  24. visibility = ["//visibility:private"],
  25. )
  26. filegroup(
  27. name = "all-srcs",
  28. srcs = [":package-srcs"],
  29. tags = ["automanaged"],
  30. visibility = ["//visibility:public"],
  31. )