Merge pull request #183 from haberman/bazelfix

Small fix to upb_proto_library().
pull/13171/head
Joshua Haberman 6 years ago committed by GitHub
commit 312c6b421a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      bazel/upb_proto_library.bzl

@ -38,7 +38,7 @@ def _get_real_roots(files):
def _generate_output_file(ctx, src, extension):
real_short_path = _get_real_short_path(src)
real_short_path = paths.relativize(src.short_path, ctx.label.package)
real_short_path = paths.relativize(real_short_path, ctx.label.package)
output_filename = paths.replace_extension(real_short_path, extension)
ret = ctx.actions.declare_file(output_filename)
return ret

Loading…
Cancel
Save