Skip to content

Commit

Permalink
fix: unzip does not extract *.so recursively
Browse files Browse the repository at this point in the history
  • Loading branch information
homuler committed Nov 11, 2021
1 parent 4826ee2 commit a9edb9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mediapipe_api/java/com/google/mediapipe/mediapipe_aar.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ cp $(location {}.aar) $(location :{}.aar)
chmod +w $(location :{}.aar)
origdir=$$PWD
cd $$(mktemp -d)
unzip $$origdir/$(location :{}_dummy_app_unsigned.apk) "lib/*"
unzip $$origdir/$(location :{}_dummy_app_unsigned.apk) "lib/**"
cp -r lib jni
zip -r $$origdir/$(location :{}.aar) jni/*/*.so
""".format(android_library, name, name, name, name),
Expand Down

0 comments on commit a9edb9e

Please sign in to comment.