project_files/Android-build/pushToDevice
author Xeli
Tue, 28 Jun 2011 17:54:27 +0200
branchhedgeroid
changeset 5369 0ce1ef75c08f
parent 5301 690e88ef6ee7
permissions -rwxr-xr-x
Removed absolute path to libhwengine.so, the library must be preloaded from Java now. Which automagically knows where libhwengine.so is!
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
5295
e1a76c67dead Script called from Make.android to push the library to the device
Xeli
parents:
diff changeset
     1
#!/bin/bash
e1a76c67dead Script called from Make.android to push the library to the device
Xeli
parents:
diff changeset
     2
e1a76c67dead Script called from Make.android to push the library to the device
Xeli
parents:
diff changeset
     3
adb push ./out/libhwengine.so /sdcard/libhwengine.so
e1a76c67dead Script called from Make.android to push the library to the device
Xeli
parents:
diff changeset
     4
adb shell "su -c \"cat /sdcard/libhwengine.so > /data/data/org.hedgewars/lib/libhwengine.so \""
e1a76c67dead Script called from Make.android to push the library to the device
Xeli
parents:
diff changeset
     5