I just checked in a patch to build-system which changes our mozconfig detection logic. Specifically:
- If you want to specify an explicit mozconfig, the only way to do that now is to set the
MOZCONFIGenvironment variable. We used to support the obscure
MOZ_MYCONFIGvariable too, but we now error out if it is set.
Note that if(update: apologies, this is still broken).
MOZCONFIGis a relative path, it will be treated as relative to the current directory.
- More significantly, we used to support a number of implicit mozconfig locations other than the usual
<srcdir>/.mozconfig, such as
$HOME/.mozconfigand a couple of variants. This went against build system’s policy to be as explicit as possible, so these locations are no longer supported, and if we used to pick up a mozconfig there we will now error out. The only implicit location still supported is the usual