| Index: platform_tools/android/bin/android_setup.sh
|
| diff --git a/platform_tools/android/bin/android_setup.sh b/platform_tools/android/bin/android_setup.sh
|
| index d9799c21bdc04d739bfb4164eb9de2de91b27162..3af118ef65f4c09f463abe26d0142d8431e490d0 100755
|
| --- a/platform_tools/android/bin/android_setup.sh
|
| +++ b/platform_tools/android/bin/android_setup.sh
|
| @@ -12,6 +12,7 @@
|
| set -e
|
|
|
| BUILDTYPE=${BUILDTYPE-Debug}
|
| +USE_CLANG="false"
|
|
|
| while (( "$#" )); do
|
| if [[ "$1" == "-d" ]]; then
|
| @@ -29,9 +30,10 @@ while (( "$#" )); do
|
| shift
|
| elif [[ "$1" == "--release" ]]; then
|
| BUILDTYPE=Release
|
| + elif [[ "$1" == "--gcc" ]]; then
|
| + USE_CLANG="false"
|
| elif [[ "$1" == "--clang" ]]; then
|
| - USE_CLANG="true"
|
| - export GYP_DEFINES="skia_clang_build=1 $GYP_DEFINES"
|
| + USE_CLANG="true"
|
| elif [[ "$1" == "--logcat" ]]; then
|
| LOGCAT=1
|
| elif [[ "$1" == "--verbose" ]]; then
|
| @@ -42,6 +44,10 @@ while (( "$#" )); do
|
| shift
|
| done
|
|
|
| +if [ "$USE_CLANG" == "true" ]; then
|
| + export GYP_DEFINES="skia_clang_build=1 $GYP_DEFINES"
|
| +fi
|
| +
|
| function verbose {
|
| if [[ -n $VERBOSE ]]; then
|
| echo $@
|
|
|