mozconfig-android-armv7 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/obj-arm-linux-androideabi
  2. mk_add_options MOZ_APP_DISPLAYNAME="Tor Browser"
  3. export MOZILLA_OFFICIAL=1
  4. CC="clang"
  5. CXX="clang++"
  6. ac_add_options --with-android-min-sdk=16
  7. ac_add_options --enable-optimize
  8. ac_add_options --enable-official-branding
  9. ac_add_options --enable-application=mobile/android
  10. ac_add_options --target=arm-linux-androideabi
  11. ac_add_options --with-android-ndk=/var/tmp/dist/android-toolchain/android-ndk
  12. ac_add_options --with-android-sdk=/var/tmp/dist/android-toolchain/android-sdk-linux
  13. ac_add_options --with-gradle=/var/tmp/dist/android-toolchain/gradle/gradle-4.10.2/bin/gradle
  14. ac_add_options --with-android-distribution-directory=@TOPSRCDIR@/mobile/android/torbrowser
  15. ac_add_options --with-l10n-base=/var/tmp/dist/locales
  16. # We do not use Tor Launcher on Android:
  17. ac_add_options --disable-tor-launcher
  18. if [ -z "${TB_BUILD_WITH_UPDATER}" ]; then
  19. # Because Google Play will likely be the primary distribution medium,
  20. # we disable updating and rely on Google Play by default. The
  21. # Developer Policy explicitly prohibits in-app updating:
  22. # An app distributed via Google Play may not modify, replace, or
  23. # update itself using any method other than Google Plays update
  24. # mechanism.
  25. # https://play.google.com/about/privacy-security-deception/malicious-behavior/
  26. ac_add_options --disable-tor-browser-update
  27. ac_add_options --disable-signmar
  28. ac_add_options --disable-verify-mar
  29. fi
  30. ac_add_options --enable-strip
  31. ac_add_options --disable-tests
  32. ac_add_options --disable-debug
  33. ac_add_options --disable-rust-debug
  34. ac_add_options --disable-crashreporter
  35. ac_add_options --disable-webrtc
  36. ac_add_options --without-google-play-services
  37. ac_add_options --enable-proxy-bypass-protection
  38. # Disable telemetry
  39. ac_add_options MOZ_TELEMETRY_REPORTING=