Summary: | [meta] Stop rebuilding .h/.cpp files generated by unchanged IDLs | ||
---|---|---|---|
Product: | WebKit | Reporter: | Kentaro Hara <haraken> |
Component: | WebCore Misc. | Assignee: | Kentaro Hara <haraken> |
Status: | NEW --- | ||
Severity: | Normal | CC: | abarth, achristensen, darin, morrita |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Bug Depends on: | 76841, 76846, 76874, 76918, 76920, 76922, 76923, 76926, 76970 | ||
Bug Blocks: |
Description
Kentaro Hara
2012-01-23 09:10:37 PST
I'll get things done in the following steps: [1] Remove finish() from CodeGeneratorV8.pm. [2] Remove finish() from CodeGeneratorJS.pm. [3] Remove finish() from CodeGenerator{ObjC,GObject,CPP}.pm and CodeGenerator.pm. [4] Make a change on CodeGeneratorV8.pm and CodeGenerator.pm to overwrite .h/.cpp files only when the bytes differ. [5] Make similar changes on CodeGeneratorJS.pm. [6] Make similar changes on CodeGenerator{ObjC,GObject,CPP}.pm. Sounds like a good idea. Can we change this so code is shared while doing the work 6 times? (In reply to comment #3) > Can we change this so code is shared while doing the work 6 times? Sure. I'll make UpdateFileIfChanged() in CodeGenerator.pm and use it from all CodeGenerators. *** Bug 117708 has been marked as a duplicate of this bug. *** |