Changeset 155787 in webkit
- Timestamp:
- Sep 14, 2013, 2:33:53 PM (12 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r155773 r155787 1 2013-09-14 Dan Bernstein <mitz@apple.com> 2 3 Remove non-Apple cruft from the installed WKBase.h 4 https://bugs.webkit.org/show_bug.cgi?id=121370 5 6 Reviewed by Darin Adler. 7 8 * Configurations/WebKit2.xcconfig: Set INSTALLHDRS_SCRIPT_PHASE to YES. 9 * WebKit2.xcodeproj/project.pbxproj: Added a script build phase that runs unifdef on 10 the installed WKBase.h with __APPLE__ defined and various BUILDING_* and WTF_USE_* symbols 11 undefined. 12 1 13 2013-09-14 Dan Bernstein <mitz@apple.com> 2 14 -
trunk/Source/WebKit2/Configurations/WebKit2.xcconfig
r154467 r155787 41 41 EXCLUDED_SOURCE_FILE_NAMES_iphoneos = *.pdf; 42 42 EXCLUDED_SOURCE_FILE_NAMES_iphonesimulator = $(EXCLUDED_SOURCE_FILE_NAMES_iphoneos); 43 44 INSTALLHDRS_SCRIPT_PHASE = YES; -
trunk/Source/WebKit2/WebKit2.xcodeproj/project.pbxproj
r155770 r155787 5762 5762 buildPhases = ( 5763 5763 8DC2EF500486A6940098B216 /* Headers */, 5764 375A248817E5048E00C9A086 /* Postprocess WKBase.h */, 5764 5765 8DC2EF520486A6940098B216 /* Resources */, 5765 5766 7CB16FEE1724BA05007A0A95 /* Copy Plug-in Sandbox Profiles */, … … 6118 6119 shellPath = /bin/sh; 6119 6120 shellScript = "if [ \"${ACTION}\" = \"installhdrs\" ]; then\n exit 0;\nfi\n\nif [ -f ../../Tools/Scripts/check-for-inappropriate-objc-class-names ]; then\n ../../Tools/Scripts/check-for-inappropriate-objc-class-names WK || exit $?\nfi"; 6121 }; 6122 375A248817E5048E00C9A086 /* Postprocess WKBase.h */ = { 6123 isa = PBXShellScriptBuildPhase; 6124 buildActionMask = 2147483647; 6125 files = ( 6126 ); 6127 inputPaths = ( 6128 "$(TARGET_BUILD_DIR)/$(PRIVATE_HEADERS_FOLDER_PATH)/WKBase.h", 6129 ); 6130 name = "Postprocess WKBase.h"; 6131 outputPaths = ( 6132 ); 6133 runOnlyForDeploymentPostprocessing = 0; 6134 shellPath = /bin/sh; 6135 shellScript = "WKBASE_H=${TARGET_BUILD_DIR}/${PRIVATE_HEADERS_FOLDER_PATH}/WKBase.h\n\nunifdef -B -D__APPLE__ -UBUILDING_GTK__ -UWTF_USE_SOUP -UBUILDING_EFL__ -UBUILDING_QT__ -o ${WKBASE_H} ${WKBASE_H}\n\nif [[ $? > 1 ]]; then\n exit 1;\nfi"; 6120 6136 }; 6121 6137 5D1A239215E760590023E981 /* Remove Compiled Python Files */ = {
Note:
See TracChangeset
for help on using the changeset viewer.