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 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( 20 "//bazel:upb_proto_reflection_library.bzl", 21 _upb_proto_reflection_library = "upb_proto_reflection_library", 22) 23load( 24 "//bazel/private:upb_proto_library_internal/aspect.bzl", 25 _GeneratedSrcsInfo = "GeneratedSrcsInfo", 26) 27 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 36