Skip to content

Commit c454580

Browse files
Google APIscopybara-github
authored andcommitted
feat: add audit_context.proto Bazel targets
PiperOrigin-RevId: 519036970
1 parent d4c5ff6 commit c454580

1 file changed

Lines changed: 69 additions & 2 deletions

File tree

google/rpc/context/BUILD.bazel

Lines changed: 69 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,17 @@ proto_library(
2121
],
2222
)
2323

24+
# Manually added target. See b/274975612 for why.
25+
proto_library(
26+
name = "audit_context_proto",
27+
srcs = [
28+
"audit_context.proto",
29+
],
30+
deps = [
31+
"@com_google_protobuf//:struct_proto",
32+
],
33+
)
34+
2435
##############################################################################
2536
# Java
2637
##############################################################################
@@ -35,6 +46,12 @@ java_proto_library(
3546
deps = [":attribute_context_proto"],
3647
)
3748

49+
# Manually added target. See b/274975612 for why.
50+
java_proto_library(
51+
name = "audit_context_java_proto",
52+
deps = [":audit_context_proto"],
53+
)
54+
3855
# Please DO-NOT-REMOVE this section.
3956
# This is required to generate java files for these protos.
4057
# Open Source Packages
@@ -44,6 +61,9 @@ java_gapic_assembly_gradle_pkg(
4461
deps = [
4562
":attribute_context_java_proto",
4663
":attribute_context_proto",
64+
# Manually added. See b/274975612 for why.
65+
":audit_context_java_proto",
66+
":audit_context_proto",
4767
],
4868
)
4969

@@ -60,8 +80,16 @@ go_proto_library(
6080
compilers = ["@io_bazel_rules_go//proto:go_grpc"],
6181
importpath = "google.golang.org/genproto/googleapis/rpc/context/attribute_context",
6282
protos = [":attribute_context_proto"],
63-
deps = [
64-
],
83+
deps = [],
84+
)
85+
86+
# Manually added target. See b/274975612 for why.
87+
go_proto_library(
88+
name = "audit_context_go_proto",
89+
compilers = ["@io_bazel_rules_go//proto:go_grpc"],
90+
importpath = "google.golang.org/genproto/googleapis/rpc/context;context",
91+
protos = [":audit_context_proto"],
92+
deps = [],
6593
)
6694

6795
##############################################################################
@@ -89,6 +117,21 @@ py_proto_library(
89117
deps = [":attribute_context_moved_proto"],
90118
)
91119

120+
# Manually added target. See b/274975612 for why.
121+
moved_proto_library(
122+
name = "audit_context_moved_proto",
123+
srcs = [":audit_context_proto"],
124+
deps = [
125+
"@com_google_protobuf//:struct_proto",
126+
],
127+
)
128+
129+
# Manually added target. See b/274975612 for why.
130+
py_proto_library(
131+
name = "audit_context_py_proto",
132+
deps = [":audit_context_moved_proto"],
133+
)
134+
92135
##############################################################################
93136
# PHP
94137
##############################################################################
@@ -102,6 +145,12 @@ php_proto_library(
102145
deps = [":attribute_context_proto"],
103146
)
104147

148+
# Manually added target. See b/274975612 for why.
149+
php_proto_library(
150+
name = "audit_context_php_proto",
151+
deps = [":audit_context_proto"],
152+
)
153+
105154
##############################################################################
106155
# Ruby
107156
##############################################################################
@@ -115,6 +164,12 @@ ruby_proto_library(
115164
deps = [":attribute_context_proto"],
116165
)
117166

167+
# Manually added target. See b/274975612 for why.
168+
ruby_proto_library(
169+
name = "audit_context_ruby_proto",
170+
deps = [":audit_context_proto"],
171+
)
172+
118173
##############################################################################
119174
# C#
120175
##############################################################################
@@ -128,6 +183,12 @@ csharp_proto_library(
128183
deps = [":attribute_context_proto"],
129184
)
130185

186+
# Manually added target. See b/274975612 for why.
187+
csharp_proto_library(
188+
name = "audit_context_csharp_proto",
189+
deps = [":audit_context_proto"],
190+
)
191+
131192
##############################################################################
132193
# C++
133194
##############################################################################
@@ -140,3 +201,9 @@ cc_proto_library(
140201
name = "attribute_context_cc_proto",
141202
deps = [":attribute_context_proto"],
142203
)
204+
205+
# Manually added target. See b/274975612 for why.
206+
cc_proto_library(
207+
name = "audit_context_cc_proto",
208+
deps = [":audit_context_proto"],
209+
)

0 commit comments

Comments
 (0)