mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
569c7918e8
Previously, the set of WebIDL example interfaces to build was hardcoded in the mozwebidlcodegen Python package. Unfortunately, the example interfaces in that set were dependent on test-only bindings files, resulting in build failures when tests were disabled (because those test-only bindings were defined in a test directory). In this patch, we now declare example interfaces in moz.build files so the set of example interfaces lives next to the set of defined bindings files. The example interfaces are defined in a test moz.build file - in the same file declaring the bindings files that contain the interfaces - so the example interfaces only get picked up if the corresponding bindings are defined. We could probably switch WebIDL moz.build variables to use lists with flags. That would be good followup fodder. For now, let's fix the build. --HG-- extra : rebase_source : 00070a6d560625bc84ab9b10d6848ea037f8f5ed extra : amend_source : 0890ecef444ba58533fcfaa333773d78deafd7f3 |
||
---|---|---|
.. | ||
blessings | ||
codegen | ||
configobj | ||
mach | ||
mock-1.0.0 | ||
mozboot | ||
mozbuild | ||
mozversioncontrol/mozversioncontrol | ||
psutil | ||
virtualenv | ||
which | ||
mach_commands.py | ||
Makefile.in | ||
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: * 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