Skip to content

Commit

Permalink
#1002: Fix the output file name in android/jni/make_archive.py
Browse files Browse the repository at this point in the history
This follows up to my previous commit [1], which aimed to switch to
bzlmod for Android.

Due to a last minute mistake, android/jni/make_archive.py somehow
generated 'native_libs.zip.zip' rather than 'native_libs.zip', which
is then caught as an error in genrule. With this commit it starts
generating 'native_libs.zip' as expected.

 [1]: 6c61c4f

PiperOrigin-RevId: 680579645
  • Loading branch information
yukawa authored and hiroyuki-komatsu committed Sep 30, 2024
1 parent d51a1a5 commit 3a9a56e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/android/jni/make_archive.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def main():
dest_dir.mkdir(parents=True, exist_ok=True)
shutil.copy(src, dest_dir.joinpath('libmozc.so'))
shutil.make_archive(
str(output.with_suffix('.zip')), format='zip', root_dir=tmp_dir
str(output.with_suffix('')), format='zip', root_dir=tmp_dir
)


Expand Down

0 comments on commit 3a9a56e

Please sign in to comment.