Use third party libxml
[platform/framework/web/chromium-efl.git] / tizen_src / scripts / device_envsetup.sh
1 #! /bin/sh
2
3 # Use this on the device after deploying with deploy_envsetup.sh.
4 # Run it in the root of deployment (/opt/usr/dev by default).
5 # Usage: . ./device_envsetup debug|release
6
7 libdir=""
8 if [ "$1" == "release" ]; then libdir=lib/release;
9 elif [ "$1" == "debug" ]; then libdir=lib/debug;
10 else >&2 echo "no valid config (debug/release)"; return;
11 fi
12
13 if [ ! -f $PWD/$libdir/efl_webprocess -o ! -f $PWD/$libdir/libchromium-efl.so -o ! -f $PWD/$libdir/libchromium-ewk.so ]; then
14     >&2 echo "no complete build found in $PWD (need to have $libdir/efl_webprocess, $libdir/libchromium-efl.so, $libdir/libchromium-ewk.so)"
15     return 1
16 fi
17
18 export LD_LIBRARY_PATH=$PWD/$libdir:$PWD