Browse Source

move android binary build files to contrib

Signed-off-by: R4SAS <r4sas@i2pmail.org>
pull/1634/head
R4SAS 4 years ago
parent
commit
004f3532a0
Signed by: r4sas
GPG Key ID: 66F6C87B98EBCFE2
  1. 0
      contrib/android_binary_only/.gitignore
  2. 0
      contrib/android_binary_only/jni/Android.mk
  3. 2
      contrib/android_binary_only/jni/Application.mk
  4. 11
      contrib/android_binary_pack/build-archive

0
android_binary_only/.gitignore → contrib/android_binary_only/.gitignore vendored

0
android_binary_only/jni/Android.mk → contrib/android_binary_only/jni/Android.mk

2
android_binary_only/jni/Application.mk → contrib/android_binary_only/jni/Application.mk

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

11
contrib/android_binary_pack/build-archive

@ -20,7 +20,7 @@ if [ -d archive ]; then @@ -20,7 +20,7 @@ if [ -d archive ]; then
rm -r archive
fi
if [ -f i2pd_*_android_binary.zip ]; then
if [ -f ../i2pd_*_android_binary.zip ]; then
rm i2pd_*_android_binary.zip
fi
@ -28,13 +28,16 @@ fi @@ -28,13 +28,16 @@ fi
mkdir archive
for ABI in "${!ABILIST[@]}"; do
if [ -f ../../android_binary_only/libs/${ABI}/i2pd ]; then
cp ../../android_binary_only/libs/${ABI}/i2pd archive/i2pd-${ABILIST[$ABI]}
if [ -f ../android_binary_only/libs/${ABI}/i2pd ]; then
cp ../android_binary_only/libs/${ABI}/i2pd archive/i2pd-${ABILIST[$ABI]}
fi
done
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
cd archive

Loading…
Cancel
Save