Nagram/bin/init/libs.sh

25 lines
421 B
Bash
Raw Normal View History

2021-01-16 16:25:30 +00:00
#!/bin/bash
source "bin/init/env.sh"
export NINJA_PATH="$(command -v ninja)"
export PATH=$(echo "$ANDROID_HOME"/cmake/*/bin):$PATH
cd TMessagesProj/jni || exit 1
git submodule update --init --recursive
cd ffmpeg
git reset --hard
git clean -fdx
cd ..
./build_ffmpeg_clang.sh || exit 1
./patch_ffmpeg.sh || exit 1
cd boringssl
git reset --hard
git clean -fdx
cd ..
./patch_boringssl.sh || exit 1
./build_boringssl.sh