@@ -17,8 +17,6 @@ if [ ! -d "$LIB" ]; then
1717 mkdir --parents --verbose $LIB /lib/src/main
1818
1919 ln --symbolic --verbose $APP /gradle $LIB /gradle
20- # Do I need this?
21- ln --symbolic --verbose $APP /android.iml $LIB /android.iml
2220 ln --symbolic --verbose $APP /build.gradle $LIB /build.gradle
2321 ln --symbolic --verbose $APP /gradle.properties $LIB /gradle.properties
2422 ln --symbolic --verbose $APP /gradlew $LIB /gradlew
5351
5452cd $LIB
5553./gradlew assemble
56- for build_type_and_abi in $THIRD_PARTY_DIR /built/cmake/* / * /
57- do
54+ for build_type in $THIRD_PARTY_DIR /built/cmake/* ; do
55+ for build_type_and_abi in $build_type / * ; do
5856 echo " Building LIB: $build_type_and_abi "
5957 cmake --build $build_type_and_abi
6058done
6159
6260cd $APP
6361./gradlew assemble
64- for build_type_and_abi in $THIRD_PARTY_DIR /.externalNativeBuild/cmake/* /* /
65- do
66- echo " Building APP: $build_type_and_abi "
67- cmake --build $build_type_and_abi
68- # @TODO:
69- cmake --build $build_type_and_abi --target install
62+ for build_type in $APP /app/.externalNativeBuild/cmake/* ; do
63+ for build_type_and_abi in $build_type /* ; do
64+ cmake --build $build_type_and_abi --target install
65+
66+ mkdir $build_type_and_abi /built/sample_pdfs
67+ cp -v $BASEDIR /test/browser_tests/* .pdf $build_type_and_abi /built/sample_pdfs/
68+ tar -cf $build_type_and_abi /pdf2htmlEX.tar --directory $build_type_and_abi built
69+ tar --list -f $build_type_and_abi /pdf2htmlEX.tar
70+ echo " $build_type_and_abi /pdf2htmlEX.tar is ready!"
71+ done
7072done
0 commit comments