summaryrefslogtreecommitdiffstats
path: root/Configurations/15-android.conf (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Android config targets: don't include the SO version in the shlib file nameRichard Levitte2021-03-301-0/+1
| | | | | | | | | | | | Reports say that the Android platform(s) don't have the SO version number in the shared library file name. Reportedly, Android package managers do complain that our shared libraries do include the SO version number. That's easy enough to fix. Fixes #14711 Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/14727)
* Support for Android NDK r22-beta1Fred Hornsey2020-11-231-31/+51
| | | | | | | | | | | | | | | | | I think builds using standalone toolchain are fine so I left them alone, but `Configure` will fail if using the NDK directly because the `platforms` and `sysroot` directories were removed. If `sysroot` is missing, omit the `--sysroot` and `-gcc-toolchain` arguments and use the triplet form clang command. Also since `platforms` was being used for the default API level, use `meta/platforms.json` instead if needed. Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Paul Dale <paul.dale@oracle.com> Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/13434)
* Rename NOTES*, README*, VERSION, HACKING, LICENSE to .md or .txtDr. David von Oheimb2020-07-051-1/+1
| | | | | Reviewed-by: Tim Hudson <tjh@openssl.org> (Merged from https://github.com/openssl/openssl/pull/12109)
* Configurations: Fix "android" configuration targetRichard Levitte2020-03-141-1/+2
| | | | | | | | | | This target gave '-pie' as a C flag when it should be a linker flag. Additionally, we add '-fPIE' as C flag for binaries. Fixes #11237 Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/11238)
* Andoid cross compile: change ANDROID_NDK_HOME to ANDROID_NDK_ROOTRichard Levitte2020-03-141-3/+3
| | | | | | | | | | According to forum discussions with NDK developers, ANDROID_NDK_HOME is used for something else. Fixes #11205 Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/11206)
* Fix misspelling errors and typos reported by codespellDr. Matthias St. Pierre2020-02-061-1/+1
| | | | | | | Fixes #10998 Reviewed-by: Shane Lontis <shane.lontis@oracle.com> (Merged from https://github.com/openssl/openssl/pull/11000)
* Configure: final cleanup of asm related thingsRichard Levitte2019-06-171-6/+6
| | | | | | | | | | Remove the *_asm templates in Configurations/00-base-templates.conf, all attempts to inherit them, and the asm() perl function. [extended tests] Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/9166)
* Configure: add mechanism to specify asm target architectureRichard Levitte2019-06-171-0/+7
| | | | | | | | | As preparation for moving asm file specs to build.info files, we must make sure there is still some base information to help select the correct files. Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/9166)
* Android build: fix usage of NDK home variable ($ndk_var)batist732019-02-041-1/+2
| | | | | | | | CLA: trivial Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/8153)
* Android build: use ANDROID_NDK_HOME rather than ANDROID_NDKRichard Levitte2019-01-291-7/+12
| | | | | | | | | | | | It apepars that ANDROID_NDK_HOME is the recommended standard environment variable for the NDK. We retain ANDROID_NDK as a fallback. Fixes #8101 Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/8103)
* Configurations/15-android.conf: detect NDK llvm-ar.Andy Polyakov2018-10-311-0/+5
| | | | | | | | | This excluses user from additional PATH adjustments in case NDK has llvm-ar. Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/7443)
* Configurations/15-android.conf: fix implicit __ANDROID_API__ handling.Andy Polyakov2018-10-311-0/+2
| | | | | | | | | 03ad7c009e16a233c733098db3169c560142ccd3 failed if one didn't pass explicit -D__ANDROID_API__=N :-( Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/7443)
* Configurations/15-android.conf: add support for "standalone toolchain".Andy Polyakov2018-10-191-10/+31
| | | | | Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/7400)
* Configuration/15-android.conf: slightly move NDK canonisationRichard Levitte2018-08-121-1/+1
| | | | | | | | This allows the original path to be displayed when it's shown to be invalid, so the user can relate without question. Reviewed-by: Andy Polyakov <appro@openssl.org> (Merged from https://github.com/openssl/openssl/pull/6925)
* Configurations/15-android.conf: Make sure that the NDK path is canonicalRichard Levitte2018-08-121-0/+3
| | | | | | | | | | | | | | Extra slashes in paths are permissible in Unix-like platforms... however, when compared with the result from 'which', which returns canonical paths, the comparison might fail even though the compared paths may be equivalent. We make the NDK path canonical internally to ensure the equivalence compares as equal, at least for the most trivial cases. Fixes #6917 Reviewed-by: Tim Hudson <tjh@openssl.org> (Merged from https://github.com/openssl/openssl/pull/6924)
* Configure: move --noexecstack probe to Configure.Andy Polyakov2018-05-051-1/+1
| | | | | | | | config probe doesn't work in cross-compile scenarios or with clang. In addition consolidate -Qunused-arguments handling. Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/6174)
* Don't build AFALG on androidMatt Caswell2018-04-241-0/+1
| | | | | | | | | | | | This didn't get built anyway for gcc because it was detected as a cross compile. But it did get built for clang - even though this is still a cross compile build. This disables it in all cases for Android. Fixes #5748 Reviewed-by: Rich Salz <rsalz@openssl.org> Reviewed-by: Paul Dale <paul.dale@oracle.com> (Merged from https://github.com/openssl/openssl/pull/6057)
* Configure: make LIST command work with dynamic 15-android.conf.Andy Polyakov2018-03-271-0/+4
| | | | | | | | This is quick-n-dirty ad-hoc solution, the problem asks for more elegant one... Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/5755)
* Configurations/15-android.conf: detect clang by PATH, not by CC.Andy Polyakov2018-03-191-9/+26
| | | | | | | | | | | | | Since they intend to omit gcc, it's more appropriate to simply detect if there is NDK's clang on PATH, as opposite to requiring to specify it with CC=clang (and looking for it on PATH). Also detect NDK version and default to armv7-a for NDK>16. Address failure to recognize -D__ADNDROID_API__=N in CPPFLAGS. Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/5613)
* Add NOTES.ANDROID.Andy Polyakov2018-03-191-26/+7
| | | | | Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/5613)
* Configurations/15-android.conf: default to RC4_CHAR whenever possible.Andy Polyakov2018-03-191-0/+4
| | | | | Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/5613)
* Configurations/15-android.conf: refine clang support.Andy Polyakov2018-03-191-3/+6
| | | | | | | | Adjusting ARM default broke clang support, and x86[_64] needed path adjustment. Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/5613)
* Configurations/*.conf: overhaul Android targets.Andy Polyakov2018-03-131-0/+214
Move Android targets to separate file, automate sysroot setup and add support for NDK 16. Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/5589)