From c8b4ef27a029831c00eaa3625ca8f37af01f847d Mon Sep 17 00:00:00 2001 From: Yash Tibrewal Date: Wed, 20 Jul 2022 09:27:31 -0700 Subject: [PATCH] [Bazel] Add back a filegroup for :well_known_protos (#10279) --- BUILD.bazel | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/BUILD.bazel b/BUILD.bazel index 02b3855e7f..0f6e41e3ab 100644 --- a/BUILD.bazel +++ b/BUILD.bazel @@ -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 = [