mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-18 15:55:36 +00:00
38e0a4b340
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 |
||
---|---|---|
.. | ||
dumbmake | ||
mozbuild | ||
mozpack | ||
setup.py |