mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-18 07:45:30 +00:00
373ffb5d65
As we migrate from makefiles to moz.build, we want to warn developers if variables only used by moz.build are accidentally defined in a makefile. This was the purpose of `MOZBUILD_VARIABLES` in recursivemake.py, though it became out-of-date. This patch defines `MOZBUILD_VARIABLES` off the official list from `mozbuild.frontend.context.VARIABLES`, and removes unused (?) code from makefiles accordingly Note that the following variables use to be in `MOZBUILD_VARIABLES`, but aren't there any more because they aren't in `mozbuild.frontend.context.VARIABLES`: * CMSRCS * CMMSRCS * EXTRA_JS_MODULES * EXTRA_PP_COMPONENTS * EXTRA_PP_JS_MODULES * HOST_CSRCS * HOST_CMMSRCS * HOST_EXTRA_LIBS * JAVA_JAR_TARGETS * LIBS * MAKE_FRAMEWORK * MODULE * NO_DIST_INSTALL * NO_INTERFACES_MANIFEST * PARALLEL_DIRS * PREF_JS_EXPORTS * RESOURCE_FILES * SHARED_LIBRARY_LIBS * TEST_DIRS * TOOL_DIRS * XPCSHELL_TESTS Differential Revision: https://phabricator.services.mozilla.com/D72076 |
||
---|---|---|
.. | ||
devtools/migrate-l10n | ||
docs | ||
gdbpp/gdbpp | ||
l10n | ||
lldbutils | ||
mach | ||
mozboot | ||
mozbuild | ||
mozlint | ||
mozperftest | ||
mozrelease | ||
mozterm | ||
mozversioncontrol | ||
safety | ||
mach_commands.py | ||
moz.build | ||
README |
This directory contains common Python code. The basic rule is that if Python code is cross-module (that's "module" in the Mozilla meaning - as in "module ownership") and is MPL-compatible, it should go here. What should not go here: * Vendored python modules (use third_party/python instead) * Python that is not MPL-compatible (see other-licenses/) * Python that has good reason to remain close to its "owning" (Mozilla) module (e.g. it is only being consumed from there). Historical information can be found at https://bugzilla.mozilla.org/show_bug.cgi?id=775243 https://bugzilla.mozilla.org/show_bug.cgi?id=1346025