Revert "Make a command 'git submodule' work in spec file"
authorYoungsoo Choi <kenshin.choi@samsung.com>
Mon, 23 May 2016 07:52:05 +0000 (16:52 +0900)
committerYoungcheol Kang <ychul.kang@samsung.com>
Fri, 3 Jun 2016 09:00:35 +0000 (18:00 +0900)
This reverts commit d5270085726338b2e3320b7402420ce9dba764b1.

The command '$git submodule' is not available on obs server.

Change-Id: I00ce70b562c81e37b72691cc1c735625bdaee9c1

.gitmodules [deleted file]
build/common.sh
build/get_third_party_modules.sh [deleted file]
packaging/v8.spec

diff --git a/.gitmodules b/.gitmodules
deleted file mode 100644 (file)
index 7c31903..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-[submodule "build/gyp"]
-       path = build/gyp
-       url = https://chromium.googlesource.com/external/gyp.git
index f490183b3ad3891f8dace7ee7674c30b7357a094..ad10b79cc7a9f305e7829890f48b51efd64e5e6f 100644 (file)
@@ -77,16 +77,6 @@ function setupAndExecuteTargetBuild() {
         count=$(( $count + 1 ))
         ARGS[$count]="_enable_test 1"
     ;;
-    --skip-module)
-        ARGS[$count]=--define
-        count=$(( $count + 1 ))
-        ARGS[$count]="_skip_module 1"
-    ;;
-    --hq-proxy)
-        ARGS[$count]=--define
-        count=$(( $count + 1 ))
-        ARGS[$count]="_hq_proxy 1"
-    ;;
     *)
       ARGS[$count]="$1"
     ;;
diff --git a/build/get_third_party_modules.sh b/build/get_third_party_modules.sh
deleted file mode 100755 (executable)
index 8525022..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/bin/bash
-
-function download_third_party_modules() {
-  git config --global http.sslVerify false
-  git submodule update --init
-  pushd build/gyp; git reset --hard 08429da7; popd;
-}
-
-download_third_party_modules
index 3e098fd1564b7b9ff9beabe5f0cb4061bd5bbd03..34b51820c6cc5c982bf24b60ec247615d0605ea1 100644 (file)
@@ -40,7 +40,7 @@ Source1:       v8.manifest
 %define chromium_efl_tizen_profile ivi
 %endif
 
-BuildRequires: python, python-xml, git, curl
+BuildRequires: python, python-xml, git
 %ifarch armv7l
 BuildRequires: python-accel-armv7l-cross-arm
 %endif
@@ -78,16 +78,6 @@ if [ ! -d %{buildroot}/../../OTHER/ -a -f /opt/testing/bin/rpmlint ]; then
   mkdir -p %{buildroot}/../../OTHER/
 fi
 
-%if "%{?_hq_proxy}" == "1"
-echo "* Setup HQ proxy"
-export http_proxy="http://10.112.1.184:8080"
-export https_proxy="https://10.112.1.184:8080"
-%endif
-
-%if "%{?_skip_module}" != "1"
-build/get_third_party_modules.sh
-%endif
-
 %ifarch aarhc64
   export ADDITION_OPTION=" -finline-limit=64 -foptimize-sibling-calls -fno-unwind-tables -fno-exceptions -Os"
 %endif