BUILD 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. package(default_visibility = ["//visibility:public"])
  2. load(
  3. "@io_bazel_rules_go//go:def.bzl",
  4. "go_library",
  5. )
  6. go_library(
  7. name = "go_default_library",
  8. srcs = [
  9. "logging.go",
  10. "main.go",
  11. "version.go",
  12. "wrappers.go",
  13. ],
  14. importpath = "go-common/app/tool/liverpc/protoc-gen-liverpc/gen",
  15. tags = ["automanaged"],
  16. visibility = ["//visibility:public"],
  17. deps = [
  18. "//app/tool/liverpc/protoc-gen-liverpc/gen/stringutils:go_default_library",
  19. "@com_github_golang_protobuf//proto:go_default_library",
  20. "@com_github_golang_protobuf//protoc-gen-go/descriptor:go_default_library",
  21. "@com_github_golang_protobuf//protoc-gen-go/plugin:go_default_library",
  22. ],
  23. )
  24. filegroup(
  25. name = "package-srcs",
  26. srcs = glob(["**"]),
  27. tags = ["automanaged"],
  28. visibility = ["//visibility:private"],
  29. )
  30. filegroup(
  31. name = "all-srcs",
  32. srcs = [
  33. ":package-srcs",
  34. "//app/tool/liverpc/protoc-gen-liverpc/gen/stringutils:all-srcs",
  35. "//app/tool/liverpc/protoc-gen-liverpc/gen/typemap:all-srcs",
  36. ],
  37. tags = ["automanaged"],
  38. visibility = ["//visibility:public"],
  39. )