Allow building xwalk with --xwalk on targets
authorArnaud Renevier <a.renevier@samsung.com>
Fri, 5 Jun 2015 17:32:19 +0000 (10:32 -0700)
committerYoungsoo Choi <kenshin.choi@samsung.com>
Tue, 10 Jul 2018 06:57:09 +0000 (06:57 +0000)
Add support for --xwalk command line switch when building with gbs

Bug: http://web.sec.samsung.net/bugzilla/show_bug.cgi?id=11619
Reviewed by: Antonio Gomes, SeungSeop Park

Change-Id: I2b20105267e0d7a24d2cfcfedb5d28c34a7fd20e
Signed-off-by: Arnaud Renevier <a.renevier@samsung.com>
tizen_src/build/common.sh

index 158d086..0a04cf4 100755 (executable)
@@ -229,6 +229,11 @@ function setupAndExecuteTargetBuild() {
         count=$(( $count + 1 ))
         ARGS[$count]="_skip_gyp 1"
     ;;
+    --xwalk)
+        ARGS[$count]=--define
+        count=$(( $count + 1 ))
+        ARGS[$count]="build_xwalk 1"
+    ;;
     --gbs-debug)
         ARGS[$count]=--debug
     ;;