Compare commits
No commits in common. 'master' and 'v2.5.0.4' have entirely different histories.
@ -0,0 +1 @@
|
||||
boost
|
@ -0,0 +1,4 @@
|
||||
# Ignore everything in this directory
|
||||
*
|
||||
# Except this file
|
||||
!.gitignore
|
@ -0,0 +1,4 @@
|
||||
# Ignore everything in this directory
|
||||
*
|
||||
# Except this file
|
||||
!.gitignore
|
@ -0,0 +1,4 @@
|
||||
# Ignore everything in this directory
|
||||
*
|
||||
# Except this file
|
||||
!.gitignore
|
@ -0,0 +1,4 @@
|
||||
# Ignore everything in this directory
|
||||
*
|
||||
# Except this file
|
||||
!.gitignore
|
@ -0,0 +1,46 @@
|
||||
#!/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
|
||||
|
@ -0,0 +1,4 @@
|
||||
# Ignore everything in this directory
|
||||
*
|
||||
# Except this file
|
||||
!.gitignore
|
@ -0,0 +1,4 @@
|
||||
# Ignore everything in this directory
|
||||
*
|
||||
# Except this file
|
||||
!.gitignore
|
@ -0,0 +1,4 @@
|
||||
# Ignore everything in this directory
|
||||
*
|
||||
# Except this file
|
||||
!.gitignore
|
@ -0,0 +1,4 @@
|
||||
# Ignore everything in this directory
|
||||
*
|
||||
# Except this file
|
||||
!.gitignore
|
@ -0,0 +1,4 @@
|
||||
# Ignore everything in this directory
|
||||
*
|
||||
# Except this file
|
||||
!.gitignore
|
@ -0,0 +1,4 @@
|
||||
# Ignore everything in this directory
|
||||
*
|
||||
# Except this file
|
||||
!.gitignore
|
@ -0,0 +1,4 @@
|
||||
# Ignore everything in this directory
|
||||
*
|
||||
# Except this file
|
||||
!.gitignore
|
@ -0,0 +1,4 @@
|
||||
# Ignore everything in this directory
|
||||
*
|
||||
# Except this file
|
||||
!.gitignore
|
@ -1,6 +1,6 @@
|
||||
#Sun May 19 08:39:37 UTC 2019
|
||||
#Thu Oct 04 07:20:02 UTC 2018
|
||||
distributionBase=GRADLE_USER_HOME
|
||||
distributionPath=wrapper/dists
|
||||
zipStoreBase=GRADLE_USER_HOME
|
||||
zipStorePath=wrapper/dists
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-5.1.1-all.zip
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-4.6-all.zip
|
||||
|
Reference in new issue