Changeset 286080 in webkit
- Timestamp:
- Nov 19, 2021, 2:38:00 PM (5 years ago)
- Location:
- trunk/Source/WebKit
- Files:
-
- 1 added
- 2 edited
-
ChangeLog (modified) (1 diff)
-
WebKit.xcodeproj/project.pbxproj (modified) (2 diffs)
-
mac/replace-webkit-additions-includes.py (added)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/ChangeLog
r286078 r286080 1 2021-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 1 13 2021-11-19 J Pascoe <j_pascoe@apple.com> 2 14 -
trunk/Source/WebKit/WebKit.xcodeproj/project.pbxproj
r286077 r286080 13803 13803 375A248817E5048E00C9A086 /* Postprocess WKBase.h */, 13804 13804 1AD98ECF191D867300CAA6DF /* Postprocess WKFoundation.h */, 13805 F4EFBAD522540CBB00049BA6 /* Replace WebKitAdditions in Framework Headers */, 13805 13806 1A1D2115191D96380001619F /* Postprocess Framework Headers */, 13806 13807 2E16B6F42019BC25008996D6 /* Copy Additional Resources */, … … 14674 14675 shellPath = /bin/sh; 14675 14676 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"; 14676 14691 }; 14677 14692 /* End PBXShellScriptBuildPhase section */
Note:
See TracChangeset
for help on using the changeset viewer.