Skip to content

Commit

Permalink
[Bazel] Add back a filegroup for :well_known_protos (#10279)
Browse files Browse the repository at this point in the history
  • Loading branch information
yashykt committed Jul 20, 2022
1 parent f049e5f commit c8b4ef2
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions BUILD.bazel
Expand Up @@ -156,6 +156,21 @@ cc_library(
visibility = ["//visibility:public"],
)

# DEPRECATED: Prefer :well_known_type_protos for the Well-Known Types
# (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf)
# or :descriptor_proto(_srcs) for descriptor.proto (source), or
# :compiler_plugin_proto for compiler/plugin.proto.
filegroup(
name = "well_known_protos",
srcs = [
"src/google/protobuf/compiler/plugin.proto",
"src/google/protobuf/descriptor.proto",
":well_known_type_protos",
],
deprecation = "Prefer :well_known_type_protos instead.",
visibility = ["//visibility:public"],
)

filegroup(
name = "well_known_type_protos",
srcs = [
Expand Down

0 comments on commit c8b4ef2

Please sign in to comment.