1
mirror of https://github.com/jedisct1/libsodium.git synced 2024-12-20 02:25:14 -07:00
Commit Graph

47 Commits

Author SHA1 Message Date
Frank Denis
101610670a Remove empty line 2024-09-18 12:40:45 +02:00
Frank Denis
5466030cce egrep -> grep -E 2023-11-23 13:34:36 +01:00
ReenigneCA
68baef3f03
Added script to generate all android versions and script to create AAR (#1155)
* Added script to generate all android versions and script to create AAR with prefab

* disable-pie so x86 static lib works. Update AAR to fix bug related to soname field in .so files themselves. Integrate android-all.sh into android-aar.sh

* Missed updated android-build.sh in last commit. This adds --disable-pie to the configure flags

* Added message after android-aar compilation explaining aar usage
2022-02-05 20:38:12 +01:00
Frank Denis
75175f8ec6 android-build: use -z 2021-12-28 22:41:31 +01:00
Frank Denis
c72dce4075 androit-build: add extra quotes 2021-12-28 22:39:25 +01:00
Frank Denis
6274dd3598 The Android NDK cannot target API level 16 any more; bump to 19 2021-12-28 22:37:53 +01:00
Frank Denis
003ad0f1c9 Don't use legacy quotes 2021-12-28 22:15:08 +01:00
ReenigneCA
c3d0f1b666
update android build scripts to support latest ndk version and prebuilt toolchains (#1138)
* Update android-armv7-a.sh

update HOST_COMPILER variable to be compatible with updated android-build.sh that supports latest ndk and use of prebuilt toolchains.

* Update android-build.sh

update to allow use of prebuilt toolchains in latest ndk. The latest ndk does not support arm prior to armv7a and the HOST_COMPILER for armv7a must now be armv7a not just arm.

* Delete android-arm.sh

arm prior to armv7a is no longer supported by android ndk.

* Update android-build.sh

removing unneeded MAKE_TOOLCHAIN variable

* Update Makefile.am

removing obsolete android targets

* Delete android-mips32.sh

* Delete android-mips64.sh
2021-12-28 22:12:52 +01:00
Frank Denis
9340fbebe7 Format 2020-07-04 15:32:13 +02:00
Greg Hazel
c6506e6441
android-build.sh: exit with return code 1 if the NDK is not present 2020-06-06 09:36:57 +02:00
Frank Denis
927dfe8e2e Add a warning about headers in Android builds 2019-04-19 00:54:59 +02:00
Frank Denis
7d4976a304 Check NPROCESSORS_ONLN in addition to _NPROCESSORS_ONLN 2018-03-07 10:14:01 +01:00
Frank Denis
816cef5de4 Hide getconf errors 2018-03-07 10:09:56 +01:00
joshjdevl
212187f87c using POSIX getconf for number of available processors http://pubs.opengroup.org/onlinepubs/9699919799/utilities/getconf.html 2018-03-07 07:15:01 +00:00
Daniel Persson
c7f0f05209 I turned it around. 2018-03-06 21:20:17 +01:00
Daniel Persson
9d582340c4 Change so we set depending on a full build flag. 2018-03-06 21:10:05 +01:00
Daniel Persson
2f4d911300 Change so all builds will allow full builds. 2018-03-06 20:36:39 +01:00
Daniel Persson
a0cbef0a4a Added configuration option to change the configuration flags. 2018-03-06 20:27:47 +01:00
Frank Denis
01e2aabbfd Android: remove --unified-headers
Fixes #635
2017-11-22 14:53:52 +01:00
Frank Denis
51e6a59b8d Android: use PLATFORM 16 by default, don't bother with compat for API 21 2017-05-20 19:16:05 +02:00
Frank Denis
eaf19f25d0 Use clang to compile for Android. Except on mips64, where we have to stick to gcc. 2017-03-06 16:53:08 +01:00
Frank Denis
14f6c26ef6 Python3's fine for make_standalone_toolchain.py after all 2017-03-06 13:33:25 +01:00
Frank Denis
8caab6db57 Simplify the python2 detection code 2017-03-06 10:54:00 +01:00
Frank Denis
4f2881a528 make_standalone_toolchain.py requires Python2, sigh 2017-03-06 10:08:01 +01:00
Frank Denis
3e56ce235d Revert "+x"
This reverts commit 8465469167.
2017-03-06 10:06:24 +01:00
Frank Denis
8465469167 +x 2017-03-06 09:25:40 +01:00
Frank Denis
79fe40cfe8 Android: use unified headers 2017-03-06 08:24:29 +01:00
Frank Denis
5aaff1ce2a Remove unexpected tabs 2016-12-17 18:52:52 +01:00
Frank Denis
1ede5cc0bc $MAKE_TOOLCHAIN --force 2016-10-10 14:43:57 +02:00
Frank Denis
fcf96569d2 CRLF 2016-06-05 22:04:10 +02:00
Frank Denis
f8cc885b6f Android: compile for platform 24, check compat with 16 or 21 (64 bit) 2016-06-05 22:00:56 +02:00
Frank Denis
2ec482a3d9 Sadly compile for platform version 16 (Android 4.1) 2015-08-11 07:58:50 +02:00
Frank Denis
fb2a76f37b Add braces for consistency 2015-08-05 20:00:15 +02:00
Frank Denis
7bce6d82f0 Reindent Android build script 2015-08-05 19:46:36 +02:00
Frank Denis
adf636f5db Android: Use app platform 21 2015-03-10 15:08:44 +01:00
Frank Denis
4723c3d37d Remove useless comment 2015-02-08 17:07:26 +01:00
Frank Denis
b15819fa60 Spacing 2015-02-08 17:04:15 +01:00
Frank Denis
aeb26be748 Android: Use app platform 18 2015-02-08 11:30:03 +01:00
Frank Denis
0022a42f5a Don't build arm and armv7 android targets in the same directory 2015-02-08 10:34:39 +01:00
Frank Denis
046df856fa Revert "Disable PIE on Android"
This reverts commit cdf863c731.
2015-02-08 10:26:11 +01:00
Frank Denis
cdf863c731 Disable PIE on Android 2015-01-31 12:31:08 +01:00
Martin Hamrle
17247f7c99 Use bash for NDK make toolchain 2015-01-15 18:34:27 +01:00
Frank Denis
729a54f4a2 Use --enable-minimal in the Android and iOS builds 2014-08-13 23:32:26 -07:00
Frank Denis
f2f126fdfd Remove empty lines 2014-05-01 10:54:00 -07:00
Frank Denis
9b82685f14 Remove bashism 2014-03-04 09:20:53 -08:00
Simon Levermann
c62bbd0b6f Update android build script
Use the --disable-soname-versions option for android
2014-02-20 17:56:54 +01:00
Sergey Shatunov
16a7691ead Build scripts for android arm/x86/mips 2014-02-17 17:31:35 +08:00