Compare commits
15 Commits
Author | SHA1 | Date |
---|---|---|
wowario | b1fd04fe2d | 4 years ago |
fuwa | c799ae3a55 | 5 years ago |
fuwa | e1fcb2c419 | 5 years ago |
fuwa | b8d6504826 | 5 years ago |
fuwa | f2268c507e | 5 years ago |
fuwa | 8e67f224dd | 5 years ago |
fuwa | 7e09221226 | 5 years ago |
fuwa | 1e4e7c2664 | 5 years ago |
fuwa | 97cd73cc51 | 5 years ago |
fuwa | 1c3e9e5744 | 5 years ago |
fuwa | 5b36d0bff5 | 5 years ago |
fuwa | 4979054fc6 | 5 years ago |
fuwa | 772f24de3f | 5 years ago |
fuwa | ceeb3d9d00 | 5 years ago |
fuwa | 4ee16147ae | 5 years ago |
@ -1 +0,0 @@
|
||||
boost
|
@ -1,4 +0,0 @@
|
||||
# Ignore everything in this directory
|
||||
*
|
||||
# Except this file
|
||||
!.gitignore
|
@ -1,4 +0,0 @@
|
||||
# Ignore everything in this directory
|
||||
*
|
||||
# Except this file
|
||||
!.gitignore
|
@ -1,4 +0,0 @@
|
||||
# Ignore everything in this directory
|
||||
*
|
||||
# Except this file
|
||||
!.gitignore
|
@ -1,4 +0,0 @@
|
||||
# Ignore everything in this directory
|
||||
*
|
||||
# Except this file
|
||||
!.gitignore
|
@ -1,46 +0,0 @@
|
||||
#!/bin/bash
|
||||
#
|
||||
# -D BOOST_ROOT=/opt/android/boost_1_58_0
|
||||
|
||||
set -e
|
||||
|
||||
orig_path=$PATH
|
||||
build_root=$EXTERNAL_LIBS_BUILD_ROOT
|
||||
|
||||
packages=(boost openssl monero libsodium)
|
||||
archs=(arm arm64 x86_64)
|
||||
|
||||
for arch in ${archs[@]}; do
|
||||
case ${arch} in
|
||||
"arm")
|
||||
xarch="armeabi-v7a"
|
||||
;;
|
||||
"arm64")
|
||||
xarch="arm64-v8a"
|
||||
;;
|
||||
"x86")
|
||||
xarch="x86"
|
||||
;;
|
||||
"x86_64")
|
||||
xarch="x86_64"
|
||||
;;
|
||||
*)
|
||||
exit 16
|
||||
;;
|
||||
esac
|
||||
|
||||
for package in ${packages[@]}; do
|
||||
OUTPUT_DIR=`pwd`/$package/lib/$xarch
|
||||
mkdir -p $OUTPUT_DIR
|
||||
rm -f $OUTPUT_DIR/*.a
|
||||
cp -a $build_root/build/$package/$arch/lib/*.a $OUTPUT_DIR
|
||||
|
||||
if [ $package = "monero" -a -d "$build_root/build/$package/include" ]; then
|
||||
rm -rf $OUTPUT_DIR/../../include
|
||||
cp -a $build_root/build/$package/include $OUTPUT_DIR/../..
|
||||
fi
|
||||
|
||||
done
|
||||
done
|
||||
exit 0
|
||||
|
@ -1,4 +0,0 @@
|
||||
# Ignore everything in this directory
|
||||
*
|
||||
# Except this file
|
||||
!.gitignore
|
@ -1,4 +0,0 @@
|
||||
# Ignore everything in this directory
|
||||
*
|
||||
# Except this file
|
||||
!.gitignore
|
@ -1,4 +0,0 @@
|
||||
# Ignore everything in this directory
|
||||
*
|
||||
# Except this file
|
||||
!.gitignore
|
@ -1,4 +0,0 @@
|
||||
# Ignore everything in this directory
|
||||
*
|
||||
# Except this file
|
||||
!.gitignore
|
@ -1,4 +0,0 @@
|
||||
# Ignore everything in this directory
|
||||
*
|
||||
# Except this file
|
||||
!.gitignore
|
@ -1,4 +0,0 @@
|
||||
# Ignore everything in this directory
|
||||
*
|
||||
# Except this file
|
||||
!.gitignore
|
@ -1,4 +0,0 @@
|
||||
# Ignore everything in this directory
|
||||
*
|
||||
# Except this file
|
||||
!.gitignore
|
@ -1,4 +0,0 @@
|
||||
# Ignore everything in this directory
|
||||
*
|
||||
# Except this file
|
||||
!.gitignore
|
Reference in new issue