1"""Wrapper around internal_ruby_proto_library to supply our rules_ruby""" 2 3load("@rules_ruby//ruby:defs.bzl", "ruby_library") 4load("//:protobuf.bzl", _internal_ruby_proto_library = "internal_ruby_proto_library") 5 6def internal_ruby_proto_library( 7 name, 8 **kwargs): 9 """Bazel rule to create a Ruby protobuf library from proto source files 10 11 NOTE: the rule is only an internal workaround to generate protos. The 12 interface may change and the rule may be removed when bazel has introduced 13 the native rule. 14 15 Args: 16 name: the name of the ruby_proto_library. 17 **kwargs: other keyword arguments that are passed to ruby_library. 18 19 """ 20 _internal_ruby_proto_library( 21 name, 22 ruby_library, 23 **kwargs 24 ) 25