blob: 5225788fefdf66b055059e0462a850faf7f1c96f [file] [log] [blame]
package(default_visibility = ["//visibility:public"])
load("@rules_proto//proto:defs.bzl", "proto_library")
load("@com_github_grpc_grpc//bazel:cc_grpc_library.bzl", "cc_grpc_library")
licenses(["notice"])
proto_library(
name = "google_api_annotations_proto",
srcs = ["google/api/annotations.proto"],
deps = [
":google_api_http_proto",
"@com_google_protobuf//:descriptor_proto",
],
)
cc_grpc_library(
name = "google_api_annotations_cc_proto",
srcs = ["google/api/annotations.proto"],
deps = [":google_api_http_cc_proto"],
proto_only = False,
well_known_protos = True,
use_external = False,
)
proto_library(
name = "google_api_http_proto",
srcs = ["google/api/http.proto"],
)
cc_grpc_library(
name = "google_api_http_cc_proto",
srcs = ["google/api/http.proto"],
deps = [],
proto_only = False,
well_known_protos = True,
use_external = False,
)
proto_library(
name = "google_longrunning_operations_proto",
srcs = ["google/longrunning/operations.proto"],
deps = [
":google_api_annotations_proto",
":google_api_http_proto",
":google_rpc_status_proto",
"@com_google_protobuf//:any_proto",
"@com_google_protobuf//:empty_proto",
],
)
cc_grpc_library(
name = "google_longrunning_operations_cc_proto",
srcs = ["google/longrunning/operations.proto"],
deps = [
":google_api_annotations_cc_proto",
":google_api_http_cc_proto",
":google_rpc_status_cc_proto",
],
proto_only = False,
well_known_protos = True,
use_external = False,
)
proto_library(
name = "google_rpc_status_proto",
srcs = ["google/rpc/status.proto"],
deps = ["@com_google_protobuf//:any_proto"],
)
cc_grpc_library(
name = "google_rpc_status_cc_proto",
srcs = ["google/rpc/status.proto"],
deps = [],
proto_only = False,
well_known_protos = True,
use_external = False,
)