blob: 1c8d552f0d817887f25858f6392eace1631cfc59 [file] [log] [blame]
Adam Cozzette501ecec2023-09-26 14:36:20 -07001# 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
13load(
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)
19load(
Adam Cozzette501ecec2023-09-26 14:36:20 -070020 "//bazel:upb_proto_reflection_library.bzl",
21 _upb_proto_reflection_library = "upb_proto_reflection_library",
22)
Protobuf Team Botd7f032a2024-04-03 01:34:28 -070023load(
24 "//bazel/private:upb_proto_library_internal/aspect.bzl",
25 _GeneratedSrcsInfo = "GeneratedSrcsInfo",
26)
Adam Cozzette501ecec2023-09-26 14:36:20 -070027
28# Temporary alias, see b/291827469.
29upb_proto_library = _upb_c_proto_library
30
31upb_c_proto_library = _upb_c_proto_library
32upb_proto_reflection_library = _upb_proto_reflection_library
33GeneratedSrcsInfo = _GeneratedSrcsInfo
34UpbWrappedCcInfo = _UpbWrappedCcInfo
35upb_proto_library_aspect = _upb_c_proto_library_aspect