diff options
Diffstat (limited to 'WebKitTools/Scripts/build-webkit')
-rwxr-xr-x | WebKitTools/Scripts/build-webkit | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/WebKitTools/Scripts/build-webkit b/WebKitTools/Scripts/build-webkit index acd7736..4234905 100755 --- a/WebKitTools/Scripts/build-webkit +++ b/WebKitTools/Scripts/build-webkit @@ -2,6 +2,7 @@ # Copyright (C) 2005, 2006 Apple Inc. All rights reserved. # Copyright (C) 2009 Google Inc. All rights reserved. +# Copyright (C) 2010 moiji-mobile.com All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions @@ -330,9 +331,7 @@ if (isGtk()) { } foreach (@features) { - if ($_->{option} eq "coverage") { - push @options, XcodeCoverageSupportOptions() if $coverageSupport; - } else { + if ($_->{option} ne "coverage") { my $option = option($_->{define}, ${$_->{value}}, $_->{default}); push @options, $option unless $option eq ""; } @@ -441,7 +440,9 @@ for my $dir (@projects) { $result = buildQMakeQtProject($dir, $clean, @options); } elsif (isAppleMacWebKit()) { $dir = "MiniBrowser" if $dir eq "WebKitTools/MiniBrowser"; - $result = buildXCodeProject($dir, $clean, @options, @ARGV); + my @local_options = @options; + push @local_options, XcodeCoverageSupportOptions() if $coverageSupport && $dir ne "ANGLE"; + $result = buildXCodeProject($dir, $clean, @local_options, @ARGV); } elsif (isAppleWinWebKit()) { if ($dir eq "WebKit") { $result = buildVisualStudioProject("win/WebKit.vcproj/WebKit.sln", $clean); |