Title: [98390] trunk/Tools
Revision
98390
Author
[email protected]
Date
2011-10-25 13:54:27 -0700 (Tue, 25 Oct 2011)

Log Message

Add a --make option to update-webkit to engage the Makefile-based build system
https://bugs.webkit.org/show_bug.cgi?id=70847

Reviewed by Dimitri Glazkov.

I can never remember what crazy environment variables I'm supposed to
set to tell GYP what to do.

* Scripts/update-webkit:

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (98389 => 98390)


--- trunk/Tools/ChangeLog	2011-10-25 20:46:14 UTC (rev 98389)
+++ trunk/Tools/ChangeLog	2011-10-25 20:54:27 UTC (rev 98390)
@@ -1,3 +1,15 @@
+2011-10-25  Adam Barth  <[email protected]>
+
+        Add a --make option to update-webkit to engage the Makefile-based build system
+        https://bugs.webkit.org/show_bug.cgi?id=70847
+
+        Reviewed by Dimitri Glazkov.
+
+        I can never remember what crazy environment variables I'm supposed to
+        set to tell GYP what to do.
+
+        * Scripts/update-webkit:
+
 2011-10-25  Raphael Kubo da Costa  <[email protected]>
 
         [EFL] DRT: Force layout when sending events.

Modified: trunk/Tools/Scripts/update-webkit (98389 => 98390)


--- trunk/Tools/Scripts/update-webkit	2011-10-25 20:46:14 UTC (rev 98389)
+++ trunk/Tools/Scripts/update-webkit	2011-10-25 20:54:27 UTC (rev 98390)
@@ -47,6 +47,7 @@
 my $quiet = '';
 my $showHelp;
 my $useGYP = 0;
+my $useMake = 0;
 
 determineIsChromium();
 determineIsChromiumAndroid();
@@ -59,12 +60,14 @@
     'h|help'  => \$showHelp,
     'q|quiet' => \$quiet,
     'gyp' => \$useGYP,
+    'make' => \$useMake,
 ); 
 
 if (!$getOptionsResult || $showHelp) {
     print STDERR <<__END__;
 Usage: @{[ basename($0) ]} [options]
   --chromium          also update dependencies of the chromium port
+  --make              generate the Makefile-based build system (Chromium only)
   --chromium-android  also update dependencies of the chromium port for Android
   -h|--help           show the help message
   -q|--quiet          pass -q to svn update for quiet updates
@@ -74,6 +77,10 @@
     exit 1;
 }
 
+if ($useMake) {
+    $ENV{"GYP_GENERATORS"} = "make";
+}
+
 my $startTime = time();
 
 my @svnOptions = ();
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to