blob: 912a579f2aafda0fbad0916c69f4fd5e2393e6c6 [file] [log] [blame]
load("@io_bazel_rules_go//go:def.bzl", "go_library")
load("@rules_proto//proto:defs.bzl", "proto_library")
proto_library(
name = "service",
srcs = [
"service.proto",
],
visibility = ["//visibility:public"],
deps = [
"@com_google_protobuf//:timestamp_proto",
"@googleapis//google/api:annotations_proto",
],
)
go_library(
name = "proto",
srcs = [
"generate.go",
"service.pb.go",
"service.pb.gw.go",
"service_grpc.pb.go",
],
importpath = "go.skia.org/infra/pinpoint/proto/v1",
visibility = ["//visibility:public"],
deps = [
"@com_github_grpc_ecosystem_grpc_gateway_v2//runtime",
"@com_github_grpc_ecosystem_grpc_gateway_v2//utilities",
"@org_golang_google_genproto_googleapis_api//annotations",
"@org_golang_google_grpc//:go_default_library",
"@org_golang_google_grpc//codes",
"@org_golang_google_grpc//grpclog",
"@org_golang_google_grpc//metadata",
"@org_golang_google_grpc//status",
"@org_golang_google_protobuf//proto",
"@org_golang_google_protobuf//reflect/protoreflect",
"@org_golang_google_protobuf//runtime/protoimpl",
"@org_golang_google_protobuf//types/known/timestamppb",
],
)