зеркало из https://github.com/mozilla/moz-skia.git
Fix ninja build for Android
android_ninja build script can't recognize "BUILDTYPE=Release". This CL parses and sets the BUILDTYPE parameter in android_setup.sh. BUG=skia:2383 R=epoger@google.com, scroggo@google.com, mtklein@google.com, djsollen@google.com Author: qiankun.miao@intel.com Review URL: https://codereview.chromium.org/221283007 git-svn-id: http://skia.googlecode.com/svn/trunk@14043 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
Родитель
e887998a91
Коммит
6ce77fa778
|
@ -19,6 +19,9 @@ while (( "$#" )); do
|
||||||
fi
|
fi
|
||||||
DEVICE_SERIAL="-s $2"
|
DEVICE_SERIAL="-s $2"
|
||||||
shift
|
shift
|
||||||
|
elif [[ $(echo "$1" | grep "^BUILDTYPE=") != "" ]];
|
||||||
|
then
|
||||||
|
BUILDTYPE=${1##BUILDTYPE=}
|
||||||
else
|
else
|
||||||
APP_ARGS=("${APP_ARGS[@]}" "${1}")
|
APP_ARGS=("${APP_ARGS[@]}" "${1}")
|
||||||
fi
|
fi
|
||||||
|
|
Загрузка…
Ссылка в новой задаче