Skip to content

Commit ba130b7

Browse files
Do not keep the uncompressed binary
1 parent e373d77 commit ba130b7

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

build_android.sh

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -83,10 +83,9 @@ for build_type in $APP/app/.externalNativeBuild/cmake/*; do
8383
for build_type_and_abi in $build_type/*; do
8484
abi_string=$(basename ${build_type_and_abi})
8585

86-
COMPILED_BINARY=$build_type_and_abi/built/bin/pdf2htmlEX
87-
PACKED_BINARY=$build_type_and_abi/built/bin/pdf2htmlEX-compressed
88-
upx --ultra-brute --8mib-ram -o $PACKED_BINARY $COMPILED_BINARY
89-
upx -t $PACKED_BINARY
86+
FINAL_BINARY=$build_type_and_abi/built/bin/pdf2htmlEX
87+
upx --ultra-brute --8mib-ram -o $FINAL_BINARY
88+
upx -t $FINAL_BINARY
9089

9190
FINAL_TAR=$build_type_and_abi/${build_type_string}-${abi_string}-pdf2htmlEX.tar
9291
if [ -f "${FINAL_TAR}" ]; then

0 commit comments

Comments
 (0)