Changeset 96207 in webkit


Ignore:
Timestamp:
Sep 28, 2011 2:27:35 AM (13 years ago)
Author:
Philippe Normand
Message:

[GTK] build-webkit --no-webkit2 still builds WebKit2
https://bugs.webkit.org/show_bug.cgi?id=68892

Reviewed by Martin Robinson.

Take the --no-webkit2 option in account when building WebKitGTK+.

  • Scripts/build-webkit:
  • Scripts/webkitdirs.pm:

(buildAutotoolsProject):
(buildGtkProject):

Location:
trunk/Tools
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r96194 r96207  
     12011-09-27  Philippe Normand  <pnormand@igalia.com>
     2
     3        [GTK] build-webkit --no-webkit2 still builds WebKit2
     4        https://bugs.webkit.org/show_bug.cgi?id=68892
     5
     6        Reviewed by Martin Robinson.
     7
     8        Take the --no-webkit2 option in account when building WebKitGTK+.
     9
     10        * Scripts/build-webkit:
     11        * Scripts/webkitdirs.pm:
     12        (buildAutotoolsProject):
     13        (buildGtkProject):
     14
    1152011-09-28  Ryosuke Niwa  <rniwa@webkit.org>
    216
  • trunk/Tools/Scripts/build-webkit

    r95919 r96207  
    594594    my $project = basename($dir);
    595595    if (isGtk()) {
    596         $result = buildGtkProject($project, $clean, @options);
     596        $result = buildGtkProject($project, $clean, !$noWebKit2, @options);
    597597    } elsif (isQt()) {
    598598        #FIXME: $dir should probably be $project.
  • trunk/Tools/Scripts/webkitdirs.pm

    r95733 r96207  
    14971497sub buildAutotoolsProject($@)
    14981498{
    1499     my ($project, $clean, @buildParams) = @_;
     1499    my ($project, $clean, $enableWebKit2, @buildParams) = @_;
    15001500
    15011501    my $make = 'make';
     
    15301530    # This is a temporary work-around to enable building WebKit2 on the bots,
    15311531    # but ensuring that it does not ship until the API is stable.
    1532     if ($project eq "WebKit" and isGtk()) {
     1532    if ($project eq "WebKit" and isGtk() and $enableWebKit2) {
    15331533        push @buildArgs, "--enable-webkit2";
    15341534    }
     
    18681868sub buildGtkProject
    18691869{
    1870     my ($project, $clean, @buildArgs) = @_;
     1870    my ($project, $clean, $enableWebKit2, @buildArgs) = @_;
    18711871
    18721872    if ($project ne "WebKit" and $project ne "JavaScriptCore") {
     
    18741874    }
    18751875
    1876     return buildAutotoolsProject($project, $clean, @buildArgs);
     1876    return buildAutotoolsProject($project, $clean, $enableWebKit2, @buildArgs);
    18771877}
    18781878
Note: See TracChangeset for help on using the changeset viewer.