Title: [288147] trunk
Revision
288147
Author
[email protected]
Date
2022-01-18 14:09:12 -0800 (Tue, 18 Jan 2022)

Log Message

Build WebKitSwift when building with make or build-webkit
https://bugs.webkit.org/show_bug.cgi?id=235093

Reviewed by Alexey Proskuryakov.

Source/WebKit:

For various internal reasons, we have to have no depency between the two,
but we command line builders want to build and test it just like everyone else.

* Makefile:

Tools:

* Scripts/build-webkit:

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (288146 => 288147)


--- trunk/Source/WebKit/ChangeLog	2022-01-18 21:46:41 UTC (rev 288146)
+++ trunk/Source/WebKit/ChangeLog	2022-01-18 22:09:12 UTC (rev 288147)
@@ -1,5 +1,17 @@
 2022-01-18  Alex Christensen  <[email protected]>
 
+        Build WebKitSwift when building with make or build-webkit
+        https://bugs.webkit.org/show_bug.cgi?id=235093
+
+        Reviewed by Alexey Proskuryakov.
+
+        For various internal reasons, we have to have no depency between the two,
+        but we command line builders want to build and test it just like everyone else.
+
+        * Makefile:
+
+2022-01-18  Alex Christensen  <[email protected]>
+
         Use c++2a instead of gnu++2a for Cocoa builds
         https://bugs.webkit.org/show_bug.cgi?id=234936
 

Modified: trunk/Source/WebKit/Makefile (288146 => 288147)


--- trunk/Source/WebKit/Makefile	2022-01-18 21:46:41 UTC (rev 288146)
+++ trunk/Source/WebKit/Makefile	2022-01-18 22:09:12 UTC (rev 288147)
@@ -1 +1,2 @@
+export XCODE_TARGET = -target WebKit -target WebKitSwift
 include ../Makefile.shared

Modified: trunk/Tools/ChangeLog (288146 => 288147)


--- trunk/Tools/ChangeLog	2022-01-18 21:46:41 UTC (rev 288146)
+++ trunk/Tools/ChangeLog	2022-01-18 22:09:12 UTC (rev 288147)
@@ -1,5 +1,14 @@
 2022-01-18  Alex Christensen  <[email protected]>
 
+        Build WebKitSwift when building with make or build-webkit
+        https://bugs.webkit.org/show_bug.cgi?id=235093
+
+        Reviewed by Alexey Proskuryakov.
+
+        * Scripts/build-webkit:
+
+2022-01-18  Alex Christensen  <[email protected]>
+
         Use c++2a instead of gnu++2a for Cocoa builds
         https://bugs.webkit.org/show_bug.cgi?id=234936
 

Modified: trunk/Tools/Scripts/build-webkit (288146 => 288147)


--- trunk/Tools/Scripts/build-webkit	2022-01-18 21:46:41 UTC (rev 288146)
+++ trunk/Tools/Scripts/build-webkit	2022-01-18 22:09:12 UTC (rev 288147)
@@ -350,6 +350,12 @@
         push @local_options, XcodeCoverageSupportOptions() if $coverageSupport;
         push @local_options, XcodeStaticAnalyzerOption() if $shouldRunStaticAnalyzer;
         push @local_options, "WK_LTO_MODE=$ltoMode" if ($ltoMode ne "default");
+
+        # FIXME: Move WebKitSwift to its own directory and remove this hack.
+        if ($dir eq "Source/WebKit") {
+            push @local_options, "-target", "WebKit", "-target", "WebKitSwift"
+        }
+
         my $projectPath = $project =~ /gtest/ ? "xcode/gtest" : $project;
         $result = buildXCodeProject($projectPath, $clean, @local_options, @ARGV);
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to