Changeset 56160 in webkit


Ignore:
Timestamp:
Mar 18, 2010 7:59:02 AM (14 years ago)
Author:
eric@webkit.org
Message:

2010-03-18 Leandro Pereira <leandro@profusion.mobi>

Reviewed by Kenneth Rohde Christiansen.

Add support to run-launcher to open the EFL example browser.
http://webkit.org/b/36181

  • Scripts/webkitdirs.pm:
  • Scripts/run-launcher:
Location:
trunk/WebKitTools
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebKitTools/ChangeLog

    r56157 r56160  
     12010-03-18  Leandro Pereira  <leandro@profusion.mobi>
     2
     3        Reviewed by Kenneth Rohde Christiansen.
     4
     5        Add support to run-launcher to open the EFL example browser.
     6        http://webkit.org/b/36181
     7
     8        * Scripts/webkitdirs.pm:
     9        * Scripts/run-launcher:
     10
    1112010-03-18  Sergio Villar Senin  <svillar@igalia.com>
    212
  • trunk/WebKitTools/Scripts/run-launcher

    r49852 r56160  
    6565    }
    6666   
     67    if (isEfl()) {
     68        $launcherPath = catdir($launcherPath, "Programs", "EWebLauncher");
     69    }
     70   
    6771    if (isWx()) {
    6872        if (isDarwin()) {
  • trunk/WebKitTools/Scripts/webkitdirs.pm

    r56113 r56160  
    6464my $isGtk;
    6565my $isWx;
     66my $isEfl;
    6667my @wxArgs;
    6768my $isChromium;
     
    246247    push(@args, '--symbian') if isSymbian();
    247248    push(@args, '--gtk') if isGtk();
     249    push(@args, '--efl') if isEfl();
    248250    push(@args, '--wx') if isWx();
    249251    push(@args, '--chromium') if isChromium();
     
    271273        $configurationProductDir = "$baseProductDir/bin";
    272274    } else {
    273         # [Gtk] We don't have Release/Debug configurations in straight
     275        # [Gtk][Efl] We don't have Release/Debug configurations in straight
    274276        # autotool builds (non build-webkit). In this case and if
    275277        # WEBKITOUTPUTDIR exist, use that as our configuration dir. This will
    276278        # allows us to run run-webkit-tests without using build-webkit.
    277         if ($ENV{"WEBKITOUTPUTDIR"} && isGtk()) {
     279        if ($ENV{"WEBKITOUTPUTDIR"} && (isGtk() || isEfl())) {
    278280            $configurationProductDir = "$baseProductDir";
    279281        } else {
     
    326328    $productDir .= "/JavaScriptCore" if isQt();
    327329    $productDir .= "/$configuration" if (isQt() && isWindows());
    328     $productDir .= "/Programs" if isGtk();
     330    $productDir .= "/Programs" if (isGtk() || isEfl());
    329331
    330332    return $productDir;
     
    564566        return "$configurationProductDir/$libraryName/../.libs/libwebkit-1.0.so";
    565567    }
     568    if (isEfl()) {
     569        return "$configurationProductDir/$libraryName/../.libs/libewebkit.so";
     570    }
    566571    if (isAppleMacWebKit()) {
    567572        return "$configurationProductDir/$libraryName.framework/Versions/A/$libraryName";
     
    663668    }
    664669
    665     # The presence of QTDIR only means Qt if --gtk is not on the command-line
    666     if (isGtk() || isWx()) {
     670    # The presence of QTDIR only means Qt if --gtk or --wx or --efl are not on the command-line
     671    if (isGtk() || isWx() || isEfl()) {
    667672        $isQt = 0;
    668673        return;
     
    682687
    683688    $isSymbian = defined($ENV{'EPOCROOT'});
     689}
     690
     691sub determineIsEfl()
     692{
     693    return if defined($isEfl);
     694    $isEfl = checkForArgumentAndRemoveFromARGV("--efl");
     695}
     696
     697sub isEfl()
     698{
     699    determineIsEfl();
     700    return $isEfl;
    684701}
    685702
     
    775792sub isAppleWebKit()
    776793{
    777     return !(isQt() or isGtk() or isWx() or isChromium());
     794    return !(isQt() or isGtk() or isWx() or isChromium() or isEfl());
    778795}
    779796
     
    862879{
    863880    my $relativeScriptsPath = relativeScriptsDir();
    864     if (isGtk() || isQt() || isWx()) {
     881    if (isGtk() || isQt() || isWx() || isEfl()) {
    865882        return "$relativeScriptsPath/run-launcher";
    866883    } elsif (isAppleWebKit()) {
     
    879896    } elsif (isAppleWebKit()) {
    880897        return "Safari";
     898    } elsif (isEfl()) {
     899        return "EWebLauncher";
    881900    }
    882901}
     
    901920            print "*************************************************************\n";
    902921        }
    903     } elsif (isGtk() or isQt() or isWx()) {
     922    } elsif (isGtk() or isQt() or isWx() or isEfl()) {
    904923        my @cmds = qw(flex bison gperf);
    905924        my @missing = ();
     
    10461065        my $prefix = $ENV{"WebKitInstallationPrefix"};
    10471066        $inspectorResourcesDirPath = (defined($prefix) ? $prefix : "/usr/share") . "/webkit-1.0/webinspector";
     1067    } elsif (isEfl()) {
     1068        my $prefix = $ENV{"WebKitInstallationPrefix"};
     1069        $inspectorResourcesDirPath = (defined($prefix) ? $prefix : "/usr/share") . "/ewebkit/webinspector";
    10481070    }
    10491071
Note: See TracChangeset for help on using the changeset viewer.