Factor out common bits of build_mobile and build_tv scripts
authorArnaud Renevier <a.renevier@samsung.com>
Mon, 23 Feb 2015 20:48:47 +0000 (12:48 -0800)
committerYoungsoo Choi <kenshin.choi@samsung.com>
Tue, 10 Jul 2018 06:57:09 +0000 (06:57 +0000)
commitfd2f02e44d30105aca959e30d08ab48295d97536
tree8ffef834bde4a35d959a9636d8ed713d3c3ab5bc
parent5ffc99bbc409088e8a0ccbeddccafa1cba4bd23f
Factor out common bits of build_mobile and build_tv scripts

Both scripts were almost identical, except in the values
set to TIZEN_VERSION and PROFILE_FLAG variable.

To avoid such duplication, patch factors out the common bits
into a function in common.sh named setupAndExecuteTargetBuild.

Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=9215
Reviewed by: Antonio Gomes, Piotr Tworek

Change-Id: I2e36fc5c950d1af2d549838fa7d7246790498f53
Signed-off-by: Arnaud Renevier <a.renevier@samsung.com>
tizen_src/build/build_emulator.sh
tizen_src/build/build_mobile.sh
tizen_src/build/build_tv.sh
tizen_src/build/common.sh [changed mode: 0644->0755]