1 # Copyright (c) 2009-2021, Google LLC
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
8 """Public rules for using upb protos:
10 - upb_proto_reflection_library()
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",
20 "//bazel:upb_proto_reflection_library.bzl",
21 _upb_proto_reflection_library = "upb_proto_reflection_library",
24 "//bazel/private:upb_proto_library_internal/aspect.bzl",
25 _GeneratedSrcsInfo = "GeneratedSrcsInfo",
28 # Temporary alias, see b/291827469.
29 upb_proto_library = _upb_c_proto_library
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