xref: /aosp_15_r20/external/googleapis/google/cloud/gkeconnect/gateway/v1/BUILD.bazel (revision d5c09012810ac0c9f33fe448fb6da8260d444cc9)
1# This file was automatically generated by BuildFileGenerator
2# https://github.com/googleapis/rules_gapic/tree/master/bazel
3
4# Most of the manual changes to this file will be overwritten.
5# It's **only** allowed to change the following rule attribute values:
6# - names of *_gapic_assembly_* rules
7# - certain parameters of *_gapic_library rules, including but not limited to:
8#    * extra_protoc_parameters
9#    * extra_protoc_file_parameters
10# The complete list of preserved parameters can be found in the source code.
11
12# This is an API workspace, having public visibility by default makes perfect sense.
13package(default_visibility = ["//visibility:public"])
14
15##############################################################################
16# Common
17##############################################################################
18load("@rules_proto//proto:defs.bzl", "proto_library")
19
20proto_library(
21    name = "gateway_proto",
22    srcs = [
23        "gateway.proto",
24    ],
25    deps = [
26        "//google/api:annotations_proto",
27        "//google/api:client_proto",
28        "//google/api:httpbody_proto",
29    ],
30)
31
32##############################################################################
33# Java
34##############################################################################
35load(
36    "@com_google_googleapis_imports//:imports.bzl",
37    "java_grpc_library",
38    "java_proto_library",
39)
40
41java_proto_library(
42    name = "gateway_java_proto",
43    deps = [":gateway_proto"],
44)
45
46java_grpc_library(
47    name = "gateway_java_grpc",
48    srcs = [":gateway_proto"],
49    deps = [":gateway_java_proto"],
50)
51
52##############################################################################
53# Go
54##############################################################################
55load(
56    "@com_google_googleapis_imports//:imports.bzl",
57    "go_proto_library",
58)
59
60go_proto_library(
61    name = "gateway_go_proto",
62    compilers = ["@io_bazel_rules_go//proto:go_grpc"],
63    importpath = "cloud.google.com/go/gkeconnect/gateway/apiv1/gatewaypb",
64    protos = [":gateway_proto"],
65    deps = [
66        "//google/api:annotations_go_proto",
67        "//google/api:httpbody_go_proto",
68    ],
69)
70
71##############################################################################
72# Python
73##############################################################################
74load(
75    "@com_google_googleapis_imports//:imports.bzl",
76    "moved_proto_library",
77    "py_grpc_library",
78    "py_proto_library",
79)
80
81moved_proto_library(
82    name = "gateway_moved_proto",
83    srcs = [":gateway_proto"],
84    deps = [
85        "//google/api:annotations_proto",
86        "//google/api:client_proto",
87        "//google/api:httpbody_proto",
88    ],
89)
90
91py_proto_library(
92    name = "gateway_py_proto",
93    deps = [":gateway_moved_proto"],
94)
95
96py_grpc_library(
97    name = "gateway_py_grpc",
98    srcs = [":gateway_moved_proto"],
99    deps = [":gateway_py_proto"],
100)
101
102##############################################################################
103# PHP
104##############################################################################
105load(
106    "@com_google_googleapis_imports//:imports.bzl",
107    "php_proto_library",
108)
109
110php_proto_library(
111    name = "gateway_php_proto",
112    deps = [":gateway_proto"],
113)
114
115##############################################################################
116# Node.js
117##############################################################################
118
119##############################################################################
120# Ruby
121##############################################################################
122load(
123    "@com_google_googleapis_imports//:imports.bzl",
124    "ruby_grpc_library",
125    "ruby_proto_library",
126)
127
128ruby_proto_library(
129    name = "gateway_ruby_proto",
130    deps = [":gateway_proto"],
131)
132
133ruby_grpc_library(
134    name = "gateway_ruby_grpc",
135    srcs = [":gateway_proto"],
136    deps = [":gateway_ruby_proto"],
137)
138
139##############################################################################
140# C#
141##############################################################################
142load(
143    "@com_google_googleapis_imports//:imports.bzl",
144    "csharp_grpc_library",
145    "csharp_proto_library",
146)
147
148csharp_proto_library(
149    name = "gateway_csharp_proto",
150    deps = [":gateway_proto"],
151)
152
153csharp_grpc_library(
154    name = "gateway_csharp_grpc",
155    srcs = [":gateway_proto"],
156    deps = [":gateway_csharp_proto"],
157)
158
159##############################################################################
160# C++
161##############################################################################
162load(
163    "@com_google_googleapis_imports//:imports.bzl",
164    "cc_grpc_library",
165    "cc_proto_library",
166)
167
168cc_proto_library(
169    name = "gateway_cc_proto",
170    deps = [":gateway_proto"],
171)
172
173cc_grpc_library(
174    name = "gateway_cc_grpc",
175    srcs = [":gateway_proto"],
176    grpc_only = True,
177    deps = [":gateway_cc_proto"],
178)
179