RESOLVED FIXED 144094
[cmake] Fix generate-js-builtins related incremental build issue
https://bugs.webkit.org/show_bug.cgi?id=144094
Summary [cmake] Fix generate-js-builtins related incremental build issue
Csaba Osztrogonác
Reported 2015-04-23 03:37:42 PDT
See https://bugs.webkit.org/show_bug.cgi?id=143980#c14 for details. The root of the problem that cmake finds the input of generate-js-builtins with *.js search. But the make/ninja doesn't know when the input list should be regenerated and adding a new js can cause incremantal build fail. I think we should teach generate-js-builtins to accept not only js files as input, but an input directory where it can collects all of the js files and we will be able remove *.js from cmake build system.
Attachments
Patch (4.62 KB, patch)
2015-04-23 03:52 PDT, Csaba Osztrogonác
no flags
Csaba Osztrogonác
Comment 1 2015-04-23 03:52:28 PDT
Csaba Osztrogonác
Comment 2 2015-04-23 04:03:10 PDT
cc-ed Oliver and Michael as the original author and reviewer of the generate-js-builtins script - http://trac.webkit.org/changeset/163195 I added the new --input-directory option to be able get rid of *.js from cmake and let the python script to collect js files. But I didn't remove the actual behaviour of the script, maybe somebody wants to generate builtins for a couple of js not for all js in a directory. Do you think if this change is acceptable to avoid incremental build issues in the future?
Csaba Osztrogonác
Comment 3 2015-04-28 03:53:56 PDT
ping?
Michael Saboff
Comment 4 2015-04-28 10:19:48 PDT
Comment on attachment 251426 [details] Patch r=me
Csaba Osztrogonác
Comment 5 2015-05-04 01:23:41 PDT
Comment on attachment 251426 [details] Patch Clearing flags on attachment: 251426 Committed r183738: <http://trac.webkit.org/changeset/183738>
Csaba Osztrogonác
Comment 6 2015-05-04 01:23:48 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.