Refactor the wasm graphic layer (wgl) and the gui sample (#231)
This commit is contained in:
28
core/deps/download.sh
Executable file
28
core/deps/download.sh
Executable file
@ -0,0 +1,28 @@
|
||||
#!/bin/bash
|
||||
|
||||
DEPS_ROOT=$(cd "$(dirname "$0")/" && pwd)
|
||||
cd ${DEPS_ROOT}
|
||||
|
||||
|
||||
if [ ! -d "lvgl" ]; then
|
||||
echo "git pull lvgl..."
|
||||
git clone https://github.com/littlevgl/lvgl.git --branch v6.0.1
|
||||
[ $? -eq 0 ] || exit $?
|
||||
|
||||
../app-framework/wgl/app/prepare_headers.sh
|
||||
fi
|
||||
if [ ! -d "lv_drivers" ]; then
|
||||
echo "git pull lv_drivers..."
|
||||
git clone https://github.com/littlevgl/lv_drivers.git
|
||||
[ $? -eq 0 ] || exit $?
|
||||
fi
|
||||
|
||||
if [ ! -d "tlsf" ]; then
|
||||
echo "git pull tlsf..."
|
||||
git clone https://github.com/mattconte/tlsf
|
||||
[ $? -eq 0 ] || exit $?
|
||||
#cd ${WAMR_DIR}/core/shared/mem-alloc
|
||||
fi
|
||||
|
||||
|
||||
exit 0
|
||||
Reference in New Issue
Block a user