move android binary build files to contrib

Signed-off-by: R4SAS <r4sas@i2pmail.org>
This commit is contained in:
R4SAS 2021-02-10 17:57:31 +03:00
parent abe1af7b4f
commit 004f3532a0
No known key found for this signature in database
GPG Key ID: 66F6C87B98EBCFE2
4 changed files with 8 additions and 5 deletions

View File

@ -33,7 +33,7 @@ MINIUPNP_PATH = $(I2PD_LIBS_PATH)/MiniUPnP-for-Android-Prebuilt
IFADDRS_PATH = $(I2PD_LIBS_PATH)/android-ifaddrs IFADDRS_PATH = $(I2PD_LIBS_PATH)/android-ifaddrs
# don't change me # don't change me
I2PD_SRC_PATH = $(PWD)/.. I2PD_SRC_PATH = $(PWD)/../..
LIB_SRC_PATH = $(I2PD_SRC_PATH)/libi2pd LIB_SRC_PATH = $(I2PD_SRC_PATH)/libi2pd
LIB_CLIENT_SRC_PATH = $(I2PD_SRC_PATH)/libi2pd_client LIB_CLIENT_SRC_PATH = $(I2PD_SRC_PATH)/libi2pd_client

View File

@ -20,7 +20,7 @@ if [ -d archive ]; then
rm -r archive rm -r archive
fi fi
if [ -f i2pd_*_android_binary.zip ]; then if [ -f ../i2pd_*_android_binary.zip ]; then
rm i2pd_*_android_binary.zip rm i2pd_*_android_binary.zip
fi fi
@ -28,13 +28,16 @@ fi
mkdir archive mkdir archive
for ABI in "${!ABILIST[@]}"; do for ABI in "${!ABILIST[@]}"; do
if [ -f ../../android_binary_only/libs/${ABI}/i2pd ]; then if [ -f ../android_binary_only/libs/${ABI}/i2pd ]; then
cp ../../android_binary_only/libs/${ABI}/i2pd archive/i2pd-${ABILIST[$ABI]} cp ../android_binary_only/libs/${ABI}/i2pd archive/i2pd-${ABILIST[$ABI]}
fi fi
done done
cp i2pd archive/i2pd cp i2pd archive/i2pd
cp -rH ../../android/assets/* archive/ cp -rH ../android/assets/certificates archive/
cp -rH ../android/assets/tunnels.conf.d archive/
cp -H ../android/assets/i2pd.conf archive/
cp -H ../android/assets/tunnels.conf archive/
# Compress files # Compress files
cd archive cd archive