Commit Graph

19 Commits

Author SHA1 Message Date
Vitalii Koshura f801a63f18
[Android] [TravisCI] Fix silent mode
Rewrite Silent Mode usage during build in a more easy way

Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
2019-01-03 09:51:20 +02:00
Vitalii Koshura 1d8aa65374
[Android] [TravisCI] Add Full Android build
- Fix existing configuration of openssl and curl flag files for different Android configurations
- Make openssl and curl build more silent

This fixes #2927

Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
2018-12-27 02:47:10 +02:00
Oliver Behnke fdf326a5af Workaround for missing truncate() libc function
* Relevant for 32 bit builds only
* Would otherwise only be available as of API level 21
* See also: https://android.googlesource.com/platform/bionic/+/master/docs/status.md
* See also: https://android.googlesource.com/platform/bionic/+/master/docs/32-bit-abi.md
2018-09-04 12:43:04 +00:00
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 e62ffd3fc5 Fix libstdc++ path for armv7-a architecture 2018-09-04 11:39:58 +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 8d3b85d2b5 Harden build scripts against spurious errors 2018-08-30 08:09:30 +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
David Anderson 011efadb28 Merge pull request #1830 from brevilo/fix-android-arm-build
[#1702][android]: remove explicit FPU flags
2017-04-04 01:16:59 -07: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
Oliver Bock c9ff35d5a2 [#1702][android]: remove explicit FPU flags
* Those explicit FPU flags prevent NEON builds
* The whetstone benchmarks (VFP and NEON) are correctly built without those
2017-03-29 08:42:25 +00:00
Marco Nilsson 66f0508747 Adapt BOINC build scripts to the moved Android assets folder. 2016-11-08 09:04:28 +01:00
Rom Walton 19223fd868 Android: Apply fix for some cortex-a8 processors and explicitly declare parameters required for armeabi-v7a.
See: https://developer.android.com/ndk/guides/standalone_toolchain.html
2016-06-24 19:54:08 -07:00
Rom Walton 6526afac16 Android: Make sure things really get cleaned up between platform changes. 2016-06-19 20:40:24 -07: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 94d5ab4adf android: Fix references to ca-bundle.crt 2013-10-22 14:50:55 -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 efc25bbd78 android: Add cross-compile scripts for the x86 and MIPS CPU architectures 2013-10-22 11:19:42 -04:00