mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 912197 - part 3 - emit WebIDL objects during traversal; r=gps
This commit is contained in:
parent
238e0c2875
commit
00da3e1ad5
@ -15,13 +15,17 @@ from .data import (
|
||||
ConfigFileSubstitution,
|
||||
DirectoryTraversal,
|
||||
Exports,
|
||||
GeneratedWebIDLFile,
|
||||
IPDLFile,
|
||||
LocalInclude,
|
||||
PreprocessedWebIDLFile,
|
||||
Program,
|
||||
ReaderSummary,
|
||||
TestWebIDLFile,
|
||||
VariablePassthru,
|
||||
XPIDLFile,
|
||||
XpcshellManifests,
|
||||
WebIDLFile,
|
||||
)
|
||||
|
||||
from .reader import (
|
||||
@ -171,6 +175,18 @@ class TreeMetadataEmitter(LoggingMixin):
|
||||
for local_include in sandbox.get('LOCAL_INCLUDES', []):
|
||||
yield LocalInclude(sandbox, local_include)
|
||||
|
||||
for webidl in sandbox.get('WEBIDL_FILES', []):
|
||||
yield WebIDLFile(sandbox, webidl)
|
||||
|
||||
for webidl in sandbox.get('TEST_WEBIDL_FILES', []):
|
||||
yield TestWebIDLFile(sandbox, webidl)
|
||||
|
||||
for webidl in sandbox.get('PREPROCESSED_WEBIDL_FILES', []):
|
||||
yield PreprocessedWebIDLFile(sandbox, webidl)
|
||||
|
||||
for webidl in sandbox.get('GENERATED_WEBIDL_FILES', []):
|
||||
yield GeneratedWebIDLFile(sandbox, webidl)
|
||||
|
||||
def _emit_directory_traversal_from_sandbox(self, sandbox):
|
||||
o = DirectoryTraversal(sandbox)
|
||||
o.dirs = sandbox.get('DIRS', [])
|
||||
|
Loading…
Reference in New Issue
Block a user