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>
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/"