From: commit-bot@chromium.org Date: Tue, 6 May 2014 18:29:28 +0000 (+0000) Subject: Fix android_install_apk script to work with changes from a137675 X-Git-Tag: submit/tizen/20180928.044319~7868 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c1dc0d486ff1f537378205a2d1698ce2044e7735;p=platform%2Fupstream%2FlibSkiaSharp.git Fix android_install_apk script to work with changes from a137675 (http://crrev.com/223613004). See http://crrev.com/256413006 or http://crrev.com/262053007 for similar changes. R=djsollen@google.com, mtklein@google.com Author: halcanary@google.com Review URL: https://codereview.chromium.org/266373005 git-svn-id: http://skia.googlecode.com/svn/trunk@14593 2bbb7eff-a529-9590-31e7-b0007b416f81 --- diff --git a/platform_tools/android/bin/android_install_apk b/platform_tools/android/bin/android_install_apk index 0b1561335e..9161bbb41c 100755 --- a/platform_tools/android/bin/android_install_apk +++ b/platform_tools/android/bin/android_install_apk @@ -19,7 +19,6 @@ source $SCRIPT_DIR/utils/setup_adb.sh forceRemoval="false" installLauncher="false" installOptions="-r" -configuration="Debug" for arg in ${APP_ARGS[@]} do @@ -33,9 +32,6 @@ do elif [[ "${arg}" == "-r" ]]; then echo "DEPRECATED: -r is now a no-op" - elif [[ "${arg}" == "--release" ]]; - then - configuration="Release" else echo "ERROR: unrecognized option ${arg}" print_usage @@ -49,5 +45,5 @@ then $ADB ${DEVICE_SERIAL} uninstall com.skia > /dev/null fi -echo "Installing Skia App from ${SKIA_OUT}/${configuration}" -$ADB ${DEVICE_SERIAL} install ${installOptions} ${SKIA_OUT}/${configuration}/android/bin/SkiaAndroid.apk +echo "Installing Skia App from ${SKIA_OUT}/${BUILDTYPE}" +$ADB ${DEVICE_SERIAL} install ${installOptions} ${SKIA_OUT}/${BUILDTYPE}/android/bin/SkiaAndroid.apk