mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-11-16 17:27:37 +00:00
f6670c0236
* Added CoinsInfo to monero_api_cpp * Add struct on dart * Add struct on dart * Set coins value * CW-415 Use add-coin-to-monero branch * CW-415 Add get Coin and build Monero Deps using Docker * CW-415 Fix Typo * CW-415 add debug log info * CW-415 Add preferred key Images for coin control to Monero * CW-415 Fix generation * CW-415 Skip GA Cache Externals * CW-415 Skip GA Cache Externals * CW-415 Coin Control: remove Block Explorer for Monero, Add Tx hash, save note on field exit * CW-415 Coin Control: Throw Exception when all outputs are deselected * CW-415 Coin Control: Show Frozen Balance on Dashboard * CW-415 Coin Control: Show Frozen Balance on Dashboard * CW-415 Ignore cached Monero deps in Workflow * CW-415 Fix displaying frozen Balance * Use own Translator with http 1.1.0 * CW-415 Resolve requested Changes * CW-415 Resolve requested Changes * CW-415 Resolve requested Changes * CW-415 Apply requested Changes * CW-415 Apply requested Changes * CW-415 Ensure opening of UnspentCoinsInfo Box, even for Monero.com --------- Co-authored-by: Konstantin Ullrich <konstantinullrich12@gmail.com>
45 lines
1 KiB
Bash
45 lines
1 KiB
Bash
#!/bin/bash
|
|
|
|
WORKDIR=/opt/android
|
|
CW_DIR=${WORKDIR}/cake_wallet
|
|
CW_EXRTERNAL_DIR=${CW_DIR}/cw_shared_external/ios/External/android
|
|
CW_HAVEN_EXTERNAL_DIR=${CW_DIR}/cw_haven/ios/External/android
|
|
CW_MONERO_EXTERNAL_DIR=${CW_DIR}/cw_monero/ios/External/android
|
|
for arch in "aarch" "aarch64" "i686" "x86_64"
|
|
do
|
|
|
|
PREFIX=${WORKDIR}/prefix_${arch}
|
|
ABI=""
|
|
|
|
case $arch in
|
|
"aarch" )
|
|
ABI="armeabi-v7a";;
|
|
"aarch64" )
|
|
ABI="arm64-v8a";;
|
|
"i686" )
|
|
ABI="x86";;
|
|
"x86_64" )
|
|
ABI="x86_64";;
|
|
esac
|
|
|
|
LIB_DIR=${CW_EXRTERNAL_DIR}/${ABI}/lib
|
|
INCLUDE_DIR=${CW_EXRTERNAL_DIR}/${ABI}/include
|
|
LIBANBOUND_PATH=${PREFIX}/lib/libunbound.a
|
|
|
|
mkdir -p $LIB_DIR
|
|
mkdir -p $INCLUDE_DIR
|
|
|
|
cp -r ${PREFIX}/lib/* $LIB_DIR
|
|
cp -r ${PREFIX}/include/* $INCLUDE_DIR
|
|
|
|
if [ -f "$LIBANBOUND_PATH" ]; then
|
|
cp $LIBANBOUND_PATH ${LIB_DIR}/monero
|
|
fi
|
|
|
|
done
|
|
|
|
mkdir -p ${CW_HAVEN_EXTERNAL_DIR}/include
|
|
mkdir -p ${CW_MONERO_EXTERNAL_DIR}/include
|
|
|
|
cp $CW_EXRTERNAL_DIR/x86/include/monero/wallet2_api.h ${CW_MONERO_EXTERNAL_DIR}/include
|
|
cp $CW_EXRTERNAL_DIR/x86/include/haven/wallet2_api.h ${CW_HAVEN_EXTERNAL_DIR}/include
|