BUILD.bazel.in 696 B

1234567891011121314151617181920212223242526
  1. load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
  2. go_library(
  3. name = "go_default_library",
  4. srcs = ["proto.go"],
  5. importpath = "google.golang.org/grpc/encoding/proto",
  6. visibility = ["//visibility:public"],
  7. deps = [
  8. "//encoding:go_default_library",
  9. "@com_github_golang_protobuf//proto:go_default_library",
  10. ],
  11. )
  12. go_test(
  13. name = "go_default_test",
  14. srcs = [
  15. "proto_benchmark_test.go",
  16. "proto_test.go",
  17. ],
  18. embed = [":go_default_library"],
  19. deps = [
  20. "//encoding:go_default_library",
  21. "//test/codec_perf:go_default_library",
  22. "@com_github_golang_protobuf//proto:go_default_library",
  23. ],
  24. )