[M120 Migration][MM] Handle live stream duration and currenttime
[platform/framework/web/chromium-efl.git] / tizen_src / build / build_tv.sh
index 03acf84..5074bcd 100755 (executable)
@@ -1,21 +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
-
-TIZEN_VERSION="chromium_efl_tizen_version 2.2.1"
-
-if [ ! -f "$HOME/.gbs.conf" ]; then
-    CONF_FLAG="--conf ${SCRIPTDIR}/gbs.conf"
-    PROFILE_FLAG="-P tizentv_product"
-fi
-
-gbs $CONF_FLAG build $PROFILE_FLAG -A armv7l --incremental \
-    --extra-packs python-base-x86-arm,python-x86-arm,python-xml-x86-arm
-    --define "${TIZEN_VERSION}" "$@"
-
-${SCRIPTDIR}/apply_patches.sh -r
+setupAndExecuteTargetBuild tv "$@"