mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-08 19:04:45 +00:00
Bug 1215526 - part 3 - make preprocessor.preprocessor report all included files; r=glandium
For GENERATED_FILES scripts that want to report dependencies, this change makes it easy to use |preprocess|, rather than having to construct and use |Preprocessor| manually.
This commit is contained in:
parent
3a6f416c97
commit
fb2c405492
@ -785,6 +785,7 @@ def preprocess(includes=[sys.stdin], defines={},
|
||||
for f in includes:
|
||||
with open(f, 'rU') as input:
|
||||
pp.processFile(input=input, output=output)
|
||||
return pp.includes
|
||||
|
||||
|
||||
# Keep this module independently executable.
|
||||
|
Loading…
Reference in New Issue
Block a user