[webkit-changes] [WebKit/WebKit] a3582b: [iOS] Embed app extensions in TestWebKitAPI.app

aestes noreply at github.com
Tue Feb 25 22:15:36 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: a3582be7d3267c8a3ac7e1a9da53925c4359c8bf
      https://github.com/WebKit/WebKit/commit/a3582be7d3267c8a3ac7e1a9da53925c4359c8bf
  Author: Andy Estes <aestes at apple.com>
  Date:   2025-02-25 (Tue, 25 Feb 2025)

  Changed paths:
    A Tools/TestRunnerShared/Scripts/install-extensions-rule.sh
    M Tools/TestWebKitAPI/Configurations/TestWebKitAPIApp.xcconfig
    M Tools/TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj
    R Tools/WebKitTestRunner/Scripts/install-extensions-rule.sh
    M Tools/WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj

  Log Message:
  -----------
  [iOS] Embed app extensions in TestWebKitAPI.app
https://bugs.webkit.org/show_bug.cgi?id=288417
rdar://145514969

Reviewed by Elliott Williams.

So that the locally-built versions of GPUExtension.appex, NetworkingExtension.appex, and
WebContentExtension.appex are used at runtime when running TestWebKitAPI.app, embed them in the
app's bundle like we do in WebKitTestRunner.app.

To avoid duplicating the logic in Tools/WebKitTestRunner/Scripts/install-extensions-rule.sh, moved
the file to Tools/TestRunnerShared/Scripts. Modified the script to be portable to both test runners.

* Tools/TestRunnerShared/Scripts/install-extensions-rule.sh:
Renamed from Tools/WebKitTestRunner/Scripts/install-extensions-rule.sh.

* Tools/TestWebKitAPI/Configurations/TestWebKitAPIApp.xcconfig:
Enabled APPLY_RULES_IN_COPY_FILES.

* Tools/TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
Added a Copy Files build rule to embed app extensions; added a custom build rule to invoke
install-extensions-rule.sh.

* Tools/WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj:
Updated the path to install-extensions-rule.sh.

Canonical link: https://commits.webkit.org/291094@main



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list