Closed
Bug 1304133
Opened 8 years ago
Closed 8 years ago
Explicitly list selfhosted.js as an output for embedjs.py
Categories
(Firefox Build System :: General, defect)
Firefox Build System
General
Tracking
(firefox52 fixed)
RESOLVED
FIXED
mozilla52
Tracking | Status | |
---|---|---|
firefox52 | --- | fixed |
People
(Reporter: mshal, Assigned: mshal)
References
Details
Attachments
(1 file)
embedjs.py creates both selfhosted.out.h and selfhosted.js, so we should specify them both as outputs in moz.build.
Comment hidden (mozreview-request) |
Comment 2•8 years ago
|
||
mozreview-review |
Comment on attachment 8793014 [details]
Bug 1304133 - explicitly list selfhosted.js output in GENERATED_FILES;
https://reviewboard.mozilla.org/r/79826/#review78644
I seem to remember selfhosted.js isn't used anywhere, which might explain why it isn't mentioned here. Is there some advantage to listing it?
Attachment #8793014 -
Flags: review?(cmanchester) → review+
Assignee | ||
Comment 3•8 years ago
|
||
(In reply to Chris Manchester (:chmanchester) from comment #2)
> I seem to remember selfhosted.js isn't used anywhere, which might explain
> why it isn't mentioned here.
Do you recall where you heard that, or who I can ask about it? If it isn't used, I'd rather change embedjs.py to stop generating it.
> Is there some advantage to listing it?
The tup backend checks that the process only writes to the files that we said it was going to write to in order to make sure the dependencies are correct. So if we don't list it, tup complains.
Flags: needinfo?(cmanchester)
Comment 4•8 years ago
|
||
I concluded this by reading the code, I could be mistaken. Maybe Till can comment on this.
Do we need to output selfhosted.js in addition to selfhosted.out.h? It does not appear to be incorporated into the build.
Flags: needinfo?(cmanchester) → needinfo?(till)
Comment 5•8 years ago
|
||
It'be quite unfortunate not to have this anymore: internal JS errors happening in self-hosted code show up as things like "selfhosted:1234". It's hard to impossible to directly map them to original source files, so looking at selfhosted.js is the only useful recourse.
Flags: needinfo?(till)
Assignee | ||
Comment 6•8 years ago
|
||
Ahh, good to know - thanks! I'll stick with the original patch then, which just informs the build system that the file will be created.
Pushed by mshal@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/1f866a7b1db4
explicitly list selfhosted.js output in GENERATED_FILES; r=chmanchester
Comment 8•8 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 8 years ago
status-firefox52:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla52
Updated•7 years ago
|
Product: Core → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•