I regularly run into this. For open source developement the component
build is a great feature so it should be ok to keep it to be on by default.
This change adds a tiny bit of logic to the build system to disable it
automatically as it is not compatible with chromium-efl.
Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=6110
Change-Id: Ifcbbee3d8763f299752584b804108f41bac67b41
Signed-off-by: Balazs Kelemen <b.kelemen@samsung.com>
${TOPDIR}/src/build/util/lastchange.py -s ${TOPDIR}/src/third_party/WebKit -o ${TOPDIR}/src/build/util/LASTCHANGE.blink
fi
+ORIGINAL_GYP_DEFINES="$GYP_DEFINES"
+export GYP_DEFINES=$(echo "$GYP_DEFINES" | sed -e 's/component\s*=\s*shared_library//g')
+if [ "$ORIGINAL_GYP_DEFINES" != "$GYP_DEFINES" ]; then
+ echo "WARNING: component build is not supported."
+ echo "Removing component=shared_library from GYP_DEFINES."
+fi
+
COMMON_GYP_PARAMETERS="--depth=${TOPDIR}/src
-I${TOPDIR}/impl/chromium-efl.gypi
--generator-output ${GYP_GENERATOR_OUTPUT}