Index: platform_tools/android/bin/android_install_apk |
diff --git a/platform_tools/android/bin/android_install_apk b/platform_tools/android/bin/android_install_apk |
deleted file mode 100755 |
index 9161bbb41c3291f504e0260c667708a7cda4857d..0000000000000000000000000000000000000000 |
--- a/platform_tools/android/bin/android_install_apk |
+++ /dev/null |
@@ -1,49 +0,0 @@ |
-#!/bin/bash |
-# |
-# android_install_skia: installs the skia apk on the device. |
- |
-function print_usage { |
- echo "USAGE: android_install_skia [options]" |
- echo " Options: -f Forces the package to be installed by removing any" |
- echo " previously installed packages" |
- echo " -h Prints this help message" |
- echo " --release Install the release build of Skia" |
- echo " -s [device_s/n] Serial number of the device to be used" |
-} |
- |
-SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" |
- |
-source $SCRIPT_DIR/android_setup.sh |
-source $SCRIPT_DIR/utils/setup_adb.sh |
- |
-forceRemoval="false" |
-installLauncher="false" |
-installOptions="-r" |
- |
-for arg in ${APP_ARGS[@]} |
-do |
- if [[ "${arg}" == "-f" ]]; |
- then |
- forceRemoval="true" |
- elif [[ "${arg}" == "-h" ]]; |
- then |
- print_usage |
- exit |
- elif [[ "${arg}" == "-r" ]]; |
- then |
- echo "DEPRECATED: -r is now a no-op" |
- else |
- echo "ERROR: unrecognized option ${arg}" |
- print_usage |
- exit 1; |
- fi |
-done |
- |
-if [[ "$forceRemoval" == "true" ]]; |
-then |
- echo "Forcing removal of previously installed packages" |
- $ADB ${DEVICE_SERIAL} uninstall com.skia > /dev/null |
-fi |
- |
-echo "Installing Skia App from ${SKIA_OUT}/${BUILDTYPE}" |
-$ADB ${DEVICE_SERIAL} install ${installOptions} ${SKIA_OUT}/${BUILDTYPE}/android/bin/SkiaAndroid.apk |