gecko-dev/dom/bindings/mozwebidlcodegen
Mike Shal 507bbb6ecb Bug 1455799 - Make an explicit webidl export target; r=bz,chmanchester
By including codegen.pp and having a target for codegen.pp, we were
relying on make to build out-of-date include files and re-exec itself
after they are built. However, make produces an error if the file does
not exist, which is why this include was changed to a -include in bug
1378965. Unfortunately this means that make ignores not only a
non-existent file, but also any errors in regenerating the target from
the webidl py_action.

Instead we can make a separate stub file target for webidl generation,
and include the codegen.pp that's generated as a side-effect of the
py_action. This way make will fail properly if the webidl generation
fails, and there is no error message about a missing codegen.pp on the
first build.

MozReview-Commit-ID: GjB8zDuMfnL

--HG--
extra : rebase_source : 560b3ae3e60986d7eb3bbabbac0acca67a3a4aff
2018-04-30 12:52:28 -04:00
..
test Backed out 2 changesets (bug 1442931) for build bustages at ..\dom\bindings\mozwebidlcodegen\test\test_mozwebidlcodegen.py::TestWebIDLCodegenManager::test_copy_input on a CLOSED TREE 2018-03-07 08:53:06 +02:00
__init__.py Bug 1455799 - Make an explicit webidl export target; r=bz,chmanchester 2018-04-30 12:52:28 -04:00