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: N/A
Change-Id: Ifcbbee3d8763f299752584b804108f41bac67b41
Signed-off-by: Balazs Kelemen <b.kelemen@samsung.com>
export CHROME_SRC="${PROJECT_ROOT_PATH}/src"
fi
+ORI_GYP_DEFINES=$GYP_DEFINES
+export GYP_DEFINES=$(echo $GYP_DEFINES | sed 's/component=shared_library//g')
+if [ "$ORI_GYP_DEFINES" != "$GYP_DEFINES" ]; then
+ echo "WARNING: component build is not supported!"
+ echo "removing component=shared_library from GYP_DEFINES"
+fi
+
function applyPatch {
directory=$1
shift