Another build fix attempt.
authorandersca@apple.com <andersca@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 30 Apr 2014 23:32:23 +0000 (23:32 +0000)
committerandersca@apple.com <andersca@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 30 Apr 2014 23:32:23 +0000 (23:32 +0000)
* WebKit.xcodeproj/project.pbxproj:
Remove headers if it seems like the WKWebViewPrivate header imports itself.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@168062 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebKit/ChangeLog
Source/WebKit/WebKit.xcodeproj/project.pbxproj

index 1faa6802dcfaac2eb1499fe91a96211691a3ab59..5d7c0dbd5906eec622c8a728d98ecffc139cf2a1 100644 (file)
@@ -1,3 +1,10 @@
+2014-04-30  Anders Carlsson  <andersca@apple.com>
+
+        Another build fix attempt.
+
+        * WebKit.xcodeproj/project.pbxproj:
+        Remove headers if it seems like the WKWebViewPrivate header imports itself.
+        
 2014-04-30  Anders Carlsson  <andersca@apple.com>
 
         Another build fix.
index 6e0ec5f25b3c6dcd1d961c29872201c9e7ff559c..e5faaf8b6251996f37fd1dee62657689d8ad58ed 100644 (file)
                        );
                        runOnlyForDeploymentPostprocessing = 0;
                        shellPath = /bin/sh;
-                       shellScript = "if [ \"${ACTION}\" = \"build\" -o \"${ACTION}\" = \"install\" -o \"${ACTION}\" = \"installhdrs\" ]; then\n    if [[ ${PLATFORM_NAME} == \"macosx\" ]]; then\n        mkdir -p \"${TARGET_BUILD_DIR}/${PUBLIC_HEADERS_FOLDER_PATH}\"\n\n        # FIXME: This is only here to clear out some old cruft, it should be removed after some time.\n        if [ -e \"${BUILT_PRODUCTS_DIR}/WebKitLegacy.framework/PrivateHeaders/WKWebViewPrivate.h\" ]; then\n            rm \"${BUILT_PRODUCTS_DIR}/WebKitLegacy.framework/PrivateHeaders/\"WK*.h 2> /dev/null\n            rm \"${BUILT_PRODUCTS_DIR}/WebKitLegacy.framework/PrivateHeaders/\"_WK*.h 2> /dev/null\n            rm \"${BUILT_PRODUCTS_DIR}/WebKit.framework/PrivateHeaders/\"WK*.h 2> /dev/null\n            rm \"${BUILT_PRODUCTS_DIR}/WebKit.framework/PrivateHeaders/\"_WK*.h 2> /dev/null\n        fi\n    fi\n    mkdir -p \"${TARGET_BUILD_DIR}/${PRIVATE_HEADERS_FOLDER_PATH}\"\n    make -C mac/WebKitLegacy -f \"MigrateHeadersFromWebKitLegacy.make\" -j `/usr/sbin/sysctl -n hw.activecpu`\nfi\n";
+                       shellScript = "if [ \"${ACTION}\" = \"build\" -o \"${ACTION}\" = \"install\" -o \"${ACTION}\" = \"installhdrs\" ]; then\n    if [[ ${PLATFORM_NAME} == \"macosx\" ]]; then\n        mkdir -p \"${TARGET_BUILD_DIR}/${PUBLIC_HEADERS_FOLDER_PATH}\"\n\n        # FIXME: This is only here to clear out some old cruft, it should be removed after some time.\n        if grep -q \"WebKit/WKWebViewPrivate.h\" \"${BUILT_PRODUCTS_DIR}/WebKit.framework/PrivateHeaders/WKWebViewPrivate.h\"; then\n            rm \"${BUILT_PRODUCTS_DIR}/WebKitLegacy.framework/PrivateHeaders/\"WK*.h 2> /dev/null\n            rm \"${BUILT_PRODUCTS_DIR}/WebKitLegacy.framework/PrivateHeaders/\"_WK*.h 2> /dev/null\n            rm \"${BUILT_PRODUCTS_DIR}/WebKit.framework/PrivateHeaders/\"WK*.h 2> /dev/null\n            rm \"${BUILT_PRODUCTS_DIR}/WebKit.framework/PrivateHeaders/\"_WK*.h 2> /dev/null\n        fi\n    fi\n    mkdir -p \"${TARGET_BUILD_DIR}/${PRIVATE_HEADERS_FOLDER_PATH}\"\n    make -C mac/WebKitLegacy -f \"MigrateHeadersFromWebKitLegacy.make\" -j `/usr/sbin/sysctl -n hw.activecpu`\nfi\n";
                };
                1ABDE1BB1909AC18005E2FA9 /* Update Info.plist with version information */ = {
                        isa = PBXShellScriptBuildPhase;