blob: ac376468d05913856e03407cd6e9ac991b826837 [file] [log] [blame]
# Copied verbatim from
# https://github.com/bazelbuild/remote-apis/blob/9e72daff42c941baaf43a4c370e2607a984c58a7/external/BUILD.googleapis.
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,
)