Fix build_desktop.sh script to building ewk unittests. Reviewed by: Antonio Gomes...
authorKamil Lysik <k.lysik@samsung.com>
Fri, 5 Dec 2014 08:53:06 +0000 (09:53 +0100)
committerYoungsoo Choi <kenshin.choi@samsung.com>
Tue, 10 Jul 2018 06:57:09 +0000 (06:57 +0000)
Change-Id: Ie4f3bc6a2760767b5028da9cae1aee481c2c3063
Signed-off-by: Kamil Lysik <k.lysik@samsung.com>
tizen_src/build/build_desktop.sh

index 99b47b0..74b66d2 100755 (executable)
@@ -54,7 +54,7 @@ if echo "$@" | grep -cq '\-\-ccache'; then
   USE_CCACHE=1
 fi
 
-if echo "$@" | grep -cq '\-\-build_ewk_unittests'; then
+if echo "$@" | grep -cq '\-\-build-ewk-unittests'; then
   BUILD_EWK_UNITTESTS=1
 fi
 
@@ -121,7 +121,7 @@ if [ "$SKIP_NINJA" == "0" ]; then
 
   TARGETS="chromium-efl efl_webprocess chromium-ewk efl_webview_app"
   if [ "$BUILD_EWK_UNITTESTS" == "1" ]; then
-    TARGETS = "$TARGETS ewk_unittests"
+    TARGETS="$TARGETS ewk_unittests"
   fi
 
   ninja -C ${GYP_GENERATOR_OUTPUT}/${BUILD_SUBDIRECTORY} ${JOBS} ${TARGETS}