aboutsummaryrefslogtreecommitdiff
path: root/external/BUILD.googleapis
blob: 5225788fefdf66b055059e0462a850faf7f1c96f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
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,
)