summaryrefslogtreecommitdiffstats
path: root/Tools/Scripts/build-jsc
diff options
context:
space:
mode:
Diffstat (limited to 'Tools/Scripts/build-jsc')
-rwxr-xr-xTools/Scripts/build-jsc8
1 files changed, 5 insertions, 3 deletions
diff --git a/Tools/Scripts/build-jsc b/Tools/Scripts/build-jsc
index 0316349..c9d4134 100755
--- a/Tools/Scripts/build-jsc
+++ b/Tools/Scripts/build-jsc
@@ -61,14 +61,16 @@ chdirWebKit();
my @options = XcodeOptions();
my @coverageSupportOptions = ($coverageSupport) ? XcodeCoverageSupportOptions() : ();
-chdir "JavaScriptCore" or die "Can't find JavaScriptCore directory to build from";
+chdir "Source/JavaScriptCore" or die "Can't find JavaScriptCore directory to build from";
my $result;
if (isAppleMacWebKit()) {
$result = system "sh", "-c", 'xcodebuild -project JavaScriptCore.xcodeproj "$@" | grep -v setenv && exit ${PIPESTATUS[0]}', "xcodebuild", @options, @ARGV, @coverageSupportOptions;
} elsif (isAppleWinWebKit()) {
$result = buildVisualStudioProject("JavaScriptCore.vcproj/JavaScriptCore.sln");
-} elsif (isQt() or isGtk() or isWx()) {
- # Qt and Gtk build everything in one-shot. No need to build anything here.
+} elsif (isGtk()) {
+ $result = buildGtkProject("JavaScriptCore");
+} elsif (isQt() or isWx()) {
+ # Qt builds everything in one-shot. No need to build anything here.
$result = 0;
} else {
die "Building not defined for this platform!\n";