⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 282446 in webkit


Ignore:
Timestamp:
Sep 15, 2021, 2:53:27 AM (5 years ago)
Author:
timothy_horton@apple.com
Message:

Remove the "Replace WebKitAdditions in Framework Headers" build phase
https://bugs.webkit.org/show_bug.cgi?id=230300

Reviewed by Wenson Hsieh.

  • WebKit.xcodeproj/project.pbxproj:
  • mac/replace-webkit-additions-includes.py: Removed.

As Wenson pointed out in bug 230198, this build phase is currently unused.
It's also wasting a quarter of the WebKit-only null build time, so let's
just remove it and hope we never need it again (but if we do, it's in the history!).
This gets us down to 11 seconds on the same benchmark mentioned in r282367.

Location:
trunk/Source/WebKit
Files:
1 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/ChangeLog

    r282430 r282446  
     12021-09-15  Tim Horton  <timothy_horton@apple.com>
     2
     3        Remove the "Replace WebKitAdditions in Framework Headers" build phase
     4        https://bugs.webkit.org/show_bug.cgi?id=230300
     5
     6        Reviewed by Wenson Hsieh.
     7
     8        * WebKit.xcodeproj/project.pbxproj:
     9        * mac/replace-webkit-additions-includes.py: Removed.
     10        As Wenson pointed out in bug 230198, this build phase is currently unused.
     11        It's also wasting a quarter of the WebKit-only null build time, so let's
     12        just remove it and hope we never need it again (but if we do, it's in the history!).
     13        This gets us down to 11 seconds on the same benchmark mentioned in r282367.
     14
    1152021-09-14  Don Olmstead  <don.olmstead@sony.com>
    216
  • trunk/Source/WebKit/WebKit.xcodeproj/project.pbxproj

    r282317 r282446  
    1341313413                                375A248817E5048E00C9A086 /* Postprocess WKBase.h */,
    1341413414                                1AD98ECF191D867300CAA6DF /* Postprocess WKFoundation.h */,
    13415                                 F4EFBAD522540CBB00049BA6 /* Replace WebKitAdditions in Framework Headers */,
    1341613415                                1A1D2115191D96380001619F /* Postprocess Framework Headers */,
    1341713416                                2E16B6F42019BC25008996D6 /* Copy Additional Resources */,
     
    1425014249                        shellPath = /bin/sh;
    1425114250                        shellScript = "echo \"Preprocessing sandbox\"\nScripts/generate-derived-sources.sh sandbox-profiles-ios\ncp ${BUILT_PRODUCTS_DIR}/DerivedSources/WebKit2/com.apple.WebKit.WebContent.sb ${DSTROOT}/${INSTALL_PATH}\n";
    14252                 };
    14253                 F4EFBAD522540CBB00049BA6 /* Replace WebKitAdditions in Framework Headers */ = {
    14254                         isa = PBXShellScriptBuildPhase;
    14255                         buildActionMask = 2147483647;
    14256                         files = (
    14257                         );
    14258                         inputPaths = (
    14259                         );
    14260                         name = "Replace WebKitAdditions in Framework Headers";
    14261                         outputPaths = (
    14262                         );
    14263                         runOnlyForDeploymentPostprocessing = 0;
    14264                         shellPath = /bin/sh;
    14265                         shellScript = "if [ \"${XCODE_VERSION_ACTUAL}\" -ge \"1140\" -a \"${WK_USE_NEW_BUILD_SYSTEM}\" = \"YES\" ]; then\n    # In this configuration, post-processing is performed at the same time as copying in the postprocess-header-rule script, so there's no need for this separate step.\n    exit 0\nfi\n\nif [ \"${ACTION}\" = \"analyze\" -o \"${ACTION}\" = \"build\" -o \"${ACTION}\" = \"install\" -o \"${ACTION}\" = \"installhdrs\" -o \"${ACTION}\" = \"installapi\" ]; then\n    for HEADERS_DIRECTORY in \"${PUBLIC_HEADERS_FOLDER_PATH}\" \"${PRIVATE_HEADERS_FOLDER_PATH}\"; do\n        for HEADER_PATH in \"${TARGET_BUILD_DIR}/${HEADERS_DIRECTORY}/\"*.*; do\n            if [[ ! -z `grep '#import <WebKitAdditions/.*>' \"${HEADER_PATH}\"` ]]; then\n                python \"${SRCROOT}/mac/replace-webkit-additions-includes.py\" \"${HEADER_PATH}\" \"${BUILT_PRODUCTS_DIR}\" \"${SDKROOT}\" || exit $?\n            fi\n        done\n    done\nfi\n\n\n";
    1426614251                };
    1426714252/* End PBXShellScriptBuildPhase section */
Note: See TracChangeset for help on using the changeset viewer.