mozconfig-android-armv7 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  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. ac_add_options --enable-optimize
  5. ac_add_options --enable-official-branding
  6. ac_add_options --enable-application=mobile/android
  7. ac_add_options --target=arm-linux-androideabi
  8. ac_add_options --with-android-ndk=/var/tmp/dist/android-toolchain/android-ndk
  9. ac_add_options --with-android-sdk=/var/tmp/dist/android-toolchain/android-sdk-linux
  10. ac_add_options --with-gradle=/var/tmp/dist/android-toolchain/gradle/gradle-4.1/bin/gradle
  11. ac_add_options --with-android-version=16
  12. # Android NDK does not contain llvm-config so set clang path in options
  13. ac_add_options --with-libclang-path=/var/tmp/dist/android-toolchain/android-ndk/arm/lib64
  14. ac_add_options --with-clang-path=/var/tmp/dist/android-toolchain/android-ndk/arm/bin/clang
  15. ac_add_options --with-android-distribution-directory=@TOPSRCDIR@/mobile/android/torbrowser
  16. ac_add_options --with-l10n-base=/var/tmp/dist/locales
  17. # We do not use Tor Launcher on Android:
  18. ac_add_options --disable-tor-launcher
  19. if [ -z "${TB_BUILD_WITH_UPDATER}" ]; then
  20. # Because Google Play will likely be the primary distribution medium,
  21. # we disable updating and rely on Google Play by default. The
  22. # Developer Policy explicitly prohibits in-app updating:
  23. # An app distributed via Google Play may not modify, replace, or
  24. # update itself using any method other than Google Plays update
  25. # mechanism.
  26. # https://play.google.com/about/privacy-security-deception/malicious-behavior/
  27. ac_add_options --disable-tor-browser-update
  28. ac_add_options --disable-signmar
  29. ac_add_options --disable-verify-mar
  30. fi
  31. ac_add_options --enable-strip
  32. ac_add_options --disable-tests
  33. ac_add_options --disable-debug
  34. ac_add_options --disable-rust-debug
  35. ac_add_options --disable-maintenance-service
  36. ac_add_options --disable-crashreporter
  37. ac_add_options --disable-webrtc
  38. ac_add_options --without-google-play-services
  39. # Let's make sure no preference is enabling either Adobe's or Google's CDM.
  40. ac_add_options --disable-eme