BUILD.bazel.in 680 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 = ["main.go"],
  5. importpath = "google.golang.org/grpc/examples/oauth/client",
  6. visibility = ["//visibility:private"],
  7. deps = [
  8. "//:go_default_library",
  9. "//credentials:go_default_library",
  10. "//credentials/oauth:go_default_library",
  11. "//examples/helloworld/helloworld:go_default_library",
  12. "@org_golang_x_net//context:go_default_library",
  13. "@org_golang_x_oauth2//:go_default_library",
  14. ],
  15. )
  16. go_binary(
  17. name = "client",
  18. embed = [":go_default_library"],
  19. visibility = ["//visibility:public"],
  20. )