[python] Remove semicolon after `PyObject_HEAD` (#16123)
[google-protobuf.git] / bazel / private / upb_proto_library_internal / copts.bzl
blob30056259f2f9914c479c3ee24723573ba5e4c427
1 """Dummy rule to expose select() copts to aspects."""
3 UpbProtoLibraryCoptsInfo = provider(
4     "Provides copts for upb proto targets",
5     fields = {
6         "copts": "copts for upb_proto_library()",
7     },
10 def upb_proto_library_copts_impl(ctx):
11     return UpbProtoLibraryCoptsInfo(copts = ctx.attr.copts)
13 upb_proto_library_copts = rule(
14     implementation = upb_proto_library_copts_impl,
15     attrs = {"copts": attr.string_list(default = [])},