File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -49,6 +49,7 @@ if [ ! -d "$LIB" ]; then
4949 echo ' </manifest>' >> $LIB /lib/src/main/AndroidManifest.xml
5050fi
5151
52+ # Build 3rdparty libraries
5253cd $LIB
5354./gradlew assemble
5455for build_type in $THIRD_PARTY_DIR /built/cmake/* ; do
@@ -58,6 +59,7 @@ for build_type in $THIRD_PARTY_DIR/built/cmake/*; do
5859 done
5960done
6061
62+ # Build pdf2htmlEX
6163cd $APP
6264./gradlew assemble
6365for build_type in $APP /app/.externalNativeBuild/cmake/* ; do
@@ -77,14 +79,13 @@ echo ""
7779echo " "
7880
7981# Pack pdf2htmlEX binaries with UPX
80-
8182for build_type in $APP /app/.externalNativeBuild/cmake/* ; do
8283 build_type_string=$( basename ${build_type} )
8384 for build_type_and_abi in $build_type /* ; do
8485 abi_string=$( basename ${build_type_and_abi} )
8586
8687 FINAL_BINARY=$build_type_and_abi /built/bin/pdf2htmlEX
87- upx --ultra-brute --8mib-ram -o $FINAL_BINARY
88+ upx --ultra-brute --8mib-ram $FINAL_BINARY
8889 upx -t $FINAL_BINARY
8990
9091 FINAL_TAR=$build_type_and_abi /${build_type_string} -${abi_string} -pdf2htmlEX.tar
You can’t perform that action at this time.
0 commit comments