[CMake] Refator GENERATE_BINDINGS I want to do some refatoring on GENERATE_BINDINGS for the preparation of Bug 161433. * Use CMakeParseArguments for argument parsing * Use function instread of macro for its own variable scope * Wrap both preprocess-idls.pl and generate-bindings.pl scripts * Donwcase a local variable COMMON_GENERATOR_DEPENDENCIES
Created attachment 288546 [details] Patch
Created attachment 288548 [details] Patch
Comment on attachment 288548 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=288548&action=review > Tools/DumpRenderTree/CMakeLists.txt:129 > + PREFIX JS Could we get rid of this now that the only generated bindings are JS?
Thank you for reviewing my patch. (In reply to comment #3) > Could we get rid of this now that the only generated bindings are JS? Yes. I'll remove PREFIX and EXTENSION.
Comment on attachment 288548 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=288548&action=review > Source/WebCore/CMakeLists.txt:3626 > + GENERATOR JS One question, will you use other generator(e.g. v8) in future ?
Created attachment 288558 [details] Patch
(In reply to comment #5) > > Source/WebCore/CMakeLists.txt:3626 > > + GENERATOR JS > > One question, will you use other generator(e.g. v8) in future ? No, I don't. This 'GENERATOR' argument takes 'JS', 'TestRunner' or 'DumpRenderTree' now.
Created attachment 288562 [details] Patch Fix typos.
Comment on attachment 288562 [details] Patch Patch looks good to me. r=me. However it would be good if someone might to want to have final review before landing.
Thank you for r+. Could anyone give cq+?
Comment on attachment 288562 [details] Patch Clearing flags on attachment: 288562 Committed r205982: <http://trac.webkit.org/changeset/205982>
All reviewed patches have been landed. Closing bug.