gecko-dev/python/mozbuild
Andrew Halberstadt 0912d6c960 Bug 1583360 - [mozbuild] Make reader.find_sphinx_variables a little more generic, r=nalexander
The BuildReader's 'find_sphinx_variables' function is hardcoded to look for the
SPHINX_TREES and SPHINX_PYTHON_PACKAGE_DIRS variables. But it's otherwise
implemented to find any arbitrary variable (as long as they are a simple list
or dict).

This change simply moves the variable name(s) to the function call. The comment
about possibly wanted to use a higher level AST library to parse other kinds of
variables still applies, but for now this change is good enough to suit my
needs.

Differential Revision: https://phabricator.services.mozilla.com/D48424

--HG--
extra : moz-landing-system : lando
2019-10-18 14:05:49 +00:00
..
dumbmake Bug 1575375 - Pull mozbuild tests out of make check. r=nalexander 2019-08-21 05:00:50 +00:00
mozbuild Bug 1583360 - [mozbuild] Make reader.find_sphinx_variables a little more generic, r=nalexander 2019-10-18 14:05:49 +00:00
mozpack Bug 1581248 - Strip //?/ prefixes in mozpath.relpath(); r=firefox-build-system-reviewers,chmanchester 2019-09-25 22:32:58 +00:00
setup.py Bug 1559975 - Make python/mozbuild lint with 'py2' and 'py3' r=catlee 2019-07-05 14:36:43 +00:00