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 7f0105c59be7db9e45db0aa4c170b3d3753bcd68..81c4fee0135f595db4efca15dad39024d869eb44 100755 |
--- a/platform_tools/android/bin/android_run_skia |
+++ b/platform_tools/android/bin/android_run_skia |
@@ -25,7 +25,8 @@ fi |
STATUS_FILENAME="/data/local/tmp/.skia_tmp_$(date +%s%N)" |
$ADB ${DEVICE_SERIAL} shell \ |
- "/data/local/tmp/skia_launcher ${APP_ARGS[*]}; echo \$? > ${STATUS_FILENAME}" |
+ "LD_LIBRARY_PATH=/data/local/tmp:$LD_LIBRARY_PATH \ |
+ /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 |
echo "***********************************************************************" |
echo "The application terminated unexpectedly and did not produce an exit code" |