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

Side by Side Diff: platform_tools/android/bin/android_run_skia

Issue 1832883002: Skip toolchain downloads for a few android tools (Closed) Base URL: https://skia.googlesource.com/skia@master
Patch Set: Address comment Created 4 years, 8 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 unified diff | Download patch
OLDNEW
1 #!/bin/bash 1 #!/bin/bash
2 # 2 #
3 # android_run_skia: starts the correct skia program on the device, prints the 3 # android_run_skia: starts the correct skia program on the device, prints the
4 # output, and kills the app if interrupted. 4 # output, and kills the app if interrupted.
5 5
6 SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" 6 SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
7 SKIP_TOOLCHAIN_SETUP="true"
7 source $SCRIPT_DIR/android_setup.sh 8 source $SCRIPT_DIR/android_setup.sh
8 source $SCRIPT_DIR/utils/setup_adb.sh 9 source $SCRIPT_DIR/utils/setup_adb.sh
9 10
10 if [ ! -f "${SKIA_OUT}/$BUILDTYPE/lib/lib${APP_ARGS[0]}.so" ]; 11 if [ ! -f "${SKIA_OUT}/$BUILDTYPE/lib/lib${APP_ARGS[0]}.so" ];
11 then 12 then
12 echo "Unable to find $BUILDTYPE ${APP_ARGS[0]} library" 13 echo "Unable to find $BUILDTYPE ${APP_ARGS[0]} library"
13 exit 1 14 exit 1
14 fi 15 fi
15 16
16 verbose "pushing binaries onto the device..." 17 verbose "pushing binaries onto the device..."
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 echo "***********************************************************************" 64 echo "***********************************************************************"
64 exit 1 65 exit 1
65 fi 66 fi
66 67
67 echo "EXIT_CODE is ${EXIT_CODE}" 68 echo "EXIT_CODE is ${EXIT_CODE}"
68 if [ $'0\r' != "${EXIT_CODE}" ]; then 69 if [ $'0\r' != "${EXIT_CODE}" ]; then
69 if [ $LOGCAT ]; then $ADB $DEVICE_SERIAL logcat -d; fi 70 if [ $LOGCAT ]; then $ADB $DEVICE_SERIAL logcat -d; fi
70 exit 1 71 exit 1
71 fi 72 fi
72 exit 0 73 exit 0
OLDNEW
« no previous file with comments | « platform_tools/android/bin/android_kill_skia ('k') | platform_tools/android/bin/android_setup.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698