FFmpeg-android Executables CP Automation

This commit is contained in:
shabinder 2021-09-02 18:28:43 +05:30
parent 6f013d85da
commit 7532192993
2 changed files with 10 additions and 3 deletions

View File

@ -1,3 +0,0 @@
<resources>
<string name="app_name">FFMpegAndroid</string>
</resources>

View File

@ -0,0 +1,10 @@
#!/usr/bin/env bash
# CD to script location
cd "$(dirname "$0")" || echo "cd to $(dirname "$0") Failed"
# Copy ffmpeg executables for all targets
for target in arm64-v8a armeabi-v7a x86 x86_64
do
cp ./ffmpeg-android-maker/build/ffmpeg/$target/bin/ffmpeg ./android-ffmpeg/src/main/resources/lib/$target/
done