[M120 Migration][MM] Handle live stream duration and currenttime
[platform/framework/web/chromium-efl.git] / tizen_src / build / build_tv.sh
index 822f89a..5074bcd 100755 (executable)
@@ -1,17 +1,5 @@
 #!/bin/bash
 
-SCRIPTDIR=$(cd $(dirname $0); pwd -P)
+. `dirname $0`/common.sh
 
-# source common functions and vars
-. `dirname ${BASH_SOURCE[0]}`/common.sh
-
-${SCRIPTDIR}/apply_patches.sh
-
-GBS_CONF=$HOME/.gbs.conf
-if [ ! -f $GBS_CONF  ]; then
-    GBS_CONF=${SCRIPTDIR}/gbs.conf
-fi
-
-gbs --conf $GBS_CONF build -P tizentv_product -A armv7l --incremental "$@"
-
-${SCRIPTDIR}/apply_patches.sh -r
+setupAndExecuteTargetBuild tv "$@"