android_install_app: Use lower-cased app name

NOTRY=true
BUG=skia:

Review URL: https://codereview.chromium.org/1261873002
This commit is contained in:
borenet 2015-07-28 05:13:41 -07:00 committed by Commit bot
parent bb13433364
commit 5f4dc38325

View File

@ -55,7 +55,8 @@ then
fi
BUILD_TYPE_LC=$(echo $BUILDTYPE | tr "[:upper:]" "[:lower:]")
APP_LC=$(echo $app | tr "[:upper:]" "[:lower:]")
echo "Installing ${app} from ${app}/build/outputs/apk/${app}-${ANDROID_ARCH}-${BUILD_TYPE_LC}.apk"
$ADB ${DEVICE_SERIAL} install -r ${SCRIPT_DIR}/../apps/${app}/build/outputs/apk/${app}-${ANDROID_ARCH}-${BUILD_TYPE_LC}.apk
echo "Installing ${APP_LC} from ${APP_LC}/build/outputs/apk/${APP_LC}-${ANDROID_ARCH}-${BUILD_TYPE_LC}.apk"
$ADB ${DEVICE_SERIAL} install -r ${SCRIPT_DIR}/../apps/${APP_LC}/build/outputs/apk/${APP_LC}-${ANDROID_ARCH}-${BUILD_TYPE_LC}.apk