Changeset 195759 in webkit
- Timestamp:
- Jan 28, 2016 10:41:46 AM (8 years ago)
- Location:
- trunk/Tools
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r195746 r195759 1 2016-01-28 Konstantin Tokarev <annulen@yandex.ru> 2 3 Use isAnyWindows() instead of isCygwin() || isWindows() in Perl scripts. 4 https://bugs.webkit.org/show_bug.cgi?id=153594 5 6 Reviewed by Alex Christensen. 7 8 * Scripts/webkitdirs.pm: 9 (determineNumberOfCPUs): 10 (jscPath): 11 (checkFrameworks): 12 (setupCygwinEnv): 13 (wrapperPrefixIfNeeded): 14 (cmakeGeneratedBuildfile): 15 (generateBuildSystemFromCMakeProject): 16 * Scripts/webkitperl/features.pm: 17 (libraryContainsSymbol): 18 1 19 2016-01-28 Chris Dumez <cdumez@apple.com> 2 20 -
trunk/Tools/Scripts/webkitdirs.pm
r195746 r195759 397 397 $numberOfCPUs = (grep /processor/, `cat /proc/cpuinfo`); 398 398 } 399 } elsif (is Windows() || isCygwin()) {399 } elsif (isAnyWindows()) { 400 400 # Assumes cygwin 401 401 $numberOfCPUs = `ls /proc/registry/HKEY_LOCAL_MACHINE/HARDWARE/DESCRIPTION/System/CentralProcessor | wc -w`; … … 418 418 my $jscName = "jsc"; 419 419 $jscName .= "_debug" if configuration() eq "Debug_All"; 420 $jscName .= ".exe" if (is Windows() || isCygwin());420 $jscName .= ".exe" if (isAnyWindows()); 421 421 return "$productDir/$jscName" if -e "$productDir/$jscName"; 422 422 return "$productDir/JavaScriptCore.framework/Resources/$jscName"; … … 930 930 sub checkFrameworks # FIXME: This is a poor name since only the Mac calls built WebCore a Framework. 931 931 { 932 return if is Cygwin() || isWindows();932 return if isAnyWindows(); 933 933 my @frameworks = ("JavaScriptCore", "WebCore"); 934 934 push(@frameworks, "WebKit") if isAppleMacWebKit(); # FIXME: This seems wrong, all ports should have a WebKit these days. … … 1642 1642 sub setupCygwinEnv() 1643 1643 { 1644 return if !is Cygwin() && !isWindows();1644 return if !isAnyWindows(); 1645 1645 return if $vcBuildPath; 1646 1646 … … 1811 1811 sub wrapperPrefixIfNeeded() 1812 1812 { 1813 if (is Windows() || isCygwin()) {1813 if (isAnyWindows()) { 1814 1814 return (); 1815 1815 } … … 1920 1920 if ($willUseNinja) { 1921 1921 return File::Spec->catfile(baseProductDir(), configuration(), "build.ninja") 1922 } elsif (is Windows() || isCygwin()) {1922 } elsif (isAnyWindows()) { 1923 1923 return File::Spec->catfile(baseProductDir(), configuration(), "WebKit.sln") 1924 1924 } else { … … 1978 1978 # between 32-bit and 64-bit architectures. 1979 1979 determineArchitecture(); 1980 if ($architecture ne "x86_64" && !isARM() && !isCrossCompilation() && !is Windows() && !isCygwin()) {1980 if ($architecture ne "x86_64" && !isARM() && !isCrossCompilation() && !isAnyWindows()) { 1981 1981 $ENV{'CXXFLAGS'} = "-march=pentium4 -msse2 -mfpmath=sse " . ($ENV{'CXXFLAGS'} || ""); 1982 1982 } -
trunk/Tools/Scripts/webkitperl/features.pm
r165676 r195759 50 50 my ($path, $symbol) = @_; 51 51 52 if (is Cygwin() or isWindows()) {52 if (isAnyWindows()) { 53 53 # FIXME: Implement this for Windows. 54 54 return 0;
Note: See TracChangeset
for help on using the changeset viewer.