mozconfig-android-x86 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/obj-i386-linux-android
  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=i386-linux-android
  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. ac_add_options --with-branding=mobile/android/branding/torbrowser
  13. # Android NDK does not contain llvm-config so set clang path in options
  14. ac_add_options --with-libclang-path=/var/tmp/dist/android-toolchain/android-ndk/x86/lib64
  15. ac_add_options --with-clang-path=/var/tmp/dist/android-toolchain/android-ndk/x86/bin/clang
  16. ac_add_options --with-android-distribution-directory=@TOPSRCDIR@/mobile/android/torbrowser
  17. ac_add_options --with-l10n-base=/var/tmp/dist/locales
  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-maintenance-service
  35. ac_add_options --disable-crashreporter
  36. ac_add_options --disable-webrtc
  37. ac_add_options --without-google-play-services
  38. # Let's make sure no preference is enabling either Adobe's or Google's CDM.
  39. ac_add_options --disable-eme