Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(75)

Unified Diff: experimental/v8/run.sh

Issue 11636027: Add ARM toolchain support. (Closed) Base URL: git@github.com:samclegg/naclports.git@sbc
Patch Set: revert .c file change Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « examples/tutorials/life/life-stage-4/Makefile ('k') | libraries/agg-2.5/nacl-agg-2.5.sh » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: experimental/v8/run.sh
diff --git a/experimental/v8/run.sh b/experimental/v8/run.sh
index 8946f44957e72fe2d9ac3c21bfed87405b7e3e73..44f386d0c40109a5ec7e9a6869523043bb077d60 100755
--- a/experimental/v8/run.sh
+++ b/experimental/v8/run.sh
@@ -20,7 +20,7 @@ function check_deps() {
EXIT=true
fi
done
- if test $EXIT == true
+ if test $EXIT = true
then
echo "Dependency missing"
exit 1
@@ -28,10 +28,10 @@ function check_deps() {
}
function define_arch() {
- if [[ "$(uname -m)" == "x86_64" ]]
+ if [[ "$(uname -m)" = "x86_64" ]]
then
ARCH=64
- elif [[ "$(uname -m)" == "i"[3-6]"86" ]]
+ elif [[ "$(uname -m)" = "i"[3-6]"86" ]]
then
ARCH=32
else
@@ -41,10 +41,10 @@ function define_arch() {
}
function define_os() {
- if [[ "$(uname -s)" == "Linux" ]]
+ if [[ "$(uname -s)" = "Linux" ]]
then
OS="linux"
- elif [[ "$(uname -s)" == "Darwin" ]]
+ elif [[ "$(uname -s)" = "Darwin" ]]
then
OS="mac"
else
@@ -83,7 +83,7 @@ if ! test -d nacl/native_client
then
echo cd nacl && gclient sync --revision 3669
( cd nacl && gclient sync --revision 3669 )
- if [[ "$?" == "0" ]]
+ if [[ "$?" = "0" ]]
then
echo "the first run supposed to fail"
exit 1
@@ -100,7 +100,7 @@ if ! test -f nacl/native_client/scons-out/opt-$OS-x86-32/staging/sel_ldr
then
run "cd nacl/native_client && ./scons MODE=opt-$OS platform=x86-32 sdl=none sel_ldr"
fi
-if ! test -f nacl/native_client/scons-out/opt-$OS-x86-64/staging/sel_ldr && test $ARCH == 64
+if ! test -f nacl/native_client/scons-out/opt-$OS-x86-64/staging/sel_ldr && test $ARCH = 64
then
run "cd nacl/native_client && ./scons MODE=opt-$OS platform=x86-64 sdl=none sel_ldr"
fi
@@ -112,7 +112,7 @@ V8S=(
"nacl-v8-ia32-3.1.4" "-r6795" "nacl-v8-ia32-3.1.4.patch"
)
-if test $ARCH == 64
+if test $ARCH = 64
then
V8S+=(
"v8-x64-2.2.19" "-r4925" "v8-x64-2.2.19.patch"
@@ -156,7 +156,7 @@ V8S=(
"nacl-v8-ia32-3.1.4" "NaCl V8-ia32 3.1.4 CrankShaft (revision 6795)"
)
-if test $ARCH == 64
+if test $ARCH = 64
then
V8S+=(
"v8-x64-2.2.19" "Unmodified V8-x64 2.2.19 (revision 4925)"
« no previous file with comments | « examples/tutorials/life/life-stage-4/Makefile ('k') | libraries/agg-2.5/nacl-agg-2.5.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698