BUILD.bazel.in 692 B

12345678910111213141516171819202122
  1. load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library")
  2. go_library(
  3. name = "go_default_library",
  4. srcs = ["server.go"],
  5. importpath = "google.golang.org/grpc/examples/route_guide/server",
  6. visibility = ["//visibility:private"],
  7. deps = [
  8. "//:go_default_library",
  9. "//credentials:go_default_library",
  10. "//examples/route_guide/routeguide:go_default_library",
  11. "//testdata:go_default_library",
  12. "@com_github_golang_protobuf//proto:go_default_library",
  13. "@org_golang_x_net//context:go_default_library",
  14. ],
  15. )
  16. go_binary(
  17. name = "server",
  18. embed = [":go_default_library"],
  19. visibility = ["//visibility:public"],
  20. )