Changeset 287944 in webkit


Ignore:
Timestamp:
Jan 12, 2022, 12:17:59 PM (4 years ago)
Author:
commit-queue@webkit.org
Message:

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

Patch by Alex Christensen <achristensen@webkit.org> on 2022-01-12
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:
Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/ChangeLog

    r287930 r287944  
     12022-01-12  Alex Christensen  <achristensen@webkit.org>
     2
     3        Build WebKitSwift when building with make or build-webkit
     4        https://bugs.webkit.org/show_bug.cgi?id=235093
     5
     6        Reviewed by Alexey Proskuryakov.
     7
     8        For various internal reasons, we have to have no depency between the two,
     9        but we command line builders want to build and test it just like everyone else.
     10
     11        * Makefile:
     12
    1132022-01-12  Jer Noble  <jer.noble@apple.com>
    214
  • trunk/Source/WebKit/Makefile

    r248032 r287944  
     1export XCODE_TARGET = -target WebKit -target WebKitSwift
    12include ../Makefile.shared
  • trunk/Tools/ChangeLog

    r287907 r287944  
     12022-01-12  Alex Christensen  <achristensen@webkit.org>
     2
     3        Build WebKitSwift when building with make or build-webkit
     4        https://bugs.webkit.org/show_bug.cgi?id=235093
     5
     6        Reviewed by Alexey Proskuryakov.
     7
     8        * Scripts/build-webkit:
     9
    1102022-01-11  Geoffrey Garen  <ggaren@apple.com>
    211
  • trunk/Tools/Scripts/build-webkit

    r285608 r287944  
    351351        push @local_options, XcodeStaticAnalyzerOption() if $shouldRunStaticAnalyzer;
    352352        push @local_options, "WK_LTO_MODE=$ltoMode" if ($ltoMode ne "default");
     353
     354        # FIXME: Move WebKitSwift to its own directory and remove this hack.
     355        if ($dir eq "Source/WebKit") {
     356            push @local_options, "-target", "WebKit", "-target", "WebKitSwift"
     357        }
     358
    353359        my $projectPath = $project =~ /gtest/ ? "xcode/gtest" : $project;
    354360        $result = buildXCodeProject($projectPath, $clean, @local_options, @ARGV);
Note: See TracChangeset for help on using the changeset viewer.