gecko-dev/python/mozbuild
Mike Shal bf4ff12d81 Bug 1407403 - Handle IPDL code generation in the tup backend; r=gps
IPDL generation consists of a single ipdl.py invocation on all the
*.ipdl and *.ipdlh files in the tree. Unfortunately the headers that are
generated are placed into directories corresponding to the namespaces
declared within the IDPL, and can't be determined solely based on the
input filename. As such, we have to do a quick parsing of the AST in
order to grab the namespaces and calculate the filenames for the .h
files.

The downside of this approach is that all *.ipdl/*.ipdlh files are
considered inputs for the tup backend, so editing one will perform
moz.build generation before running ipdl.py. This could be fixed by
either standardizing the generated header layout, or fixing tup to
somehow allow unspecified outputs.

MozReview-Commit-ID: DzF2ryLEsrg

--HG--
extra : rebase_source : 9297c7532b59e453dd2e985c7d2d5a1e78571893
2017-10-23 10:44:11 -04:00
..
dumbmake Bug 1317970 - Use manifestparser manifests for python unit tests, r=chmanchester 2016-11-16 09:59:22 -05:00
mozbuild Bug 1407403 - Handle IPDL code generation in the tup backend; r=gps 2017-10-23 10:44:11 -04:00
mozpack Bug 1393242 - Normalize paths in MercurialRevisionFinder; r=mshal 2017-08-31 10:39:28 -07:00
setup.py
TODO