+2013-06-12 Hugo Parente Lima <hugo.lima@openbossa.org>
+
+ Remove last bits of GYP from build-webkit and update-webkit scripts
+ https://bugs.webkit.org/show_bug.cgi?id=117557
+
+ Reviewed by Ryosuke Niwa.
+
+ * Scripts/build-webkit:
+ * Scripts/update-webkit:
+
2013-06-12 Hugo Parente Lima <hugo.lima@openbossa.org>
Remove forgotten unused Tools/Script/make-gypi script
my $showHelp = 0;
my $clean = 0;
-my $useGYP = 0;
my $minimal = 0;
my $installHeaders;
my $installLibs;
--sdk=<sdk> Use a specific Xcode SDK (iOS and Mac only)
--device Use the current iphoneos.internal SDK (iOS only)
--simulator Use the current iphonesimulator SDK (iOS only)
- --gyp Use GYP-generated project files
--coverage Enable Code Coverage support (Mac only)
--blackberry Build the BlackBerry port on Mac/Linux
my %options = (
'help' => \$showHelp,
'clean' => \$clean,
- 'gyp' => \$useGYP,
'install-headers=s' => \$installHeaders,
'install-libs=s' => \$installLibs,
'prefix=s' => \$prefixPath,
die "Error: No WebKitLibraries directory found. Please do a fresh checkout.\n";
}
-# Generate the generate project files from .gyp files
-if ($useGYP) {
- system("perl", "Tools/Scripts/generate-project-files") == 0 or die "Failed to run generate-project-files";
-}
-
my @options = ();
if (isAppleMacWebKit()) {
} elsif (isAppleMacWebKit()) {
my @local_options = @options;
push @local_options, XcodeCoverageSupportOptions() if $coverageSupport && $project ne "ANGLE";
- my $useGYPProject = $useGYP && ($project =~ "WebCore|JavaScriptCore");
- my $projectPath = $useGYPProject ? "gyp/$project" : $project;
- $projectPath = $project =~ /gtest/ ? "xcode/gtest" : $project;
+ my $projectPath = $project =~ /gtest/ ? "xcode/gtest" : $project;
$result = buildXCodeProject($projectPath, $clean, @local_options, @ARGV);
} elsif (isAppleWinWebKit()) {
if ($project eq "WebKit") {
# Handle options
my $quiet = '';
my $showHelp;
-my $useGYP = 0;
determineIsQt();
determineIsWinCairo();
my $getOptionsResult = GetOptions(
'h|help' => \$showHelp,
'q|quiet' => \$quiet,
- 'gyp' => \$useGYP,
);
if (!$getOptionsResult || $showHelp) {
Usage: @{[ basename($0) ]} [options]
-h|--help show the help message
-q|--quiet pass -q to svn update for quiet updates
- --gyp generate project files from gyp after update
--wincairo also update dependencies of the WinCairo port
__END__
exit 1;
setupAppleWinEnv() if isAppleWinWebKit();
-if ($useGYP) {
- print "Generating Project Files\n";
- system("perl", "Tools/Scripts/generate-project-files") == 0 or die "Failed to run generate-project-files";
-}
-
exit 0;
sub runSvnUpdate()