Pier Angelo Vendrame pushed to branch main at The Tor Project / Applications / 
tor-browser-build


Commits:
2d6d284d by Pier Angelo Vendrame at 2026-01-20T18:34:22+01:00
Bug 32200: Reduce the size of our OpenSSL build on Android.

Remove various features we do not use to reduce the size of our Android
builds.

- - - - -


1 changed file:

- projects/openssl/config


Changes:

=====================================
projects/openssl/config
=====================================
@@ -20,7 +20,21 @@ targets:
       configure_opts: '--cross-compile-prefix=[% c("var/build_target") %]- 
darwin64-[% c("var/macos_arch") %]-cc enable-ec_nistp_64_gcc_128'
   android:
     var:
-      configure_opts: 'CC=[% c("var/CC") %] android-[% c("var/toolchain_arch") 
%] -no-shared -D__ANDROID_API__=[% c("var/android_min_api") %] [% 
c("var/CFLAGS") %]'
+      configure_opts: |
+        CC=[% c("var/CC") %] android-[% c("var/toolchain_arch") %] \
+        -no-shared -D__ANDROID_API__=[% c("var/android_min_api") %] \
+        [% c("var/CFLAGS") %] \
+        no-ssl2 no-ssl3 no-tls1 no-tls1_1 \
+        no-ocsp no-nextprotoneg no-psk no-srp no-ts \
+        no-cmp no-cms no-ct \
+        no-dgram no-dtls no-http no-quic no-srtp \
+        no-argon2 no-aria no-bf no-blake2 no-camellia no-cast no-des no-dsa \
+        no-gost no-idea no-integrity-only-ciphers no-md2 no-md4 no-mdc2 \
+        no-ml-dsa no-ocb no-rc2 no-rc4 no-rc5 no-rmd160 no-scrypt no-seed \
+        no-siphash no-slh-dsa no-sm2 no-sm3 no-sm4 no-whirlpool \
+        no-ec2m no-ssl-trace no-tls-deprecated-ec \
+        no-siv \
+        no-apps no-async no-comp no-ktls no-legacy no-ui-console no-zlib
 
 input_files:
   - project: container-image



View it on GitLab: 
https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/commit/2d6d284d1e15ad64aa52f7b27488514aae1d22a3

-- 
View it on GitLab: 
https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/commit/2d6d284d1e15ad64aa52f7b27488514aae1d22a3
You're receiving this email because of your account on gitlab.torproject.org.


_______________________________________________
tor-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to