2012-08-02 22:13:53 +04:00
|
|
|
#!/bin/sh
|
|
|
|
|
2012-08-21 01:02:20 +04:00
|
|
|
rm agent
|
|
|
|
make -f Makefile.droid
|
2012-09-14 03:50:46 +04:00
|
|
|
$ADB_PATH shell "rm /data/local/agent"
|
|
|
|
$ADB_PATH shell "rm -rf /data/local/tests"
|
|
|
|
$ADB_PATH shell "rm -rf /data/local/tmp*"
|
|
|
|
$ADB_PATH push agent /data/local
|
|
|
|
$ADB_PATH push libs/libnspr4.so /data/local
|
|
|
|
$ADB_PATH push libs/libplc4.so /data/local
|
|
|
|
$ADB_PATH push libs/libplds4.so /data/local
|
|
|
|
$ADB_PATH shell 'export NSPR_LOG_MODULES="NegatusLOG:5, timestamp" \
|
2012-09-11 05:42:49 +04:00
|
|
|
&& LD_LIBRARY_PATH=/data/local /data/local/agent'
|