Resolved the build problem which uses the ccache option
authorYoungcheol Kang <ychul.kang@samsung.com>
Wed, 25 Feb 2015 09:12:58 +0000 (18:12 +0900)
committerYoungsoo Choi <kenshin.choi@samsung.com>
Tue, 10 Jul 2018 06:57:09 +0000 (06:57 +0000)
Below error were occurred when we uses the '--ccache' option

build/apply_patches.sh: pushd: /var/src: No such file or directory
build/apply_patches.sh: popd: directory stack empty

The 'CHROME_SRC' value is already contained as '/var/src' when we
uses the '--ccache' option.

For resolving this problem, we removed the conditions
which check whether 'CHROME_SRC' value was contained.

Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=11572
Reviewed by: Antonio Gomes, joonhwan kwon

Change-Id: I91716ecc67e0c36fb1d22943dc09ac582c8991b1
Signed-off-by: Youngcheol Kang <ychul.kang@samsung.com>
tizen_src/build/common.sh

index 2356dd4..c72f2f4 100644 (file)
@@ -5,10 +5,7 @@ export SCRIPTDIR=`pwd -L`
 popd > /dev/null
 
 export TOPDIR=$(readlink -f "${SCRIPTDIR}/..")
-if [[ -z "${CHROME_SRC}" ]]; then
-  # If $CHROME_SRC was not set, assume src subfolder in project directory is CHROME_SRC.
-  export CHROME_SRC="${TOPDIR}/src"
-fi
+export CHROME_SRC="${TOPDIR}/src"
 
 export CLANG_DIR="${TOPDIR}/src/third_party/llvm-build/Release+Asserts/"