mirror of
https://github.com/PurpleI2P/i2pd-android.git
synced 2025-01-10 06:48:02 +00:00
988940f50a
* Fix foreground notification * Trying to fix app quit * Remove unsupported UI items * Remove misleading exceptions * Set Unix exec bit on build scripts * Revamp processAssets point to be launched * Corrected logic of daemon status events * Fix double I2PActivity.onCreate call hangup * Fix exception processing @ processAssets
17 lines
345 B
Bash
Executable File
17 lines
345 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
cd $NDK_PROJECT_PATH/jni
|
|
$ANDROID_NDK_HOME/ndk-build $*
|
|
|
|
# if it doesn't exist, then create
|
|
if [ ! -d $NDK_PROJECT_PATH/libs ]; then mkdir $NDK_PROJECT_PATH/libs; fi
|
|
|
|
cd $NDK_PROJECT_PATH/libs
|
|
for f in $(ls .);
|
|
do
|
|
if [ -z "$I2PD_DEBUG" -a "$I2PD_DEBUG" == "" ]; then
|
|
strip $f/i2pd
|
|
fi
|
|
mv $f/i2pd $f/libi2pd.so
|
|
done
|