Changeset 172419 in webkit


Ignore:
Timestamp:
Aug 11, 2014 4:40:52 PM (10 years ago)
Author:
mitz@apple.com
Message:

Added an update-webkit option to update the auxiliary libraries or not.
Part of https://bugs.webkit.org/show_bug.cgi?id=135815

Reviewed by Tim Horton.

  • Scripts/update-webkit: Added --[no-]auxiliary-libs option, which defaults to yes unless

an Internal directory exists alongside the WebKit root directory.

Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r172418 r172419  
     12014-08-11  Dan Bernstein  <mitz@apple.com>
     2
     3        Added an update-webkit option to update the auxiliary libraries or not.
     4        Part of https://bugs.webkit.org/show_bug.cgi?id=135815
     5
     6        Reviewed by Tim Horton.
     7
     8        * Scripts/update-webkit: Added --[no-]auxiliary-libs option, which defaults to yes unless
     9        an Internal directory exists alongside the WebKit root directory.
     10
    1112014-08-11  Bem Jones-Bey  <bjonesbe@adobe.com>
    212
  • trunk/Tools/Scripts/update-webkit

    r165676 r172419  
    5151chdirWebKit();
    5252
     53# FIXME: Remove the check for ../Internal once Apple-internal users of this script pass --no-auxiliary-libs
     54my $auxiliaryLibs = ! -d "../Internal";
     55
    5356my $getOptionsResult = GetOptions(
    5457    'h|help'  => \$showHelp,
    5558    'q|quiet' => \$quiet,
     59    'auxiliary-libs!' => \$auxiliaryLibs,
    5660);
    5761
     
    5963    print STDERR <<__END__;
    6064Usage: @{[ basename($0) ]} [options]
    61   -h|--help           show the help message
    62   -q|--quiet          pass -q to svn update for quiet updates
    63   --wincairo          also update dependencies of the WinCairo port
     65  -h|--help                 show the help message
     66  -q|--quiet                pass -q to svn update for quiet updates
     67  --[no-]auxiliary-libs     [don\'t] update the auxiliary libraries for Windows (default: update)
     68  --wincairo                also update dependencies of the WinCairo port
    6469__END__
    6570    exit 1;
     
    8186    runSvnUpdate() if isSVNDirectory(".");
    8287    runGitUpdate() if isGitDirectory(".");
    83 } elsif (isAppleWinWebKit()) {
     88}
     89
     90if (isAppleWinWebKit() && $auxiliaryLibs) {
    8491    system("perl", "Tools/Scripts/update-webkit-auxiliary-libs") == 0 or die;
    8592    if (isWinCairo()) {
Note: See TracChangeset for help on using the changeset viewer.