Got the APK sizes down again.

git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4550 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
Cory McWilliams 2023-10-19 20:21:17 +00:00
parent 8a70b8ea3e
commit ee510f3f3f
13 changed files with 223 additions and 22 deletions

View File

@ -13,7 +13,6 @@
# define OSSL_CRYPTO_DSO_CONF_H # define OSSL_CRYPTO_DSO_CONF_H
# pragma once # pragma once
# define DSO_DLFCN # define DSO_NONE
# define HAVE_DLFCN_H
# define DSO_EXTENSION ".so" # define DSO_EXTENSION ".so"
#endif #endif

View File

@ -40,6 +40,18 @@ extern "C" {
# ifndef OPENSSL_NO_ASAN # ifndef OPENSSL_NO_ASAN
# define OPENSSL_NO_ASAN # define OPENSSL_NO_ASAN
# endif # endif
# ifndef OPENSSL_NO_ASM
# define OPENSSL_NO_ASM
# endif
# ifndef OPENSSL_NO_ASYNC
# define OPENSSL_NO_ASYNC
# endif
# ifndef OPENSSL_NO_CAPIENG
# define OPENSSL_NO_CAPIENG
# endif
# ifndef OPENSSL_NO_COMP
# define OPENSSL_NO_COMP
# endif
# ifndef OPENSSL_NO_CRYPTO_MDEBUG # ifndef OPENSSL_NO_CRYPTO_MDEBUG
# define OPENSSL_NO_CRYPTO_MDEBUG # define OPENSSL_NO_CRYPTO_MDEBUG
# endif # endif
@ -49,15 +61,36 @@ extern "C" {
# ifndef OPENSSL_NO_DEVCRYPTOENG # ifndef OPENSSL_NO_DEVCRYPTOENG
# define OPENSSL_NO_DEVCRYPTOENG # define OPENSSL_NO_DEVCRYPTOENG
# endif # endif
# ifndef OPENSSL_NO_DGRAM
# define OPENSSL_NO_DGRAM
# endif
# ifndef OPENSSL_NO_DSO
# define OPENSSL_NO_DSO
# endif
# ifndef OPENSSL_NO_DTLS
# define OPENSSL_NO_DTLS
# endif
# ifndef OPENSSL_NO_DTLS1
# define OPENSSL_NO_DTLS1
# endif
# ifndef OPENSSL_NO_DTLS1_2
# define OPENSSL_NO_DTLS1_2
# endif
# ifndef OPENSSL_NO_EC_NISTP_64_GCC_128 # ifndef OPENSSL_NO_EC_NISTP_64_GCC_128
# define OPENSSL_NO_EC_NISTP_64_GCC_128 # define OPENSSL_NO_EC_NISTP_64_GCC_128
# endif # endif
# ifndef OPENSSL_NO_EGD # ifndef OPENSSL_NO_EGD
# define OPENSSL_NO_EGD # define OPENSSL_NO_EGD
# endif # endif
# ifndef OPENSSL_NO_ENGINE
# define OPENSSL_NO_ENGINE
# endif
# ifndef OPENSSL_NO_EXTERNAL_TESTS # ifndef OPENSSL_NO_EXTERNAL_TESTS
# define OPENSSL_NO_EXTERNAL_TESTS # define OPENSSL_NO_EXTERNAL_TESTS
# endif # endif
# ifndef OPENSSL_NO_FILENAMES
# define OPENSSL_NO_FILENAMES
# endif
# ifndef OPENSSL_NO_FIPS_SECURITYCHECKS # ifndef OPENSSL_NO_FIPS_SECURITYCHECKS
# define OPENSSL_NO_FIPS_SECURITYCHECKS # define OPENSSL_NO_FIPS_SECURITYCHECKS
# endif # endif
@ -67,6 +100,9 @@ extern "C" {
# ifndef OPENSSL_NO_FUZZ_LIBFUZZER # ifndef OPENSSL_NO_FUZZ_LIBFUZZER
# define OPENSSL_NO_FUZZ_LIBFUZZER # define OPENSSL_NO_FUZZ_LIBFUZZER
# endif # endif
# ifndef OPENSSL_NO_IDEA
# define OPENSSL_NO_IDEA
# endif
# ifndef OPENSSL_NO_KTLS # ifndef OPENSSL_NO_KTLS
# define OPENSSL_NO_KTLS # define OPENSSL_NO_KTLS
# endif # endif
@ -76,15 +112,30 @@ extern "C" {
# ifndef OPENSSL_NO_MD2 # ifndef OPENSSL_NO_MD2
# define OPENSSL_NO_MD2 # define OPENSSL_NO_MD2
# endif # endif
# ifndef OPENSSL_NO_MD4
# define OPENSSL_NO_MD4
# endif
# ifndef OPENSSL_NO_MSAN # ifndef OPENSSL_NO_MSAN
# define OPENSSL_NO_MSAN # define OPENSSL_NO_MSAN
# endif # endif
# ifndef OPENSSL_NO_MULTIBLOCK
# define OPENSSL_NO_MULTIBLOCK
# endif
# ifndef OPENSSL_NO_PADLOCKENG
# define OPENSSL_NO_PADLOCKENG
# endif
# ifndef OPENSSL_NO_PSK
# define OPENSSL_NO_PSK
# endif
# ifndef OPENSSL_NO_RC5 # ifndef OPENSSL_NO_RC5
# define OPENSSL_NO_RC5 # define OPENSSL_NO_RC5
# endif # endif
# ifndef OPENSSL_NO_SCTP # ifndef OPENSSL_NO_SCTP
# define OPENSSL_NO_SCTP # define OPENSSL_NO_SCTP
# endif # endif
# ifndef OPENSSL_NO_SRP
# define OPENSSL_NO_SRP
# endif
# ifndef OPENSSL_NO_SSL3 # ifndef OPENSSL_NO_SSL3
# define OPENSSL_NO_SSL3 # define OPENSSL_NO_SSL3
# endif # endif

View File

@ -13,7 +13,6 @@
# define OSSL_CRYPTO_DSO_CONF_H # define OSSL_CRYPTO_DSO_CONF_H
# pragma once # pragma once
# define DSO_DLFCN # define DSO_NONE
# define HAVE_DLFCN_H
# define DSO_EXTENSION ".so" # define DSO_EXTENSION ".so"
#endif #endif

View File

@ -31,9 +31,6 @@ extern "C" {
# ifndef OPENSSL_RAND_SEED_OS # ifndef OPENSSL_RAND_SEED_OS
# define OPENSSL_RAND_SEED_OS # define OPENSSL_RAND_SEED_OS
# endif # endif
# ifndef OPENSSL_THREADS
# define OPENSSL_THREADS
# endif
# ifndef OPENSSL_NO_ACVP_TESTS # ifndef OPENSSL_NO_ACVP_TESTS
# define OPENSSL_NO_ACVP_TESTS # define OPENSSL_NO_ACVP_TESTS
# endif # endif
@ -43,6 +40,18 @@ extern "C" {
# ifndef OPENSSL_NO_ASAN # ifndef OPENSSL_NO_ASAN
# define OPENSSL_NO_ASAN # define OPENSSL_NO_ASAN
# endif # endif
# ifndef OPENSSL_NO_ASM
# define OPENSSL_NO_ASM
# endif
# ifndef OPENSSL_NO_ASYNC
# define OPENSSL_NO_ASYNC
# endif
# ifndef OPENSSL_NO_CAPIENG
# define OPENSSL_NO_CAPIENG
# endif
# ifndef OPENSSL_NO_COMP
# define OPENSSL_NO_COMP
# endif
# ifndef OPENSSL_NO_CRYPTO_MDEBUG # ifndef OPENSSL_NO_CRYPTO_MDEBUG
# define OPENSSL_NO_CRYPTO_MDEBUG # define OPENSSL_NO_CRYPTO_MDEBUG
# endif # endif
@ -52,15 +61,36 @@ extern "C" {
# ifndef OPENSSL_NO_DEVCRYPTOENG # ifndef OPENSSL_NO_DEVCRYPTOENG
# define OPENSSL_NO_DEVCRYPTOENG # define OPENSSL_NO_DEVCRYPTOENG
# endif # endif
# ifndef OPENSSL_NO_DGRAM
# define OPENSSL_NO_DGRAM
# endif
# ifndef OPENSSL_NO_DSO
# define OPENSSL_NO_DSO
# endif
# ifndef OPENSSL_NO_DTLS
# define OPENSSL_NO_DTLS
# endif
# ifndef OPENSSL_NO_DTLS1
# define OPENSSL_NO_DTLS1
# endif
# ifndef OPENSSL_NO_DTLS1_2
# define OPENSSL_NO_DTLS1_2
# endif
# ifndef OPENSSL_NO_EC_NISTP_64_GCC_128 # ifndef OPENSSL_NO_EC_NISTP_64_GCC_128
# define OPENSSL_NO_EC_NISTP_64_GCC_128 # define OPENSSL_NO_EC_NISTP_64_GCC_128
# endif # endif
# ifndef OPENSSL_NO_EGD # ifndef OPENSSL_NO_EGD
# define OPENSSL_NO_EGD # define OPENSSL_NO_EGD
# endif # endif
# ifndef OPENSSL_NO_ENGINE
# define OPENSSL_NO_ENGINE
# endif
# ifndef OPENSSL_NO_EXTERNAL_TESTS # ifndef OPENSSL_NO_EXTERNAL_TESTS
# define OPENSSL_NO_EXTERNAL_TESTS # define OPENSSL_NO_EXTERNAL_TESTS
# endif # endif
# ifndef OPENSSL_NO_FILENAMES
# define OPENSSL_NO_FILENAMES
# endif
# ifndef OPENSSL_NO_FIPS_SECURITYCHECKS # ifndef OPENSSL_NO_FIPS_SECURITYCHECKS
# define OPENSSL_NO_FIPS_SECURITYCHECKS # define OPENSSL_NO_FIPS_SECURITYCHECKS
# endif # endif
@ -70,21 +100,42 @@ extern "C" {
# ifndef OPENSSL_NO_FUZZ_LIBFUZZER # ifndef OPENSSL_NO_FUZZ_LIBFUZZER
# define OPENSSL_NO_FUZZ_LIBFUZZER # define OPENSSL_NO_FUZZ_LIBFUZZER
# endif # endif
# ifndef OPENSSL_NO_IDEA
# define OPENSSL_NO_IDEA
# endif
# ifndef OPENSSL_NO_KTLS # ifndef OPENSSL_NO_KTLS
# define OPENSSL_NO_KTLS # define OPENSSL_NO_KTLS
# endif # endif
# ifndef OPENSSL_NO_LOADERENG
# define OPENSSL_NO_LOADERENG
# endif
# ifndef OPENSSL_NO_MD2 # ifndef OPENSSL_NO_MD2
# define OPENSSL_NO_MD2 # define OPENSSL_NO_MD2
# endif # endif
# ifndef OPENSSL_NO_MD4
# define OPENSSL_NO_MD4
# endif
# ifndef OPENSSL_NO_MSAN # ifndef OPENSSL_NO_MSAN
# define OPENSSL_NO_MSAN # define OPENSSL_NO_MSAN
# endif # endif
# ifndef OPENSSL_NO_MULTIBLOCK
# define OPENSSL_NO_MULTIBLOCK
# endif
# ifndef OPENSSL_NO_PADLOCKENG
# define OPENSSL_NO_PADLOCKENG
# endif
# ifndef OPENSSL_NO_PSK
# define OPENSSL_NO_PSK
# endif
# ifndef OPENSSL_NO_RC5 # ifndef OPENSSL_NO_RC5
# define OPENSSL_NO_RC5 # define OPENSSL_NO_RC5
# endif # endif
# ifndef OPENSSL_NO_SCTP # ifndef OPENSSL_NO_SCTP
# define OPENSSL_NO_SCTP # define OPENSSL_NO_SCTP
# endif # endif
# ifndef OPENSSL_NO_SRP
# define OPENSSL_NO_SRP
# endif
# ifndef OPENSSL_NO_SSL3 # ifndef OPENSSL_NO_SSL3
# define OPENSSL_NO_SSL3 # define OPENSSL_NO_SSL3
# endif # endif
@ -109,8 +160,8 @@ extern "C" {
# ifndef OPENSSL_NO_WEAK_SSL_CIPHERS # ifndef OPENSSL_NO_WEAK_SSL_CIPHERS
# define OPENSSL_NO_WEAK_SSL_CIPHERS # define OPENSSL_NO_WEAK_SSL_CIPHERS
# endif # endif
# ifndef OPENSSL_NO_STATIC_ENGINE # ifndef OPENSSL_NO_DYNAMIC_ENGINE
# define OPENSSL_NO_STATIC_ENGINE # define OPENSSL_NO_DYNAMIC_ENGINE
# endif # endif

View File

@ -13,7 +13,6 @@
# define OSSL_CRYPTO_DSO_CONF_H # define OSSL_CRYPTO_DSO_CONF_H
# pragma once # pragma once
# define DSO_DLFCN # define DSO_NONE
# define HAVE_DLFCN_H
# define DSO_EXTENSION ".so" # define DSO_EXTENSION ".so"
#endif #endif

View File

@ -31,9 +31,6 @@ extern "C" {
# ifndef OPENSSL_RAND_SEED_OS # ifndef OPENSSL_RAND_SEED_OS
# define OPENSSL_RAND_SEED_OS # define OPENSSL_RAND_SEED_OS
# endif # endif
# ifndef OPENSSL_THREADS
# define OPENSSL_THREADS
# endif
# ifndef OPENSSL_NO_ACVP_TESTS # ifndef OPENSSL_NO_ACVP_TESTS
# define OPENSSL_NO_ACVP_TESTS # define OPENSSL_NO_ACVP_TESTS
# endif # endif
@ -43,6 +40,18 @@ extern "C" {
# ifndef OPENSSL_NO_ASAN # ifndef OPENSSL_NO_ASAN
# define OPENSSL_NO_ASAN # define OPENSSL_NO_ASAN
# endif # endif
# ifndef OPENSSL_NO_ASM
# define OPENSSL_NO_ASM
# endif
# ifndef OPENSSL_NO_ASYNC
# define OPENSSL_NO_ASYNC
# endif
# ifndef OPENSSL_NO_CAPIENG
# define OPENSSL_NO_CAPIENG
# endif
# ifndef OPENSSL_NO_COMP
# define OPENSSL_NO_COMP
# endif
# ifndef OPENSSL_NO_CRYPTO_MDEBUG # ifndef OPENSSL_NO_CRYPTO_MDEBUG
# define OPENSSL_NO_CRYPTO_MDEBUG # define OPENSSL_NO_CRYPTO_MDEBUG
# endif # endif
@ -52,15 +61,36 @@ extern "C" {
# ifndef OPENSSL_NO_DEVCRYPTOENG # ifndef OPENSSL_NO_DEVCRYPTOENG
# define OPENSSL_NO_DEVCRYPTOENG # define OPENSSL_NO_DEVCRYPTOENG
# endif # endif
# ifndef OPENSSL_NO_DGRAM
# define OPENSSL_NO_DGRAM
# endif
# ifndef OPENSSL_NO_DSO
# define OPENSSL_NO_DSO
# endif
# ifndef OPENSSL_NO_DTLS
# define OPENSSL_NO_DTLS
# endif
# ifndef OPENSSL_NO_DTLS1
# define OPENSSL_NO_DTLS1
# endif
# ifndef OPENSSL_NO_DTLS1_2
# define OPENSSL_NO_DTLS1_2
# endif
# ifndef OPENSSL_NO_EC_NISTP_64_GCC_128 # ifndef OPENSSL_NO_EC_NISTP_64_GCC_128
# define OPENSSL_NO_EC_NISTP_64_GCC_128 # define OPENSSL_NO_EC_NISTP_64_GCC_128
# endif # endif
# ifndef OPENSSL_NO_EGD # ifndef OPENSSL_NO_EGD
# define OPENSSL_NO_EGD # define OPENSSL_NO_EGD
# endif # endif
# ifndef OPENSSL_NO_ENGINE
# define OPENSSL_NO_ENGINE
# endif
# ifndef OPENSSL_NO_EXTERNAL_TESTS # ifndef OPENSSL_NO_EXTERNAL_TESTS
# define OPENSSL_NO_EXTERNAL_TESTS # define OPENSSL_NO_EXTERNAL_TESTS
# endif # endif
# ifndef OPENSSL_NO_FILENAMES
# define OPENSSL_NO_FILENAMES
# endif
# ifndef OPENSSL_NO_FIPS_SECURITYCHECKS # ifndef OPENSSL_NO_FIPS_SECURITYCHECKS
# define OPENSSL_NO_FIPS_SECURITYCHECKS # define OPENSSL_NO_FIPS_SECURITYCHECKS
# endif # endif
@ -70,21 +100,42 @@ extern "C" {
# ifndef OPENSSL_NO_FUZZ_LIBFUZZER # ifndef OPENSSL_NO_FUZZ_LIBFUZZER
# define OPENSSL_NO_FUZZ_LIBFUZZER # define OPENSSL_NO_FUZZ_LIBFUZZER
# endif # endif
# ifndef OPENSSL_NO_IDEA
# define OPENSSL_NO_IDEA
# endif
# ifndef OPENSSL_NO_KTLS # ifndef OPENSSL_NO_KTLS
# define OPENSSL_NO_KTLS # define OPENSSL_NO_KTLS
# endif # endif
# ifndef OPENSSL_NO_LOADERENG
# define OPENSSL_NO_LOADERENG
# endif
# ifndef OPENSSL_NO_MD2 # ifndef OPENSSL_NO_MD2
# define OPENSSL_NO_MD2 # define OPENSSL_NO_MD2
# endif # endif
# ifndef OPENSSL_NO_MD4
# define OPENSSL_NO_MD4
# endif
# ifndef OPENSSL_NO_MSAN # ifndef OPENSSL_NO_MSAN
# define OPENSSL_NO_MSAN # define OPENSSL_NO_MSAN
# endif # endif
# ifndef OPENSSL_NO_MULTIBLOCK
# define OPENSSL_NO_MULTIBLOCK
# endif
# ifndef OPENSSL_NO_PADLOCKENG
# define OPENSSL_NO_PADLOCKENG
# endif
# ifndef OPENSSL_NO_PSK
# define OPENSSL_NO_PSK
# endif
# ifndef OPENSSL_NO_RC5 # ifndef OPENSSL_NO_RC5
# define OPENSSL_NO_RC5 # define OPENSSL_NO_RC5
# endif # endif
# ifndef OPENSSL_NO_SCTP # ifndef OPENSSL_NO_SCTP
# define OPENSSL_NO_SCTP # define OPENSSL_NO_SCTP
# endif # endif
# ifndef OPENSSL_NO_SRP
# define OPENSSL_NO_SRP
# endif
# ifndef OPENSSL_NO_SSL3 # ifndef OPENSSL_NO_SSL3
# define OPENSSL_NO_SSL3 # define OPENSSL_NO_SSL3
# endif # endif
@ -109,8 +160,8 @@ extern "C" {
# ifndef OPENSSL_NO_WEAK_SSL_CIPHERS # ifndef OPENSSL_NO_WEAK_SSL_CIPHERS
# define OPENSSL_NO_WEAK_SSL_CIPHERS # define OPENSSL_NO_WEAK_SSL_CIPHERS
# endif # endif
# ifndef OPENSSL_NO_STATIC_ENGINE # ifndef OPENSSL_NO_DYNAMIC_ENGINE
# define OPENSSL_NO_STATIC_ENGINE # define OPENSSL_NO_DYNAMIC_ENGINE
# endif # endif

View File

@ -13,7 +13,6 @@
# define OSSL_CRYPTO_DSO_CONF_H # define OSSL_CRYPTO_DSO_CONF_H
# pragma once # pragma once
# define DSO_DLFCN # define DSO_NONE
# define HAVE_DLFCN_H
# define DSO_EXTENSION ".so" # define DSO_EXTENSION ".so"
#endif #endif

View File

@ -40,6 +40,18 @@ extern "C" {
# ifndef OPENSSL_NO_ASAN # ifndef OPENSSL_NO_ASAN
# define OPENSSL_NO_ASAN # define OPENSSL_NO_ASAN
# endif # endif
# ifndef OPENSSL_NO_ASM
# define OPENSSL_NO_ASM
# endif
# ifndef OPENSSL_NO_ASYNC
# define OPENSSL_NO_ASYNC
# endif
# ifndef OPENSSL_NO_CAPIENG
# define OPENSSL_NO_CAPIENG
# endif
# ifndef OPENSSL_NO_COMP
# define OPENSSL_NO_COMP
# endif
# ifndef OPENSSL_NO_CRYPTO_MDEBUG # ifndef OPENSSL_NO_CRYPTO_MDEBUG
# define OPENSSL_NO_CRYPTO_MDEBUG # define OPENSSL_NO_CRYPTO_MDEBUG
# endif # endif
@ -49,15 +61,36 @@ extern "C" {
# ifndef OPENSSL_NO_DEVCRYPTOENG # ifndef OPENSSL_NO_DEVCRYPTOENG
# define OPENSSL_NO_DEVCRYPTOENG # define OPENSSL_NO_DEVCRYPTOENG
# endif # endif
# ifndef OPENSSL_NO_DGRAM
# define OPENSSL_NO_DGRAM
# endif
# ifndef OPENSSL_NO_DSO
# define OPENSSL_NO_DSO
# endif
# ifndef OPENSSL_NO_DTLS
# define OPENSSL_NO_DTLS
# endif
# ifndef OPENSSL_NO_DTLS1
# define OPENSSL_NO_DTLS1
# endif
# ifndef OPENSSL_NO_DTLS1_2
# define OPENSSL_NO_DTLS1_2
# endif
# ifndef OPENSSL_NO_EC_NISTP_64_GCC_128 # ifndef OPENSSL_NO_EC_NISTP_64_GCC_128
# define OPENSSL_NO_EC_NISTP_64_GCC_128 # define OPENSSL_NO_EC_NISTP_64_GCC_128
# endif # endif
# ifndef OPENSSL_NO_EGD # ifndef OPENSSL_NO_EGD
# define OPENSSL_NO_EGD # define OPENSSL_NO_EGD
# endif # endif
# ifndef OPENSSL_NO_ENGINE
# define OPENSSL_NO_ENGINE
# endif
# ifndef OPENSSL_NO_EXTERNAL_TESTS # ifndef OPENSSL_NO_EXTERNAL_TESTS
# define OPENSSL_NO_EXTERNAL_TESTS # define OPENSSL_NO_EXTERNAL_TESTS
# endif # endif
# ifndef OPENSSL_NO_FILENAMES
# define OPENSSL_NO_FILENAMES
# endif
# ifndef OPENSSL_NO_FIPS_SECURITYCHECKS # ifndef OPENSSL_NO_FIPS_SECURITYCHECKS
# define OPENSSL_NO_FIPS_SECURITYCHECKS # define OPENSSL_NO_FIPS_SECURITYCHECKS
# endif # endif
@ -67,6 +100,9 @@ extern "C" {
# ifndef OPENSSL_NO_FUZZ_LIBFUZZER # ifndef OPENSSL_NO_FUZZ_LIBFUZZER
# define OPENSSL_NO_FUZZ_LIBFUZZER # define OPENSSL_NO_FUZZ_LIBFUZZER
# endif # endif
# ifndef OPENSSL_NO_IDEA
# define OPENSSL_NO_IDEA
# endif
# ifndef OPENSSL_NO_KTLS # ifndef OPENSSL_NO_KTLS
# define OPENSSL_NO_KTLS # define OPENSSL_NO_KTLS
# endif # endif
@ -76,15 +112,30 @@ extern "C" {
# ifndef OPENSSL_NO_MD2 # ifndef OPENSSL_NO_MD2
# define OPENSSL_NO_MD2 # define OPENSSL_NO_MD2
# endif # endif
# ifndef OPENSSL_NO_MD4
# define OPENSSL_NO_MD4
# endif
# ifndef OPENSSL_NO_MSAN # ifndef OPENSSL_NO_MSAN
# define OPENSSL_NO_MSAN # define OPENSSL_NO_MSAN
# endif # endif
# ifndef OPENSSL_NO_MULTIBLOCK
# define OPENSSL_NO_MULTIBLOCK
# endif
# ifndef OPENSSL_NO_PADLOCKENG
# define OPENSSL_NO_PADLOCKENG
# endif
# ifndef OPENSSL_NO_PSK
# define OPENSSL_NO_PSK
# endif
# ifndef OPENSSL_NO_RC5 # ifndef OPENSSL_NO_RC5
# define OPENSSL_NO_RC5 # define OPENSSL_NO_RC5
# endif # endif
# ifndef OPENSSL_NO_SCTP # ifndef OPENSSL_NO_SCTP
# define OPENSSL_NO_SCTP # define OPENSSL_NO_SCTP
# endif # endif
# ifndef OPENSSL_NO_SRP
# define OPENSSL_NO_SRP
# endif
# ifndef OPENSSL_NO_SSL3 # ifndef OPENSSL_NO_SSL3
# define OPENSSL_NO_SSL3 # define OPENSSL_NO_SSL3
# endif # endif

View File

@ -29,8 +29,9 @@ build_the_thing() {
TOOLCHAIN=$ANDROID_NDK/toolchains/llvm/prebuilt/linux-x86_64 TOOLCHAIN=$ANDROID_NDK/toolchains/llvm/prebuilt/linux-x86_64
export PATH=$TOOLCHAIN/$TRIBLE/bin:$TOOLCHAIN/bin:$PATH export PATH=$TOOLCHAIN/$TRIBLE/bin:$TOOLCHAIN/bin:$PATH
echo $PATH echo $PATH
echo "./Configure $SSL_TARGET $OPTIONS -fuse-ld=$TOOLCHAIN/bin/ld" && \ export GLOBAL_OPTIONS="no-trace no-asm no-threads no-md2 no-md4 no-dso no-async no-multiblock no-dgram no-filenames no-shared no-ssl3 no-engine no-dynamic-engine no-zlib no-comp no-psk no-idea no-srp no-weak-ssl-ciphers no-dtls no-egd no-tests -Os"
./Configure $SSL_TARGET $OPTIONS -fuse-ld=$TOOLCHAIN/bin/ld no-tests && \ echo "./Configure $SSL_TARGET $OPTIONS $GLOBAL_OPTIONS -fuse-ld=$TOOLCHAIN/bin/ld" && \
./Configure $SSL_TARGET $OPTIONS $GLOBAL_OPTIONS -fuse-ld=$TOOLCHAIN/bin/ld no-tests && \
make clean && \ make clean && \
make build_generated && \ make build_generated && \
make libcrypto.a libssl.a || exit 128 make libcrypto.a libssl.a || exit 128
@ -45,14 +46,14 @@ do
case $build_target in case $build_target in
armeabi-v7a) armeabi-v7a)
TRIBLE="arm-linux-androideabi" TRIBLE="arm-linux-androideabi"
OPTIONS="--target=armv7a-linux-androideabi -Wl,--fix-cortex-a8 -fPIC -D__ANDROID_API__=$API_LEVEL -Wno-macro-redefined" OPTIONS="--target=armv7a-linux-androideabi -ffunction-sections -fdata-sections -Wl,--fix-cortex-a8 -fPIC -D__ANDROID_API__=$API_LEVEL -Wno-macro-redefined"
DESTDIR="/tmp/$BUILD_DIR/armeabi-v7a" DESTDIR="/tmp/$BUILD_DIR/armeabi-v7a"
SSL_TARGET="android-arm" SSL_TARGET="android-arm"
CC=clang CC=clang
;; ;;
x86) x86)
TRIBLE="i686-linux-android" TRIBLE="i686-linux-android"
OPTIONS="-fPIC -D__ANDROID_API__=${API_LEVEL} -Wno-macro-redefined" OPTIONS="-fPIC -ffunction-sections -fdata-sections -D__ANDROID_API__=${API_LEVEL} -Wno-macro-redefined"
DESTDIR="/tmp/$BUILD_DIR/x86" DESTDIR="/tmp/$BUILD_DIR/x86"
SSL_TARGET="android-x86" SSL_TARGET="android-x86"
CC=clang CC=clang