./mach configure --disable-compile-environment breaks for Tor Browser
Sometimes it is useful to use Mozilla's build environment without checking whether all the compilers and necessary tools are available (see for instance #33973 (moved)). Mozilla has the --disable-compile-environment
option for that. It succeeds with a clean Mozilla esr68 branch but fails for us for three reasons if we delete the respective .mozconfig
file:
-
--disable-tor-launcher
needs to be set even though we don't want to compile anything -
--with-tor-browser-version
needs to be specified even though we don't want to compile anything -
--enable-official-branding
needs to be specified because otherwisedefault512.png
in the unofficial branding is missing (ordefault256.png
for the esr68-based branches)