| 6 | export PATH=$(echo "$ANDROID_HOME"/cmake/*/bin):$PATH |
| 7 |
| 8 | cd TMessagesProj/jni || exit 1 |
| 9 | git submodule update --init --recursive |
| 10 |
| 11 | cd ffmpeg |
| 12 | git reset --hard |
| 13 | git clean -fdx |
| 14 | cd .. |
| 15 |
| 16 | ./build_ffmpeg_clang.sh || exit 1 |
| 17 | ./patch_ffmpeg.sh || exit 1 |
| 18 |
| 19 | cd boringssl |
| 20 | git reset --hard |
| 21 | git clean -fdx |
| 22 | cd .. |
| 23 |
| 24 | ./patch_boringssl.sh || exit 1 |
| 25 | ./build_boringssl.sh |