Index: platform_tools/android/bin/android_run_skia |
diff --git a/platform_tools/android/bin/android_run_skia b/platform_tools/android/bin/android_run_skia |
index 62e837ce0bc11ef316437c0cf5b72b71c4e233de..ebcc041c2d74f2b5ffc3b0abc476a933b399e508 100755 |
--- a/platform_tools/android/bin/android_run_skia |
+++ b/platform_tools/android/bin/android_run_skia |
@@ -13,13 +13,6 @@ |
exit 1 |
fi |
-( |
- SKIA_SRC_DIR=$(cd ${SCRIPT_DIR}/../../..; pwd) |
- cd "$SKIA_SRC_DIR" |
- for resource in $(find resources -type f); do |
- adb_push_if_needed "$resource" "/data/local/tmp/${resource}" |
- done |
-) |
adb_push_if_needed "${SKIA_OUT}/$BUILDTYPE/skia_launcher" /data/local/tmp |
if [ -f "${SKIA_OUT}/$BUILDTYPE/lib/libskia_android.so" ]; then |
# Does not exist for builds with static skia. |
@@ -29,7 +22,7 @@ |
STATUS_FILENAME="/data/local/tmp/.skia_tmp_$(date +%s%N)" |
$ADB ${DEVICE_SERIAL} shell \ |
- "cd /data/local/tmp; ./skia_launcher ${APP_ARGS[@]}; echo \$? > ${STATUS_FILENAME}" |
+ "/data/local/tmp/skia_launcher ${APP_ARGS[@]}; echo \$? > ${STATUS_FILENAME}" |
if [ -z "$($ADB $DEVICE_SERIAL shell 'if [ -f $STATUS_FILENAME ]; then echo exists; fi')" ]; then |
exit 1 |
fi |