Skip to content

Commit

Permalink
Fix kzip generation error.
Browse files Browse the repository at this point in the history
Kythe use @com_google_protobuf in their BUILD file while Bazel has renamed it to @protobuf.

PiperOrigin-RevId: 683172653
Change-Id: I5122a31ff23175e8bd1ecfbe8d098cb5d3c4122f
  • Loading branch information
coeuvre authored and copybara-github committed Oct 7, 2024
1 parent 80d8e42 commit ee5193b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .bazelci/postsubmit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -341,6 +341,9 @@ tasks:
- test
kythe_ubuntu2204:
shell_commands:
# Replace @com_google_protobuf with @protobuf because Bazel has renamed @com_google_protobuf to @protobuf. See b/371908235.
# TODO(chiwang): Remove this once kythe is updated to use @protobuf.
- sed -i -e 's/@com_google_protobuf/@protobuf/' /usr/local/kythe/BUILD
# Remove _nowkt suffix because it's only available in newer protobuf releases. See b/329055020.
# TODO(chiwang): Remove this once we have upgraded to protobuf 25+.
- sed -i -e 's/protobuf_nowkt/protobuf/' /usr/local/kythe/BUILD
Expand Down
3 changes: 3 additions & 0 deletions .bazelci/presubmit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -355,6 +355,9 @@ tasks:
- test
kythe_ubuntu2204:
shell_commands:
# Replace @com_google_protobuf with @protobuf because Bazel has renamed @com_google_protobuf to @protobuf. See b/371908235.
# TODO(chiwang): Remove this once kythe is updated to use @protobuf.
- sed -i -e 's/@com_google_protobuf/@protobuf/' /usr/local/kythe/BUILD
# Remove _nowkt suffix because it's only available in newer protobuf releases. See b/329055020.
# TODO(chiwang): Remove this once we have upgraded to protobuf 25+.
- sed -i -e 's/protobuf_nowkt/protobuf/' /usr/local/kythe/BUILD
Expand Down

0 comments on commit ee5193b

Please sign in to comment.