BUILD.bazel.in 676 B

1234567891011121314151617181920212223
  1. load("@io_bazel_rules_go//go:def.bzl", "go_library")
  2. load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library")
  3. proto_library(
  4. name = "grpc_testing_proto",
  5. srcs = ["test.proto"],
  6. visibility = ["//visibility:public"],
  7. )
  8. go_proto_library(
  9. name = "grpc_testing_go_proto",
  10. compilers = ["@io_bazel_rules_go//proto:go_grpc"],
  11. importpath = "google.golang.org/grpc/test/grpc_testing",
  12. proto = ":grpc_testing_proto",
  13. visibility = ["//visibility:public"],
  14. )
  15. go_library(
  16. name = "go_default_library",
  17. embed = [":grpc_testing_go_proto"],
  18. importpath = "google.golang.org/grpc/test/grpc_testing",
  19. visibility = ["//visibility:public"],
  20. )