move function prototype to animation.h
[platform/core/uifw/lottie-player.git] / arm_build.sh
1 #!/bin/bash
2
3 if [ -z "$1" ]; then
4     echo "Sysroot PATH is not provided"
5     echo "Usage: arm_build SYSROOT_PATH"
6     exit 1;
7 fi
8
9 if [ ! -d "./builddir_wasm" ]; then
10     sed "s|SYSROOT:|$1|g" arm_cross.txt > /tmp/.arm_cross.txt
11     meson builddir_arm --cross-file /tmp/.arm_cross.txt
12 fi
13
14 sudo ninja -C builddir_arm/