[webkit-help] The script "update-webkit" in "WebKit-r170147\Tools\Scripts" may has problem

256481788 256481788 at 163.com
Thu Jun 26 18:46:19 PDT 2014


The code in WebKit-r170147\Tools\Scripts\update-webkit at line 83-89 is below:

83:} elsif (isAppleWinWebKit()) {
84:    system("perl", "Tools/Scripts/update-webkit-auxiliary-libs") == 0 or die;
85:    if (isWinCairo()) {
86:        # WinCairo shares the auxiliary libs from the Apple port.
87:        system("perl", "Tools/Scripts/update-webkit-wincairo-libs") == 0 or die;
88:    }
89:}

and I find the function "isAppleWinWebKit()" in  WebKit-r170147\Tools\Scripts\webkitdirs.pm 

sub isAppleWinWebKit()
{
    return (isCygwin() || isWindows()) && !isWinCairo() && !isGtk() && !isWinCE();
}

the problem is that isAppleWinWebKit() means !isWinCairo() ,so the WebKit-r170147\Tools\Scripts\update-webkit line:85 is allways false.
why ? is it a problem?



256481788
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-help/attachments/20140627/7ce03b4f/attachment.html>


More information about the webkit-help mailing list