Skip to content

Commit

Permalink
feat: add audit_context.proto Bazel targets
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 519036970
  • Loading branch information
Google APIs authored and Copybara-Service committed Mar 24, 2023
1 parent d4c5ff6 commit c454580
Showing 1 changed file with 69 additions and 2 deletions.
71 changes: 69 additions & 2 deletions google/rpc/context/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,17 @@ proto_library(
],
)

# Manually added target. See b/274975612 for why.
proto_library(
name = "audit_context_proto",
srcs = [
"audit_context.proto",
],
deps = [
"@com_google_protobuf//:struct_proto",
],
)

##############################################################################
# Java
##############################################################################
Expand All @@ -35,6 +46,12 @@ java_proto_library(
deps = [":attribute_context_proto"],
)

# Manually added target. See b/274975612 for why.
java_proto_library(
name = "audit_context_java_proto",
deps = [":audit_context_proto"],
)

# Please DO-NOT-REMOVE this section.
# This is required to generate java files for these protos.
# Open Source Packages
Expand All @@ -44,6 +61,9 @@ java_gapic_assembly_gradle_pkg(
deps = [
":attribute_context_java_proto",
":attribute_context_proto",
# Manually added. See b/274975612 for why.
":audit_context_java_proto",
":audit_context_proto",
],
)

Expand All @@ -60,8 +80,16 @@ go_proto_library(
compilers = ["@io_bazel_rules_go//proto:go_grpc"],
importpath = "google.golang.org/genproto/googleapis/rpc/context/attribute_context",
protos = [":attribute_context_proto"],
deps = [
],
deps = [],
)

# Manually added target. See b/274975612 for why.
go_proto_library(
name = "audit_context_go_proto",
compilers = ["@io_bazel_rules_go//proto:go_grpc"],
importpath = "google.golang.org/genproto/googleapis/rpc/context;context",
protos = [":audit_context_proto"],
deps = [],
)

##############################################################################
Expand Down Expand Up @@ -89,6 +117,21 @@ py_proto_library(
deps = [":attribute_context_moved_proto"],
)

# Manually added target. See b/274975612 for why.
moved_proto_library(
name = "audit_context_moved_proto",
srcs = [":audit_context_proto"],
deps = [
"@com_google_protobuf//:struct_proto",
],
)

# Manually added target. See b/274975612 for why.
py_proto_library(
name = "audit_context_py_proto",
deps = [":audit_context_moved_proto"],
)

##############################################################################
# PHP
##############################################################################
Expand All @@ -102,6 +145,12 @@ php_proto_library(
deps = [":attribute_context_proto"],
)

# Manually added target. See b/274975612 for why.
php_proto_library(
name = "audit_context_php_proto",
deps = [":audit_context_proto"],
)

##############################################################################
# Ruby
##############################################################################
Expand All @@ -115,6 +164,12 @@ ruby_proto_library(
deps = [":attribute_context_proto"],
)

# Manually added target. See b/274975612 for why.
ruby_proto_library(
name = "audit_context_ruby_proto",
deps = [":audit_context_proto"],
)

##############################################################################
# C#
##############################################################################
Expand All @@ -128,6 +183,12 @@ csharp_proto_library(
deps = [":attribute_context_proto"],
)

# Manually added target. See b/274975612 for why.
csharp_proto_library(
name = "audit_context_csharp_proto",
deps = [":audit_context_proto"],
)

##############################################################################
# C++
##############################################################################
Expand All @@ -140,3 +201,9 @@ cc_proto_library(
name = "attribute_context_cc_proto",
deps = [":attribute_context_proto"],
)

# Manually added target. See b/274975612 for why.
cc_proto_library(
name = "audit_context_cc_proto",
deps = [":audit_context_proto"],
)

0 comments on commit c454580

Please sign in to comment.