Index: platform_tools/android/bin/android_make |
diff --git a/platform_tools/android/bin/android_make b/platform_tools/android/bin/android_make |
index 9696dbef554583550803e706d17027f71cc312bf..46512bf8939e937f6979fc4a74581c275a95f09b 100755 |
--- a/platform_tools/android/bin/android_make |
+++ b/platform_tools/android/bin/android_make |
@@ -12,11 +12,11 @@ SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" |
source $SCRIPT_DIR/android_setup.sh |
if [ $(basename $0) = "android_make" ]; then |
- GYP_GENERATORS=make-android make $APP_ARGS |
+ GYP_GENERATORS=make-android make ${APP_ARGS[@]} |
else |
GYP_GENERATORS=ninja ./gyp_skia |
OUT=$SKIA_OUT/${BUILDTYPE-Debug} # Defaults to Debug if BUILDTYPE isn't set. |
- ninja -C $OUT $APP_ARGS |
+ ninja -C $OUT ${APP_ARGS[@]} |
ln -sf lib $OUT/lib.target # android_run_skia looks in lib.target; ninja writes to lib. |
fi |