Skip to content

Commit eddd3d8

Browse files
Google APIscopybara-github
authored andcommitted
feat: add C++ rules for many Cloud services
PiperOrigin-RevId: 411620635
1 parent 970cd21 commit eddd3d8

127 files changed

Lines changed: 2174 additions & 123 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

google/api/servicecontrol/v1/BUILD.bazel

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -359,4 +359,20 @@ csharp_gapic_assembly_pkg(
359359
##############################################################################
360360
# C++
361361
##############################################################################
362-
# Put your C++ rules here
362+
load(
363+
"@com_google_googleapis_imports//:imports.bzl",
364+
"cc_grpc_library",
365+
"cc_proto_library",
366+
)
367+
368+
cc_proto_library(
369+
name = "servicecontrol_cc_proto",
370+
deps = [":servicecontrol_proto"],
371+
)
372+
373+
cc_grpc_library(
374+
name = "servicecontrol_cc_grpc",
375+
srcs = [":servicecontrol_proto"],
376+
grpc_only = True,
377+
deps = [":servicecontrol_cc_proto"],
378+
)

google/api/servicemanagement/v1/BUILD.bazel

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -349,4 +349,20 @@ csharp_gapic_assembly_pkg(
349349
##############################################################################
350350
# C++
351351
##############################################################################
352-
# Put your C++ rules here
352+
load(
353+
"@com_google_googleapis_imports//:imports.bzl",
354+
"cc_grpc_library",
355+
"cc_proto_library",
356+
)
357+
358+
cc_proto_library(
359+
name = "servicemanagement_cc_proto",
360+
deps = [":servicemanagement_proto"],
361+
)
362+
363+
cc_grpc_library(
364+
name = "servicemanagement_cc_grpc",
365+
srcs = [":servicemanagement_proto"],
366+
grpc_only = True,
367+
deps = [":servicemanagement_cc_proto"],
368+
)

google/api/serviceusage/v1/BUILD.bazel

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -359,4 +359,20 @@ csharp_gapic_assembly_pkg(
359359
##############################################################################
360360
# C++
361361
##############################################################################
362-
# Put your C++ rules here
362+
load(
363+
"@com_google_googleapis_imports//:imports.bzl",
364+
"cc_grpc_library",
365+
"cc_proto_library",
366+
)
367+
368+
cc_proto_library(
369+
name = "serviceusage_cc_proto",
370+
deps = [":serviceusage_proto"],
371+
)
372+
373+
cc_grpc_library(
374+
name = "serviceusage_cc_grpc",
375+
srcs = [":serviceusage_proto"],
376+
grpc_only = True,
377+
deps = [":serviceusage_cc_proto"],
378+
)

google/appengine/legacy/BUILD.bazel

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,4 +158,20 @@ csharp_grpc_library(
158158
##############################################################################
159159
# C++
160160
##############################################################################
161-
# Put your C++ code here
161+
load(
162+
"@com_google_googleapis_imports//:imports.bzl",
163+
"cc_grpc_library",
164+
"cc_proto_library",
165+
)
166+
167+
cc_proto_library(
168+
name = "legacy_cc_proto",
169+
deps = [":legacy_proto"],
170+
)
171+
172+
cc_grpc_library(
173+
name = "legacy_cc_grpc",
174+
srcs = [":legacy_proto"],
175+
grpc_only = True,
176+
deps = [":legacy_cc_proto"],
177+
)

google/appengine/logging/v1/BUILD.bazel

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,4 +157,20 @@ csharp_grpc_library(
157157
##############################################################################
158158
# C++
159159
##############################################################################
160-
# Put your C++ code here
160+
load(
161+
"@com_google_googleapis_imports//:imports.bzl",
162+
"cc_grpc_library",
163+
"cc_proto_library",
164+
)
165+
166+
cc_proto_library(
167+
name = "logging_cc_proto",
168+
deps = [":logging_proto"],
169+
)
170+
171+
cc_grpc_library(
172+
name = "logging_cc_grpc",
173+
srcs = [":logging_proto"],
174+
grpc_only = True,
175+
deps = [":logging_cc_proto"],
176+
)

google/appengine/v1/BUILD.bazel

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -371,4 +371,20 @@ csharp_gapic_assembly_pkg(
371371
##############################################################################
372372
# C++
373373
##############################################################################
374-
# Put your C++ rules here
374+
load(
375+
"@com_google_googleapis_imports//:imports.bzl",
376+
"cc_grpc_library",
377+
"cc_proto_library",
378+
)
379+
380+
cc_proto_library(
381+
name = "appengine_cc_proto",
382+
deps = [":appengine_proto"],
383+
)
384+
385+
cc_grpc_library(
386+
name = "appengine_cc_grpc",
387+
srcs = [":appengine_proto"],
388+
grpc_only = True,
389+
deps = [":appengine_cc_proto"],
390+
)

google/cloud/accessapproval/v1/BUILD.bazel

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,4 +338,20 @@ csharp_gapic_assembly_pkg(
338338
##############################################################################
339339
# C++
340340
##############################################################################
341-
# Put your C++ rules here
341+
load(
342+
"@com_google_googleapis_imports//:imports.bzl",
343+
"cc_grpc_library",
344+
"cc_proto_library",
345+
)
346+
347+
cc_proto_library(
348+
name = "accessapproval_cc_proto",
349+
deps = [":accessapproval_proto"],
350+
)
351+
352+
cc_grpc_library(
353+
name = "accessapproval_cc_grpc",
354+
srcs = [":accessapproval_proto"],
355+
grpc_only = True,
356+
deps = [":accessapproval_cc_proto"],
357+
)

google/cloud/aiplatform/logging/BUILD.bazel

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,4 +158,20 @@ csharp_grpc_library(
158158
##############################################################################
159159
# C++
160160
##############################################################################
161-
# Put your C++ code here
161+
load(
162+
"@com_google_googleapis_imports//:imports.bzl",
163+
"cc_grpc_library",
164+
"cc_proto_library",
165+
)
166+
167+
cc_proto_library(
168+
name = "logging_cc_proto",
169+
deps = [":logging_proto"],
170+
)
171+
172+
cc_grpc_library(
173+
name = "logging_cc_grpc",
174+
srcs = [":logging_proto"],
175+
grpc_only = True,
176+
deps = [":logging_cc_proto"],
177+
)

google/cloud/aiplatform/v1/BUILD.bazel

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -491,4 +491,20 @@ csharp_gapic_assembly_pkg(
491491
##############################################################################
492492
# C++
493493
##############################################################################
494-
# Put your C++ rules here
494+
load(
495+
"@com_google_googleapis_imports//:imports.bzl",
496+
"cc_grpc_library",
497+
"cc_proto_library",
498+
)
499+
500+
cc_proto_library(
501+
name = "aiplatform_cc_proto",
502+
deps = [":aiplatform_proto"],
503+
)
504+
505+
cc_grpc_library(
506+
name = "aiplatform_cc_grpc",
507+
srcs = [":aiplatform_proto"],
508+
grpc_only = True,
509+
deps = [":aiplatform_cc_proto"],
510+
)

google/cloud/aiplatform/v1/schema/predict/instance/BUILD.bazel

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,4 +184,20 @@ csharp_grpc_library(
184184
##############################################################################
185185
# C++
186186
##############################################################################
187-
# Put your C++ code here
187+
load(
188+
"@com_google_googleapis_imports//:imports.bzl",
189+
"cc_grpc_library",
190+
"cc_proto_library",
191+
)
192+
193+
cc_proto_library(
194+
name = "instance_cc_proto",
195+
deps = [":instance_proto"],
196+
)
197+
198+
cc_grpc_library(
199+
name = "instance_cc_grpc",
200+
srcs = [":instance_proto"],
201+
grpc_only = True,
202+
deps = [":instance_cc_proto"],
203+
)

0 commit comments

Comments
 (0)