project_files/Android-build/pushToDevice
author Xeli
Thu, 23 Jun 2011 14:12:11 +0200
branchhedgeroid
changeset 5314 09bcdcd78379
parent 5301 690e88ef6ee7
permissions -rwxr-xr-x
Have make move the actual libhwengine.so to the SDL-android-project folder, rather than having the ndk-build reference to it. This removes the circular dependency

#!/bin/bash

adb push ./out/libhwengine.so /sdcard/libhwengine.so
adb shell "su -c \"cat /sdcard/libhwengine.so > /data/data/org.hedgewars/lib/libhwengine.so \""