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

Changeset 286080 in webkit


Ignore:
Timestamp:
Nov 19, 2021, 2:38:00 PM (5 years ago)
Author:
Chris Dumez
Message:

Revert r282446 to bring back support for WebKitAdditions in Framework headers
https://bugs.webkit.org/show_bug.cgi?id=233374

Reviewed by Wenson Hsieh.

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

(read_content_from_webkit_additions):
(main):

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

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/ChangeLog

    r286078 r286080  
     12021-11-19  Chris Dumez  <cdumez@apple.com>
     2
     3        Revert r282446 to bring back support for WebKitAdditions in Framework headers
     4        https://bugs.webkit.org/show_bug.cgi?id=233374
     5
     6        Reviewed by Wenson Hsieh.
     7
     8        * WebKit.xcodeproj/project.pbxproj:
     9        * mac/replace-webkit-additions-includes.py: Added.
     10        (read_content_from_webkit_additions):
     11        (main):
     12
    1132021-11-19  J Pascoe  <j_pascoe@apple.com>
    214
  • trunk/Source/WebKit/WebKit.xcodeproj/project.pbxproj

    r286077 r286080  
    1380313803                                375A248817E5048E00C9A086 /* Postprocess WKBase.h */,
    1380413804                                1AD98ECF191D867300CAA6DF /* Postprocess WKFoundation.h */,
     13805                                F4EFBAD522540CBB00049BA6 /* Replace WebKitAdditions in Framework Headers */,
    1380513806                                1A1D2115191D96380001619F /* Postprocess Framework Headers */,
    1380613807                                2E16B6F42019BC25008996D6 /* Copy Additional Resources */,
     
    1467414675                        shellPath = /bin/sh;
    1467514676                        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";
     14677                };
     14678                F4EFBAD522540CBB00049BA6 /* Replace WebKitAdditions in Framework Headers */ = {
     14679                        isa = PBXShellScriptBuildPhase;
     14680                        buildActionMask = 2147483647;
     14681                        files = (
     14682                        );
     14683                        inputPaths = (
     14684                        );
     14685                        name = "Replace WebKitAdditions in Framework Headers";
     14686                        outputPaths = (
     14687                        );
     14688                        runOnlyForDeploymentPostprocessing = 0;
     14689                        shellPath = /bin/sh;
     14690                        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";
    1467614691                };
    1467714692/* End PBXShellScriptBuildPhase section */
Note: See TracChangeset for help on using the changeset viewer.