diff options
author | Joshua Haberman <jhaberman@gmail.com> | 2019-06-11 17:14:09 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-11 17:14:09 -0700 |
commit | 312c6b421a3c749e4f7c0e2193d4775cb997cff7 (patch) | |
tree | 4c0c9c76e4b3dec47c5de4dbdbd3c78fdbc21717 /bazel | |
parent | ef6ce94bfecf36fb57acd8a8b470c0560959f063 (diff) | |
parent | 75d680d7b05a616bf2e69fd231d11688225f13bf (diff) |
Merge pull request #183 from haberman/bazelfix
Small fix to upb_proto_library().
Diffstat (limited to 'bazel')
-rw-r--r-- | bazel/upb_proto_library.bzl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bazel/upb_proto_library.bzl b/bazel/upb_proto_library.bzl index 0c23f73..503925e 100644 --- a/bazel/upb_proto_library.bzl +++ b/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 |