$ ./build/build_desktop.sh [-h|--help] [--skip-gyp] [--skip-ninja] [--ccache] [--debug] [--content-shell]
+### For Emulator(i586) build
+
+ $ build/build_emulator.sh [--clean] [--define '_debug_mode 1'] [--define '_skip_gyp 1'] [--define 'nodebug 1'] [--define '_enable_content_shell 1']
+ [--ccache]
+
+ [--define '_debug_mode 1'] excute debug build (default : release)
+ [--define '_skip_gyp 1'] skip gyp generate (default : gyp generate)
+ [--define 'nodebug 1'] omit creation of debug packages (default: build debug packages too)
+ Note: To let binaries to be recreated without debug symbols, this should be
+ preceded by removing build directory.
+ [--ccache] see ### Using ccache inside gbs
+
### For Mobile build
Before Tizen build You need to install GBS.
Please refer to (https://developer.tizen.org/help/index.jsp?topic=%2Forg.tizen.
--- /dev/null
+#!/bin/bash
+
+# source common functions and vars
+. `dirname $0`/common.sh
+trap '${SCRIPTDIR}/apply_patches.sh -r ${SCRIPTDIR}/patches;\
+ error_report $0 $LINENO' ERR SIGINT SIGTERM SIGQUIT
+
+${SCRIPTDIR}/apply_patches.sh ${SCRIPTDIR}/patches
+
+# "|| :" means "or always succeeding built-in command"
+PROFILE_NAME=$(echo "$@" | grep -Po "(?<=\-P\s)[^\s]*" || :)
+
+if [ "$PROFILE_NAME" == "" ]; then
+ PROFILE_NAME=tizen_emulator_v2.4
+ PROFILE_FLAG="-P $PROFILE_NAME"
+fi
+
+TIZEN_VERSION="chromium_efl_tizen_version 2.4"
+
+if [ "$USE_GLOBAL_GBS_CONF" == "" ]; then
+ CONF_FLAG="--conf ${SCRIPTDIR}/gbs.conf"
+fi
+
+gbs $CONF_FLAG build $PROFILE_FLAG -A i586 --incremental \
+ --define "${TIZEN_VERSION}" "$@"
+
+${SCRIPTDIR}/apply_patches.sh -r ${SCRIPTDIR}/patches
+
###############################################
#
+# Tizen v2.4 for emulator(i586)
+#
+[profile.tizen_emulator_v2.4]
+obs = obs.tizenmb
+# The order is IMPORTANT!
+repos = repo.tizen_emulator_supplement_chromium_spin_v2.4, repo.tizen_emulator_base_v2.4_obs
+buildroot=~/GBS-ROOT-2.4-DEV
+
+[repo.tizen_emulator_base_v2.4_obs]
+url = http://10.251.52.177/tizenrepo/eur-open/tizen-2.4-mobile_20150106.4/repos/emulator/packages
+
+[repo.tizen_emulator_supplement_chromium_spin_v2.4]
+url = http://10.251.52.177/tizenrepo/eur-open/supplement_mobile_chromium_spin_v2.4_i586
+
+
+###############################################
+#
# Tizen v2.3 for mobile
#
[profile.tizenmb_v2.3]
-Dbuilding_for_tizen_"%{OUTPUT_BUILD_PROFILE_TARGET}"=1
%endif
+%ifarch %{arm}
+build/prebuild/ninja.arm %{_smp_mflags} -C"%{OUTPUT_FOLDER}" \
+%else
build/prebuild/ninja %{_smp_mflags} -C"%{OUTPUT_FOLDER}" \
+%endif
%if 0%{?_enable_content_shell}
content_shell_efl \
%endif