Title: [106617] trunk/Tools
Revision
106617
Author
[email protected]
Date
2012-02-02 19:18:53 -0800 (Thu, 02 Feb 2012)

Log Message

[chromium] add support for --makeargs to the ninja-based build
https://bugs.webkit.org/show_bug.cgi?id=77688

Reviewed by Adam Barth.

* Scripts/webkitdirs.pm:
(buildChromiumNinja):

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (106616 => 106617)


--- trunk/Tools/ChangeLog	2012-02-03 03:03:16 UTC (rev 106616)
+++ trunk/Tools/ChangeLog	2012-02-03 03:18:53 UTC (rev 106617)
@@ -1,3 +1,13 @@
+2012-02-02  Jochen Eisinger  <[email protected]>
+
+        [chromium] add support for --makeargs to the ninja-based build
+        https://bugs.webkit.org/show_bug.cgi?id=77688
+
+        Reviewed by Adam Barth.
+
+        * Scripts/webkitdirs.pm:
+        (buildChromiumNinja):
+
 2012-02-02  Eric Seidel  <[email protected]>
 
         Run tests in serial on SnowLeopard to avoid CFURLCache crashes

Modified: trunk/Tools/Scripts/webkitdirs.pm (106616 => 106617)


--- trunk/Tools/Scripts/webkitdirs.pm	2012-02-03 03:03:16 UTC (rev 106616)
+++ trunk/Tools/Scripts/webkitdirs.pm	2012-02-03 03:18:53 UTC (rev 106617)
@@ -2309,9 +2309,13 @@
     # rm -rf out requires rerunning gyp, so don't support --clean for now.
     my ($target, @options) = @_;
     my $config = configuration();
+    my $makeArgs;
+    for (@options) {
+        $makeArgs = $1 if /^--makeargs=(.*)/i;
+    }
     my $command = "";
 
-    $command .= "ninja -C out/$config $target";
+    $command .= "ninja -C out/$config $target $makeArgs";
 
     print "$command\n";
     return system $command;
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to