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 3314225ba47f81d1ca6e3cfeba38aaba65a82615..11c36756f54adf1e02ec1e656ed72fb96b0d4947 100755 |
--- a/platform_tools/android/bin/android_run_skia |
+++ b/platform_tools/android/bin/android_run_skia |
@@ -28,7 +28,10 @@ then |
fi |
adb_push_if_needed "${SKIA_OUT}/${configuration}/skia_launcher" /data/local/tmp |
-adb_push_if_needed "${SKIA_OUT}/${configuration}/lib.target/libskia_android.so" /data/local/tmp |
+if [ -f "${SKIA_OUT}/${configuration}/lib.target/libskia_android.so" ]; then |
+ # Does not exist for builds with static skia. |
+ adb_push_if_needed "${SKIA_OUT}/${configuration}/lib.target/libskia_android.so" /data/local/tmp |
+fi |
adb_push_if_needed "${SKIA_OUT}/${configuration}/lib.target/lib${runVars[0]}.so" /data/local/tmp |
STATUS_FILENAME="/data/local/tmp/.skia_tmp_$(date +%s%N)" |