Skip to content

Commit 8016700

Browse files
Actually fix breaking change related to upb_proto_reflection_library
This is referenced by cel-spec. PiperOrigin-RevId: 863368397
1 parent db8f5eb commit 8016700

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed

bazel/BUILD

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,14 @@ bzl_library(
5353
deps = ["//upb/bazel:upb_proto_library_bzl"],
5454
)
5555

56+
bzl_library(
57+
name = "upb_proto_reflection_library_bzl",
58+
srcs = ["upb_proto_reflection_library.bzl"],
59+
deprecation = "Use upb/bazel:upb_proto_library_bzl instead",
60+
visibility = ["//visibility:public"],
61+
deps = ["//upb/bazel:upb_proto_library_bzl"],
62+
)
63+
5664
bzl_library(
5765
name = "proto_descriptor_set_bzl",
5866
srcs = ["proto_descriptor_set.bzl"],
@@ -70,6 +78,7 @@ filegroup(
7078
":proto_library_bzl",
7179
":py_proto_library_bzl",
7280
":upb_c_proto_library_bzl",
81+
":upb_proto_reflection_library_bzl",
7382
"//bazel/common:for_bazel_tests",
7483
"//bazel/flags:for_bazel_tests",
7584
"//bazel/toolchains:for_bazel_tests",
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Copyright (c) 2026, Google LLC
2+
# All rights reserved.
3+
#
4+
# Use of this source code is governed by a BSD-style
5+
# license that can be found in the LICENSE file or at
6+
# https://developers.google.com/open-source/licenses/bsd
7+
8+
# This is a temporary shim to unbreak cel-spec and googleapis which referenced this file. At some
9+
# point in the future we can remove this once both are updated.
10+
11+
"""upb_proto_reflection_library rule"""
12+
13+
load("//upb/bazel:upb_proto_reflection_library.bzl", _upb_proto_reflection_library = "upb_proto_reflection_library")
14+
15+
upb_proto_reflection_library = _upb_proto_reflection_library

0 commit comments

Comments
 (0)