-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuildtest.sh
More file actions
executable file
·27 lines (19 loc) · 796 Bytes
/
buildtest.sh
File metadata and controls
executable file
·27 lines (19 loc) · 796 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
ANDROID_ROOT_DIR="/scratch/workareas/android"
FFMPEG4ANDROID_ROOT_DIR="/scratch/workareas/ffmpeg4android"
for ffmpegdir in `find $ANDROID_ROOT_DIR/external/ffmpeg*.android -maxdepth 0 | sort -rV`
do
rm $ffmpegdir
done
cd $FFMPEG4ANDROID_ROOT_DIR
FFMPEG_DIRS=`find ffmpeg*.android -maxdepth 0 | sort -rV`
cd $ANDROID_ROOT_DIR
for ffmpegdir in $FFMPEG_DIRS
do
ln -s $FFMPEG4ANDROID_ROOT_DIR/$ffmpegdir $ANDROID_ROOT_DIR/external/
rm -rf $ANDROID_ROOT_DIR/external/$ffmpegdir/android
. build/envsetup.sh;
lunch aosp_arm-eng; mmm $ANDROID_ROOT_DIR/external/$ffmpegdir -Bj12;
lunch aosp_mips-eng; mmm $ANDROID_ROOT_DIR/external/$ffmpegdir -Bj12;
lunch aosp_x86-eng; mmm $ANDROID_ROOT_DIR/external/$ffmpegdir -Bj12;
rm $ANDROID_ROOT_DIR/external/$ffmpegdir
done