RESOLVED FIXED 128376
[GTK] build-webkit script always generate-gtk-doc even if '--disable-gtk-doc' param is passed
https://bugs.webkit.org/show_bug.cgi?id=128376
Summary [GTK] build-webkit script always generate-gtk-doc even if '--disable-gtk-doc'...
Diego Pino
Reported 2014-02-07 08:30:33 PST
How to reproduce: * Execute script Tools/Script/build-webkit --disable-gtk-doc. Expected result: The script Tools/gtk/generate-gtkdoc should not be called. Actual result: The script Tools/gtk/generate-gtkdoc is called.
Attachments
Patch (1.95 KB, patch)
2014-02-07 08:34 PST, Diego Pino
no flags
Patch (1.92 KB, patch)
2014-02-07 10:11 PST, Diego Pino
no flags
Diego Pino
Comment 1 2014-02-07 08:34:31 PST
Carlos Garcia Campos
Comment 2 2014-02-07 09:18:30 PST
Comment on attachment 223457 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=223457&action=review > Tools/Scripts/webkitdirs.pm:1858 > + my $disableGTKDoc = grep /^--disable-gtk-doc$/, @buildArgs; Would it be possible to use checkForArgumentAndRemoveFromARGV() here?
Martin Robinson
Comment 3 2014-02-07 09:40:39 PST
This is by design. Probably we just want to disable it temporarily until the bots are fixed.
Diego Pino
Comment 4 2014-02-07 10:11:42 PST
Carlos Garcia Campos
Comment 5 2014-02-07 10:15:00 PST
(In reply to comment #3) > This is by design. Probably we just want to disable it temporarily until the bots are fixed. I think we should respect the option. I'm fine with the bots not passing that option, but if I run build-webkit --disable-gtk-doc I don't want the doc to be generated.
Diego Pino
Comment 6 2014-02-07 10:43:28 PST
Actually I had this bug in my local repo. Although I run build-webkit with "--disable-gtk-doc", the script tried to generate the GTK near the end of and the compilation failed. To solve that issued, I had a temporal fix that disabled GTK doc generation in Tools/gtk/generate-gtkdoc.
WebKit Commit Bot
Comment 7 2014-02-08 00:19:16 PST
Comment on attachment 223463 [details] Patch Clearing flags on attachment: 223463 Committed r163697: <http://trac.webkit.org/changeset/163697>
WebKit Commit Bot
Comment 8 2014-02-08 00:19:19 PST
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.