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

Unified Diff: platform_tools/android/bin/android_setup.sh

Issue 221283007: Fix ninja build for Android (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 9 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 d29a07048bf8dfa99c20aa0f5227d09cdfce43f4..a8271026efb5b9d768a9c1ed4d928e5087282955 100755
--- a/platform_tools/android/bin/android_setup.sh
+++ b/platform_tools/android/bin/android_setup.sh
@@ -19,6 +19,9 @@ while (( "$#" )); do
fi
DEVICE_SERIAL="-s $2"
shift
+ elif [[ $(echo "$1" | grep "^BUILDTYPE=") != "" ]];
mtklein 2014/04/03 14:26:37 I'd prefer just elif echo $1 | grep -q ^BUILDT
+ then
+ BUILDTYPE=${1##BUILDTYPE=}
else
APP_ARGS=("${APP_ARGS[@]}" "${1}")
fi
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698