Changeset 63748 in webkit


Ignore:
Timestamp:
Jul 20, 2010 9:30:41 AM (14 years ago)
Author:
tony@chromium.org
Message:

2010-07-20 Tony Chang <tony@chromium.org>

Reviewed by David Levin.

[chromium] only pass --force to gclient sync if explicitly stated
https://bugs.webkit.org/show_bug.cgi?id=42581

  • BuildSlaveSupport/build.webkit.org-config/master.cfg: bots should

always pass --force since it's hard to do manual cleanups

  • Scripts/update-webkit-chromium: only pass --force if --force is

passed in

Location:
trunk/WebKitTools
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebKitTools/BuildSlaveSupport/build.webkit.org-config/master.cfg

    r63661 r63748  
    6666    description = ["updating chromium dependencies"]
    6767    descriptionDone = ["updated chromium dependencies"]
    68     command = ["perl", "./WebKitTools/Scripts/update-webkit-chromium"]
     68    command = ["perl", "./WebKitTools/Scripts/update-webkit-chromium", "--force"]
    6969    haltOnFailure = True
    7070
  • trunk/WebKitTools/ChangeLog

    r63714 r63748  
     12010-07-20  Tony Chang  <tony@chromium.org>
     2
     3        Reviewed by David Levin.
     4
     5        [chromium] only pass --force to gclient sync if explicitly stated
     6        https://bugs.webkit.org/show_bug.cgi?id=42581
     7
     8        * BuildSlaveSupport/build.webkit.org-config/master.cfg: bots should
     9              always pass --force since it's hard to do manual cleanups
     10        * Scripts/update-webkit-chromium: only pass --force if --force is
     11              passed in
     12
    1132010-07-19  Anders Carlsson  <andersca@apple.com>
    214
  • trunk/WebKitTools/Scripts/update-webkit-chromium

    r61363 r63748  
    3030
    3131use File::Path;
     32use Getopt::Long;
    3233
    3334chdir("WebKit/chromium") or die $!;
     
    4849    # If .gclient configuration file doesn't exist, create it.
    4950    print "Configuring gclient...\n";
    50     system($gclientPath, 
     51    system($gclientPath,
    5152           "config",
    5253           "--spec=solutions=[{'name':'./','url':None}]") == 0 or die $!;
    5354}
    5455
     56my $force = 0;
     57GetOptions(
     58  'force' => \$force,
     59);
     60
    5561# Execute gclient sync.
    5662print "Updating chromium port dependencies using gclient...\n";
    57 system($gclientPath, "sync", "--force") == 0 or die $!;
     63my @gclientArgs = ($gclientPath, "sync");
     64push @gclientArgs, "--force" if $force;
     65system(@gclientArgs) == 0 or die $!;
Note: See TracChangeset for help on using the changeset viewer.