Open Bug 1058359 Opened 5 years ago Updated 2 years ago
Generate build doc for moz
No description provided.
I reckon this should also track fixing |mach build-docs|. From the error message below, we need to inject templates into the context in docs reading mode (where each moz.build is independent). BuildReaderError: ============================== ERROR PROCESSING MOZBUILD FILE ============================== The error occurred while processing the following file: /Users/gps/src/firefox/browser/components/build/moz.build The error was triggered on line 15 of this file: XPCOMBinaryComponent('browsercomps') An error was encountered as part of executing the file itself. The error appears to be the fault of the script. The error as reported by Python is: ["NameError: name 'XPCOMBinaryComponent' is not defined\n"] File "/Users/gps/src/firefox/tools/docs/mach_commands.py", line 49, in build_docs for context in reader.walk_topsrcdir(): File "/Users/gps/src/firefox/python/mozbuild/mozbuild/frontend/reader.py", line 788, in walk_topsrcdir filesystem_absolute=True, read_tiers=True): File "/Users/gps/src/firefox/python/mozbuild/mozbuild/frontend/reader.py", line 833, in read_mozbuild sys.exc_info(), sandbox_exec_error=se)
You need to log in before you can comment on or make changes to this bug.