Changeset 56160 in webkit
- Timestamp:
- Mar 18, 2010 7:59:02 AM (14 years ago)
- Location:
- trunk/WebKitTools
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebKitTools/ChangeLog
r56157 r56160 1 2010-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 1 11 2010-03-18 Sergio Villar Senin <svillar@igalia.com> 2 12 -
trunk/WebKitTools/Scripts/run-launcher
r49852 r56160 65 65 } 66 66 67 if (isEfl()) { 68 $launcherPath = catdir($launcherPath, "Programs", "EWebLauncher"); 69 } 70 67 71 if (isWx()) { 68 72 if (isDarwin()) { -
trunk/WebKitTools/Scripts/webkitdirs.pm
r56113 r56160 64 64 my $isGtk; 65 65 my $isWx; 66 my $isEfl; 66 67 my @wxArgs; 67 68 my $isChromium; … … 246 247 push(@args, '--symbian') if isSymbian(); 247 248 push(@args, '--gtk') if isGtk(); 249 push(@args, '--efl') if isEfl(); 248 250 push(@args, '--wx') if isWx(); 249 251 push(@args, '--chromium') if isChromium(); … … 271 273 $configurationProductDir = "$baseProductDir/bin"; 272 274 } else { 273 # [Gtk] We don't have Release/Debug configurations in straight275 # [Gtk][Efl] We don't have Release/Debug configurations in straight 274 276 # autotool builds (non build-webkit). In this case and if 275 277 # WEBKITOUTPUTDIR exist, use that as our configuration dir. This will 276 278 # allows us to run run-webkit-tests without using build-webkit. 277 if ($ENV{"WEBKITOUTPUTDIR"} && isGtk()) {279 if ($ENV{"WEBKITOUTPUTDIR"} && (isGtk() || isEfl())) { 278 280 $configurationProductDir = "$baseProductDir"; 279 281 } else { … … 326 328 $productDir .= "/JavaScriptCore" if isQt(); 327 329 $productDir .= "/$configuration" if (isQt() && isWindows()); 328 $productDir .= "/Programs" if isGtk();330 $productDir .= "/Programs" if (isGtk() || isEfl()); 329 331 330 332 return $productDir; … … 564 566 return "$configurationProductDir/$libraryName/../.libs/libwebkit-1.0.so"; 565 567 } 568 if (isEfl()) { 569 return "$configurationProductDir/$libraryName/../.libs/libewebkit.so"; 570 } 566 571 if (isAppleMacWebKit()) { 567 572 return "$configurationProductDir/$libraryName.framework/Versions/A/$libraryName"; … … 663 668 } 664 669 665 # The presence of QTDIR only means Qt if --gtk isnot on the command-line666 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()) { 667 672 $isQt = 0; 668 673 return; … … 682 687 683 688 $isSymbian = defined($ENV{'EPOCROOT'}); 689 } 690 691 sub determineIsEfl() 692 { 693 return if defined($isEfl); 694 $isEfl = checkForArgumentAndRemoveFromARGV("--efl"); 695 } 696 697 sub isEfl() 698 { 699 determineIsEfl(); 700 return $isEfl; 684 701 } 685 702 … … 775 792 sub isAppleWebKit() 776 793 { 777 return !(isQt() or isGtk() or isWx() or isChromium() );794 return !(isQt() or isGtk() or isWx() or isChromium() or isEfl()); 778 795 } 779 796 … … 862 879 { 863 880 my $relativeScriptsPath = relativeScriptsDir(); 864 if (isGtk() || isQt() || isWx() ) {881 if (isGtk() || isQt() || isWx() || isEfl()) { 865 882 return "$relativeScriptsPath/run-launcher"; 866 883 } elsif (isAppleWebKit()) { … … 879 896 } elsif (isAppleWebKit()) { 880 897 return "Safari"; 898 } elsif (isEfl()) { 899 return "EWebLauncher"; 881 900 } 882 901 } … … 901 920 print "*************************************************************\n"; 902 921 } 903 } elsif (isGtk() or isQt() or isWx() ) {922 } elsif (isGtk() or isQt() or isWx() or isEfl()) { 904 923 my @cmds = qw(flex bison gperf); 905 924 my @missing = (); … … 1046 1065 my $prefix = $ENV{"WebKitInstallationPrefix"}; 1047 1066 $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"; 1048 1070 } 1049 1071
Note: See TracChangeset
for help on using the changeset viewer.