Update android_make to use arrays instead of space delimited strings

R=borenet@google.com

Review URL: https://codereview.chromium.org/19796008

git-svn-id: http://skia.googlecode.com/svn/trunk@10230 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
djsollen@google.com 2013-07-22 14:18:08 +00:00
parent 2679ff8b8d
commit 489ba1dac0

View File

@ -1,6 +1,5 @@
#!/bin/bash
makeVars=""
deviceID=""
while (( "$#" )); do
@ -16,7 +15,7 @@ while (( "$#" )); do
ANDROID_MAKE_CCACHE=$(which ccache)
fi
else
makeVars="$makeVars $1"
makeVars=("${makeVars[@]}" "$1")
fi
shift
@ -50,7 +49,7 @@ fi
# write the out directory into the .android_config file
echo $SKIA_OUT > .android_config
make $makeVars
make ${makeVars[@]}
if [ $? != 0 ]
then
exit 1;