|
Lines 35-40
use lib $FindBin::Bin;
a/Tools/Scripts/build-jsc_sec1
|
| 35 |
use webkitdirs; |
35 |
use webkitdirs; |
| 36 |
use POSIX; |
36 |
use POSIX; |
| 37 |
|
37 |
|
|
|
38 |
sub writeCongrats(); |
| 39 |
|
| 38 |
my $coverageSupport = 0; |
40 |
my $coverageSupport = 0; |
| 39 |
my $showHelp = 0; |
41 |
my $showHelp = 0; |
| 40 |
my $ftlJIT = isAppleWebKit(); |
42 |
my $ftlJIT = isAppleWebKit(); |
|
Lines 42-47
my $forceCLoop = 0;
a/Tools/Scripts/build-jsc_sec2
|
| 42 |
my $cli = 0; |
44 |
my $cli = 0; |
| 43 |
my $makeArgs = ""; |
45 |
my $makeArgs = ""; |
| 44 |
my $copyLibraries = 1; |
46 |
my $copyLibraries = 1; |
|
|
47 |
my $startTime = time(); |
| 45 |
|
48 |
|
| 46 |
my $programName = basename($0); |
49 |
my $programName = basename($0); |
| 47 |
my $usage = <<EOF; |
50 |
my $usage = <<EOF; |
|
Lines 85-90
if (cmakeBasedPortName()) {
a/Tools/Scripts/build-jsc_sec3
|
| 85 |
|
88 |
|
| 86 |
# This call only returns if nothing wrong happened |
89 |
# This call only returns if nothing wrong happened |
| 87 |
buildCMakeProjectOrExit(0, cmakeBasedPortName(), undef, "jsc $makeArgs", (cmakeBasedPortArguments(), $cmakeArgs)); |
90 |
buildCMakeProjectOrExit(0, cmakeBasedPortName(), undef, "jsc $makeArgs", (cmakeBasedPortArguments(), $cmakeArgs)); |
|
|
91 |
writeCongrats(); |
| 88 |
exit exitStatus(0); |
92 |
exit exitStatus(0); |
| 89 |
} |
93 |
} |
| 90 |
|
94 |
|
|
Lines 127-132
sub buildMyProject
a/Tools/Scripts/build-jsc_sec4
|
| 127 |
chdirWebKit(); |
131 |
chdirWebKit(); |
| 128 |
} |
132 |
} |
| 129 |
|
133 |
|
|
|
134 |
sub writeCongrats() |
| 135 |
{ |
| 136 |
my $endTime = time(); |
| 137 |
my $buildTime = formatBuildTime($endTime - $startTime); |
| 138 |
|
| 139 |
print "\n"; |
| 140 |
print "====================================================================\n"; |
| 141 |
print " JavaScriptCore is now built ($buildTime). \n"; |
| 142 |
print "====================================================================\n"; |
| 143 |
} |
| 144 |
|
| 130 |
if (!isAppleWinWebKit() && !isWinCairo()) { |
145 |
if (!isAppleWinWebKit() && !isWinCairo()) { |
| 131 |
buildMyProject("Source/bmalloc", "bmalloc"); |
146 |
buildMyProject("Source/bmalloc", "bmalloc"); |
| 132 |
} |
147 |
} |