BUILD 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. load(
  2. "@io_bazel_rules_go//proto:def.bzl",
  3. "go_proto_library",
  4. )
  5. package(default_visibility = ["//visibility:public"])
  6. load(
  7. "@io_bazel_rules_go//go:def.bzl",
  8. "go_library",
  9. )
  10. filegroup(
  11. name = "package-srcs",
  12. srcs = glob(["**"]),
  13. tags = ["automanaged"],
  14. visibility = ["//visibility:private"],
  15. )
  16. filegroup(
  17. name = "all-srcs",
  18. srcs = [":package-srcs"],
  19. tags = ["automanaged"],
  20. visibility = ["//visibility:public"],
  21. )
  22. go_library(
  23. name = "go_default_library",
  24. srcs = [
  25. "api.pb.bm.go",
  26. "api.pb.go",
  27. "marshal.go",
  28. ],
  29. importpath = "go-common/app/service/main/dapper-query/api/v1",
  30. tags = ["manual"],
  31. visibility = ["//visibility:public"],
  32. deps = [
  33. "//app/tool/protoc-gen-bm/jsonpb:go_default_library",
  34. "//library/net/http/blademaster:go_default_library",
  35. "@com_github_gogo_protobuf//gogoproto:go_default_library",
  36. "@com_github_gogo_protobuf//proto:go_default_library",
  37. "@com_github_golang_protobuf//jsonpb:go_default_library",
  38. "@go_googleapis//google/api:annotations_go_proto",
  39. "@org_golang_google_grpc//:go_default_library",
  40. "@org_golang_x_net//context:go_default_library",
  41. ],
  42. )