Adam Cozzette | 501ecec | 2023-09-26 14:36:20 -0700 | [diff] [blame] | 1 | # Copyright (c) 2009-2021, 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 | """Public rules for using upb protos: |
| 9 | - upb_proto_library() |
| 10 | - upb_proto_reflection_library() |
| 11 | """ |
| 12 | |
| 13 | load( |
| 14 | "//bazel:upb_c_proto_library.bzl", |
| 15 | _UpbWrappedCcInfo = "UpbWrappedCcInfo", |
| 16 | _upb_c_proto_library = "upb_c_proto_library", |
| 17 | _upb_c_proto_library_aspect = "upb_c_proto_library_aspect", |
| 18 | ) |
| 19 | load( |
Adam Cozzette | 501ecec | 2023-09-26 14:36:20 -0700 | [diff] [blame] | 20 | "//bazel:upb_proto_reflection_library.bzl", |
| 21 | _upb_proto_reflection_library = "upb_proto_reflection_library", |
| 22 | ) |
Protobuf Team Bot | d7f032a | 2024-04-03 01:34:28 -0700 | [diff] [blame] | 23 | load( |
| 24 | "//bazel/private:upb_proto_library_internal/aspect.bzl", |
| 25 | _GeneratedSrcsInfo = "GeneratedSrcsInfo", |
| 26 | ) |
Adam Cozzette | 501ecec | 2023-09-26 14:36:20 -0700 | [diff] [blame] | 27 | |
| 28 | # Temporary alias, see b/291827469. |
| 29 | upb_proto_library = _upb_c_proto_library |
| 30 | |
| 31 | upb_c_proto_library = _upb_c_proto_library |
| 32 | upb_proto_reflection_library = _upb_proto_reflection_library |
| 33 | GeneratedSrcsInfo = _GeneratedSrcsInfo |
| 34 | UpbWrappedCcInfo = _UpbWrappedCcInfo |
| 35 | upb_proto_library_aspect = _upb_c_proto_library_aspect |