Commit Graph

16 Commits

Author SHA1 Message Date
Oliver Behnke 802225c7e4 Raised minimum Android requirement to KitKat 4.4.4 (API level 19)
* Relevant for 32 bit builds only
* Provides sys/statvfs.h
* Provides sys/swap.h (no more patch required)
2018-09-04 12:40:09 +00:00
Oliver Behnke 55f8736836 Ensure Android NDK r18 compatibility
* Use Clang instead of GCC (deprecated)
* Raised/added minimum Android API version (16)
* Use (static) libc++ by default/explicitly (gnustl and stlport are deprecated)
* Add verbose flag to toolchain builder where missing
2018-08-31 13:00:58 +00:00
Oliver Behnke d655906380 Match Android API requirement with BOINC app counterpart for consistency 2018-08-31 09:49:08 +00:00
Oliver Behnke f2f8bd7110 Update OpenSSL build scripts
* Raise default version to current one
* Specify minimum Android API version explicitly, based on platform (or existing version)
2018-08-30 08:55:56 +00:00
Alexander Schlarb 4f704e9df1 Android: Improve quality of build scripts
* Make build scripts fully whitespace safe to the extend premitted by autotools
 * Let all build scripts fail fast on error, previously they would continue and then fail with spurious follow-up errors burrowing the actual issue
 * Ensure that all build scripts start with a valid shebang (`#!`)
 * Fix jumbled letters in `android/build_build_app_x86.sh`
2018-03-27 21:51:06 +02:00
Alexander Schlarb 3ee7631354 Android: update order of binary search path in build scripts
* `PATH` environment was: `export PATH="$PATH:$TCBINARIES:$TCINCLUDES/bin"`
 * If system `libcurl-dev` (Debian) is installed its `curl-config` script will be first in `PATH`
 * `./configure` will choose the system `curl-config` and fail to compile
2018-03-23 18:10:01 +01:00
Oliver Bock 115db9e889 [android] Fixed/improved Android build scripts
* Removed hard-coded paths and dependency versions
* Default values can now be overridden via environment variables:
  * NDK_ROOT (recommended)
  * ANDROID_TC[_<arch>] (optional: toolchain folders)
  * CURL_SRC (recommended)
  * OPENSSL_SRC (recommended)
* Fixed cURL mips64 build
* Moved toolchains into common parent directory
* Made asset directory creation idempotent
2017-03-29 09:08:02 +00:00
Rom Walton 6fa5ca6b2e Android: Add support for mips64 (in theory) 2016-06-24 20:29:16 -07:00
Rom Walton 2327d90dea Android: Update build scripts to support OpenSSL 1.0.2g and libCurl 7.48.0 2016-04-15 13:34:33 -04:00
Rom Walton b5012e7c9f ANDROID: Use latest OpenSSL and libcurl 2014-12-17 15:25:40 -05:00
Rom Walton 932d67ea2e android: Set the minSdkVersion to 16 (Android 4.1) and add the position-independent-executable flags for native code build scripts. 2014-11-19 19:34:54 -05:00
Rom Walton a4f9dde8dd ANDROID: Use latest OpenSSL and libcurl 2014-06-16 17:24:58 -04:00
Rom Walton 7179b0e27b android: Use different toolchain directories. OpenSSL appears to be sensitive and will not successfully compile if built for a different CPU architecture first. (temp file?) 2013-10-22 13:59:26 -04:00
Rom Walton d1cd5d3f8e android: more tweaks for the various CPU Architectures 2013-10-22 13:00:50 -04:00
Rom Walton bfe8ee6921 android: Attempt to fix OpenSSL compile problem on x86/mips 2013-10-22 12:02:04 -04:00
Rom Walton efc25bbd78 android: Add cross-compile scripts for the x86 and MIPS CPU architectures 2013-10-22 11:19:42 -04:00