Add --component-build to create a component build of chromium-efl
(desktop only for now)
Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=13303
Reviewed by: Antonio Gomes, SeungSeop Park
Change-Id: Ifb5728b366a08180fde120e3111398260ea69c45
Signed-off-by: Arnaud Renevier <a.renevier@samsung.com>
export BUILD_CONTENT_SHELL=0
export BUILD_XWALK=0
export BUILD_SUBDIRECTORY=Release
+ export COMPONENT_BUILD=0
local platform="$1"
shift
--xwalk)
export BUILD_XWALK=1
;;
+ --component-build)
+ export COMPONENT_BUILD=1
+ ;;
-j*)
export JOBS="$1"
;;
function hostGypChromiumEfl() {
if [[ $SKIP_GYP == 0 ]]; then
local XWALK_ARG=""
+ local COMPONENT_ARG=""
if [[ $BUILD_XWALK == 1 ]]; then
XWALK_ARG="--xwalk"
fi
- ${TOPDIR}/tizen_src/build/gyp_chromiumefl.sh $XWALK_ARG $@
+ if [[ $COMPONENT_BUILD == 1 ]]; then
+ COMPONENT_ARG="-Dcomponent=shared_library"
+ fi
+ ${TOPDIR}/tizen_src/build/gyp_chromiumefl.sh $XWALK_ARG $COMPONENT_ARG $@
fi
}