Title: [103464] trunk/Tools
- Revision
- 103464
- Author
- dba...@webkit.org
- Date
- 2011-12-21 15:22:05 -0800 (Wed, 21 Dec 2011)
Log Message
Teach build-jsc how to build _javascript_Core for the EFL, BlackBerry, and WinCE ports
https://bugs.webkit.org/show_bug.cgi?id=74985
Patch by Daniel Bates <dba...@rim.com> on 2011-12-21
Reviewed by Eric Seidel.
* Scripts/build-jsc:
* Scripts/webkitdirs.pm:
(cmakeBasedPortName): Added.
Modified Paths
Diff
Modified: trunk/Tools/ChangeLog (103463 => 103464)
--- trunk/Tools/ChangeLog 2011-12-21 23:12:25 UTC (rev 103463)
+++ trunk/Tools/ChangeLog 2011-12-21 23:22:05 UTC (rev 103464)
@@ -1,5 +1,16 @@
2011-12-21 Daniel Bates <dba...@rim.com>
+ Teach build-jsc how to build _javascript_Core for the EFL, BlackBerry, and WinCE ports
+ https://bugs.webkit.org/show_bug.cgi?id=74985
+
+ Reviewed by Eric Seidel.
+
+ * Scripts/build-jsc:
+ * Scripts/webkitdirs.pm:
+ (cmakeBasedPortName): Added.
+
+2011-12-21 Daniel Bates <dba...@rim.com>
+
Extract BlackBerry CMake arguments from build-webkit into separate function
https://bugs.webkit.org/show_bug.cgi?id=74981
Modified: trunk/Tools/Scripts/build-jsc (103463 => 103464)
--- trunk/Tools/Scripts/build-jsc 2011-12-21 23:12:25 UTC (rev 103463)
+++ trunk/Tools/Scripts/build-jsc 2011-12-21 23:22:05 UTC (rev 103464)
@@ -77,6 +77,8 @@
} elsif (isWx()) {
# Builds everything in one-shot. No need to build anything here.
$result = 0;
+} elsif (cmakeBasedPortName()) {
+ buildCMakeProjectOrExit(0, cmakeBasedPortName(), undef, undef, ("-DONLY_BUILD_JAVASCRIPTCORE=1", cmakeBasedPortArguments())); # This call never returns.
} else {
die "Building not defined for this platform!\n";
}
Modified: trunk/Tools/Scripts/webkitdirs.pm (103463 => 103464)
--- trunk/Tools/Scripts/webkitdirs.pm 2011-12-21 23:12:25 UTC (rev 103463)
+++ trunk/Tools/Scripts/webkitdirs.pm 2011-12-21 23:22:05 UTC (rev 103464)
@@ -53,6 +53,7 @@
&chdirWebKit
&checkFrameworks
&cmakeBasedPortArguments
+ &cmakeBasedPortName
¤tSVNRevision
&debugSafari
&passedConfiguration
@@ -1940,6 +1941,14 @@
return ();
}
+sub cmakeBasedPortName()
+{
+ return "BlackBerry" if isBlackBerry();
+ return "Efl" if isEfl();
+ return "WinCE" if isWinCE();
+ return "";
+}
+
sub promptUser
{
my ($prompt, $default) = @_;
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes