Commit Graph

38 Commits

Author SHA1 Message Date
Tal Regev cbd38d4c93
Test android openssl fix 2022-05-21 01:18:00 +03:00
Tal Regev 6d69bbcf32
Arrange scripts using --eable-apps-vcpkg 2021-08-16 12:33:35 +03:00
Tal Regev 8f4e9b8dab Clean android scripts:
Remove '/' from the end of linux-x86_64/
Remove override flags from openssl
Remove override flags from client and libs of armv6
2021-05-19 15:33:12 +03:00
Tal Regev ebef837a47 Compile armv6 with vcpkg
Remove PKG_CONFIG_SYSROOT_DIR
Change android.cmake to be the same as Microsoft vcpkg
2021-05-17 08:26:36 +03:00
Vitalii Koshura 786696199b
Merge pull request #4338 from talregev/TalR_test_disable_static_linkage
[Android][Linux][vcpkg][scripts] Switch to pkg-config for vcpkg
2021-05-14 20:40:28 +02:00
Tal Regev 69d570b9d4 Switch to pkg-config for vcpkg. 2021-05-14 09:06:29 +03:00
Tal Regev 6cc728b973 Add green color in messages done in android compilation 2021-04-28 12:25:35 +03:00
Tal Regev e01073d585 Compile android with vcpkg (rappture, curl and openssl) 2021-04-10 01:41:57 +03:00
Tal Regev 0d6ffae700 parallel make in Android 2021-03-30 16:34:07 +03:00
talregev 2294655d0b Upgrade android script for android r-ndk21d. Remove toolchain. depricated in ndk21. 2020-07-03 08:05:51 +03:00
talregev 01c5a5cca4 Add android 4.1 api 16 support in cpp compilation. 2020-06-12 22:32:00 +03:00
Vitalii Koshura c84bf6ead0 [Android] Add verbose flag to android build scripts
Co-authored-by: talregev <tal.regev@gmail.com>

Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
2020-06-12 03:04:48 +03:00
talregev 95a2505704 Add if "$VERBOSE" not set, treat it as false. 2020-06-12 03:04:48 +03:00
talregev 08a46dd62f Add redirect to support short log in travis. 2020-06-12 03:04:47 +03:00
talregev 01192590c9 Add flag verbose for makefile. 2020-06-12 03:04:45 +03:00
Vitalii Koshura 4afb3086f8
Merge pull request #3821 from talregev/TalR_Remove_neon_optimization_from_arm
[Android] Remove neon optimization from arm.
2020-06-12 02:00:27 +02:00
talregev 3c872fd7e7 Remove neon optimization from arm, to support old devices (android 4.4 Kitkat, api 19) 2020-06-09 14:35:59 +03:00
talregev d805ed8224 Print absolute path in title of the script. 2020-06-09 06:08:35 +03:00
Vitalii Koshura 83771db9bf [Android] Remove boinccmd binary from apk
Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
2020-02-18 08:43:58 +01:00
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