BUILD.bazel.in 627 B

123456789101112131415161718192021
  1. load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library")
  2. go_library(
  3. name = "go_default_library",
  4. srcs = ["client.go"],
  5. importpath = "google.golang.org/grpc/examples/route_guide/client",
  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. "@org_golang_x_net//context:go_default_library",
  13. ],
  14. )
  15. go_binary(
  16. name = "client",
  17. embed = [":go_default_library"],
  18. visibility = ["//visibility:public"],
  19. )