Ported patch from tizen_7.0:
https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/273992
Bug: https://cam.sprc.samsung.pl/browse/VDWASM-1212
Change-Id: Ibe04d0d760152080566638d6569705c5ee960e91
Signed-off-by: Michal Jurkiewicz <m.jurkiewicz@samsung.com>
}
function hostNinja() {
+ local RESULT=0
if [[ $SKIP_NINJA == 0 ]]; then
if [[ $BUILD_CHROME == 1 ]]; then
TARGETS="content_shell chrome"
export BUILD_SUBDIRECTORY=""
BUILDDIR=${GN_GENERATOR_OUTPUT}/${BUILD_SUBDIRECTORY}
ninja -C $BUILDDIR ${JOBS} ${TARGETS}
+ RESULT=$?
fi
undoReplacedGn $1
+
+ if [[ $RESULT != 0 ]]; then
+ exit $RESULT
+ fi
}
function error_report() {
processICU initialize_icu
gbs $CONF_FLAG build -P $PROFILE --include-all -A $ARCHITECTURE "${ARGS[@]}" $BUILD_CONF_OPTS --incremental $GBS_ROOT_OPT
+ local RESULT=$?
undoReplacedGn $platform
processICU restore_icu
+
+ if [[ $RESULT != 0 ]]; then
+ exit $RESULT
+ fi
}
function processICU() {