Summary: | generate-bindings-all.pl should recompile supplemented IDL if its supplemental IDL are added or removed | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Fujii Hironori <Hironori.Fujii> | ||||||||
Component: | Tools / Tests | Assignee: | Fujii Hironori <Hironori.Fujii> | ||||||||
Status: | RESOLVED FIXED | ||||||||||
Severity: | Normal | CC: | achristensen, bfulgham, cdumez, commit-queue, gyuyoung.kim, lforschler, mcatanzaro | ||||||||
Priority: | P2 | ||||||||||
Version: | WebKit Nightly Build | ||||||||||
Hardware: | Unspecified | ||||||||||
OS: | Unspecified | ||||||||||
Bug Depends on: | 161433 | ||||||||||
Bug Blocks: | |||||||||||
Attachments: |
|
Description
Fujii Hironori
2016-10-27 02:46:47 PDT
*** Bug 163883 has been marked as a duplicate of this bug. *** Created attachment 293008 [details]
Patch
Manual test cases of incremental build: * touch Source/WebCore/dom/Comment.idl ⇒ Recompile Comment.idl * touch Source/WebCore/html/HTMLMediaElement.idl ⇒ Recompile HTMLMediaElement.idl, HTMLAudioElement.idl and HTMLVideoElement.idl * touch Source/WebCore/dom/Node.idl ⇒ Recompile a lot of IDL including HTML Elements and SVG Elements. * touch Source/WebCore/Modules/webdatabase/DOMWindowWebDatabase.idl ⇒ Recompile DOMWindowWebDatabase.idl and DOMWindow.idl * Comment out Modules/webdatabase/DOMWindowWebDatabase.idl in Source/WebCore/CMakeLists.txt ⇒ Recompile DOMWindow.idl * Remove the comment of Modules/webdatabase/DOMWindowWebDatabase.idl ⇒ Recompile DOMWindow.idl * Add "[NoInterfaceObject]" to Source/WebCore/Modules/webdatabase/Database.idl ⇒ Recompile Database.idl and DOMWindow.idl (DOMWindowConstructors.idl is updated) * Removed the "[NoInterfaceObject]" of Source/WebCore/Modules/webdatabase/Database.idl ⇒ Recompile Database.idl and DOMWindow.idl (DOMWindowConstructors.idl is updated) * Enable ro disable features ⇒ Recompile all IDL Did you mean to set r? I just wanted to try EWS. I need more testing before requesting review. Thank you. I've found one more problem that preprocess-idls.pl is not invoked when a IDL is added or removed. I didn't notice this bug because Bug163882 causes infinite preprocessing. To test this case, I need to stop infinite preprocessing first. > $ touch WebKitBuild/Debug/DerivedSources/WebCore/{supplemental_dependency.tmp,*Constructors.idl} > $ ./Tools/Scripts/build-webkit --gtk --debug --64-bit --makeargs="WebCoreBindings" And, do following test cases: > * Comment out Modules/webdatabase/DOMWindowWebDatabase.idl in Source/WebCore/CMakeLists.txt > ⇒ Recompile DOMWindow.idl > * Remove the comment of Modules/webdatabase/DOMWindowWebDatabase.idl > ⇒ Recompile DOMWindow.idl Created attachment 293114 [details]
Patch
Comment on attachment 293114 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=293114&action=review > Source/WebCore/ChangeLog:13 > + generetated files. generetated -> generated > Source/cmake/WebKitMacros.cmake:110 > + # because some of them use #if yet. Just say: "because some of them use #if" I would prefer to split this change into a separate patch. Created attachment 293141 [details]
Patch
Thank you for reviewing my patch.
I revised the patch.
* Fixed the typo
* Removed the change of WebKitMacros.cmake
Comment on attachment 293141 [details] Patch Clearing flags on attachment: 293141 Committed r208045: <http://trac.webkit.org/changeset/208045> All reviewed patches have been landed. Closing bug. |