Fix a build error when using upb_cc_proto_library.

PiperOrigin-RevId: 488941778
pull/13171/head
Protobuf Team Bot 2 years ago committed by Copybara-Service
parent d76e286631
commit afd43b8ba4
  1. 2
      bazel/upb_proto_library.bzl

@ -228,7 +228,7 @@ _WrappedDefsGeneratedSrcsInfo = provider(
def _compile_upb_protos(ctx, generator, proto_info, proto_sources):
if len(proto_sources) == 0:
return GeneratedSrcsInfo(srcs = [], hdrs = [])
return GeneratedSrcsInfo(srcs = [], hdrs = [], includes = [])
ext = "." + generator
tool = getattr(ctx.executable, "_gen_" + generator)

Loading…
Cancel
Save