зеркало из https://github.com/mozilla/gecko-dev.git
bc0709dc9e
This adds a format option to mach environment and uses it in client.mk to create a .mozconfig.json in the objdir, containing all the relevant data from mozconfig. If the mozconfig doesn't change in a way that alters that data, we still skip configure. At the same time, use mach environment in place of mozconfig2configure and mozconfig2client-mk, which makes us now have only one mozconfig reader. Also, in the mozconfig reader, keep track of environment variables (as opposed to shell variables), so that changes such as a variable that was exported not being exported anymore is spotted. At the opposite, in order for irrelevant environment variable changes not to incur in re-running configure, only a set of environment variables are stored when they are unmodified. Otherwise, changes such as using a different terminal window, or even rebooting, would trigger reconfigures. Finally, make mach environment emit both MOZ_OBJDIR and OBJDIR for client.mk, and cleanup some objdir-related things in client.mk.. At the same time, make the mozconfig reader take MOZ_OBJDIR from the environment if it is defined there and not in the mozconfig. |
||
---|---|---|
.. | ||
acwinpaths.m4 | ||
altoptions.m4 | ||
android.m4 | ||
arch.m4 | ||
ccache.m4 | ||
clean-config.sh | ||
codeset.m4 | ||
compiler-opts.m4 | ||
config.guess | ||
config.status.m4 | ||
config.sub | ||
expandlibs.m4 | ||
ffi.m4 | ||
frameptr.m4 | ||
gcc-pr39608.m4 | ||
gcc-pr49911.m4 | ||
hooks.m4 | ||
hotfixes.m4 | ||
icu.m4 | ||
install-sh | ||
linux.m4 | ||
llvm-pr8927.m4 | ||
lto.m4 | ||
mozcommonheader.m4 | ||
mozheader.m4 | ||
mozprog.m4 | ||
nspr.m4 | ||
nss.m4 | ||
pkg.m4 | ||
python-virtualenv.m4 | ||
subconfigure.m4 | ||
toolchain.m4 | ||
winsdk.m4 | ||
wrapper.m4 | ||
zlib.m4 |