commit | 9e609a4671b1b75afbdf71ec744e7494c93262a4 | [log] [tgz] |
---|---|---|
author | Joshua Haberman <jhaberman@gmail.com> | Tue Feb 13 22:39:39 2024 +0000 |
committer | Joshua Haberman <jhaberman@gmail.com> | Tue Feb 13 22:39:39 2024 +0000 |
tree | d8392f625ee74d5ee8765b53d0f1f1fc32d3f26c | |
parent | 14bccc694cea398a9b02a77a4d74fa5346787668 [diff] |
Fixed bootstrapping bug with upb when building from a different repo. This is essentially backporting a fix that exists on main already: https://github.com/protocolbuffers/protobuf/blob/a3c33a87c1f24a7aa082317257a9ee297b4d883d/upb_generator/bootstrap_compiler.bzl#L23
diff --git a/build_defs/upb.patch b/build_defs/upb.patch index c3ed912..b3979c5 100644 --- a/build_defs/upb.patch +++ b/build_defs/upb.patch
@@ -5,7 +5,7 @@ # begin:github_only _is_google3 = False -_extra_proto_path = "-Iexternal/com_google_protobuf/src " -+_extra_proto_path = "-Isrc " ++_extra_proto_path = "-I$$(dirname $(location @com_google_protobuf//:descriptor_proto_srcs))/../.. " # end:github_only def _upbc(stage):