[webkit-changes] [WebKit/WebKit] a5cc5d: [Xcode] Track "Additional Resources" copied from W...

Elliott Williams noreply at github.com
Thu Sep 7 14:00:44 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: a5cc5d4900a05854a1e68160eff9225450c55bd7
      https://github.com/WebKit/WebKit/commit/a5cc5d4900a05854a1e68160eff9225450c55bd7
  Author: Elliott Williams <emw at apple.com>
  Date:   2023-09-07 (Thu, 07 Sep 2023)

  Changed paths:
    M Source/WebKit/Configurations/Base.xcconfig
    M Source/WebKit/Configurations/DebugRelease.xcconfig
    M Source/WebKit/MigratedHeaders-output.xcfilelist
    M Source/WebKit/WebKit.xcodeproj/project.pbxproj
    M Source/WebKitLegacy/MigratedHeaders-output.xcfilelist
    M Source/WebKitLegacy/WebKitLegacy.xcodeproj/project.pbxproj
    M Source/WebKitLegacy/mac/Configurations/WebKitLegacy.xcconfig
    R Source/WebKitLegacy/scripts/migrate-headers.py
    A Source/WebKitLegacy/scripts/xcfilelist-copy.py

  Log Message:
  -----------
  [Xcode] Track "Additional Resources" copied from WebKitAdditions
https://bugs.webkit.org/show_bug.cgi?id=261240
rdar://115082280

Reviewed by Alexey Proskuryakov.

Use a pair of xcfilelists provided by WebKitAdditions to copy resources,
similarly to how WebKit reads other xcfilelists from WKA. This makes the
build system able to track when these files are changed/removed, and
rerun the script accordingly. It also works towards making WebKit's
module verifier task not re-run spuriously every build.

Generalize the "migrate headers" script used to copy headers respecting
exclude rules, renaming it "xcfilelist-copy.py", and teach it to
optionally perform a plain copy instead of invoking a build rule script.

* Source/WebKit/Configurations/Base.xcconfig:
* Source/WebKit/Configurations/DebugRelease.xcconfig:
* Source/WebKit/MigratedHeaders-output.xcfilelist:
* Source/WebKit/WebKit.xcodeproj/project.pbxproj:
* Source/WebKitLegacy/MigratedHeaders-output.xcfilelist:
* Source/WebKitLegacy/WebKitLegacy.xcodeproj/project.pbxproj:
* Source/WebKitLegacy/mac/Configurations/WebKitLegacy.xcconfig:
* Source/WebKitLegacy/scripts/xcfilelist-copy.py: Renamed from Source/WebKitLegacy/scripts/migrate-headers.py.
(pattern_match):

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




More information about the webkit-changes mailing list