Open Bug 967623 Opened 10 years ago Updated 2 years ago

Need a way to quickly rebuild after changing webidl files or codegen

Categories

(Firefox Build System :: General, defect)

x86
macOS
defect

Tracking

(Not tracked)

People

(Reporter: bzbarsky, Unassigned)

References

Details

Right now "mach build dom/bindings" does the right thing in that situation.  But if I understand bug 925350 correctly, it will stop doing that.  Need another way to do it.
1) Add {xpidl, ipdl, webidl, ...} codegen to binaries target
2) Provide another target that does codegen + binaries.

I can go both ways. It boils down to speed, really. #1 will make binaries a second or two slower. People like ehsan are already saying binaries isn't fast enough. I'd prefer not to make it significantly slower.
Product: Core → Firefox Build System

Bug 925350 has not been resolved, but still, mach build dom/bindings doesn't do the job anymore. I changed codegen.py, and ran it, and it didn't regenerate. I additionally touched a webidl file, and it didn't trigger regeneration. I removed some of the generated files, and they still are not regenerated. Removing all of the dom/bindings folder in the object folder makes them regenerated though.

Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.