WebKit Bugzilla
Attachment 361368 Details for
Bug 193799
: Fix XCBuild issue related to codesigning WebContent process
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch
bug-193799-20190206191403.patch (text/plain), 43.25 KB, created by
Keith Rollin
on 2019-02-06 19:14:03 PST
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Keith Rollin
Created:
2019-02-06 19:14:03 PST
Size:
43.25 KB
patch
obsolete
>Subversion Revision: 241039 >diff --git a/Source/WebKit/ChangeLog b/Source/WebKit/ChangeLog >index 21410d87caf3b1bff6270e6279089b7194cb14fe..3b6c504c1b93d8d1604ec08b3d647ac3134efc86 100644 >--- a/Source/WebKit/ChangeLog >+++ b/Source/WebKit/ChangeLog >@@ -1,3 +1,57 @@ >+2019-02-06 Keith Rollin <krollin@apple.com> >+ >+ Fix XCBuild issue related to codesigning WebContent process >+ https://bugs.webkit.org/show_bug.cgi?id=193799 >+ <rdar://problem/47533890> >+ >+ Reviewed by NOBODY (OOPS!). >+ >+ Building with XCBuild enabled results in the error message "cannot >+ read entitlement data" when trying to codesign the macOS XPC >+ processes. The reason for this error message is that there is a build >+ step that deletes any previous "stale" generated .xcent file before >+ building up a new one. With XCBuild enabled, the build steps got >+ re-ordered, such that the step that deletes this file could get >+ executed after the steps that build up the file. The built-up set of >+ entitlements is now gone, and the build process fails when `codesign` >+ tries to access it. >+ >+ The apparent quick-fix to this problem -- of tweaking dependencies so >+ that the build steps execute in the desired order -- wouldn't work >+ with XCBuild. Establishing these dependencies would require both >+ having multiple build phases produce the same .xcent file as output, >+ as well as a build phase that has this file as an input and an output. >+ XCBuild either forbids or frowns upon these configurations. >+ >+ Ultimately, the solution that worked was to take over complete control >+ of the codesigning process. This means (a) not specifying a base >+ .entitlements file that XCode uses to start with (and which was >+ subsequently altered via custom build scripts), (b) not letting XCode >+ automatically and silently inject a 'get-task-all' entitlement used to >+ facilitate debugging (we now add that entitlement by hand), and (c) >+ building up all of our entitlements by hand via a single custom >+ script. Because of the addition of this custom script, many other >+ scripts and entitlements files could now be removed. >+ >+ * Configurations/BaseXPCService.xcconfig: >+ * Configurations/Databases-iOS.entitlements: Removed. >+ * Configurations/Network-OSX-restricted.entitlements: Removed. >+ * Configurations/Network-OSX-sandbox.entitlements: Removed. >+ * Configurations/Network-OSX.entitlements: Removed. >+ * Configurations/NetworkService.xcconfig: >+ * Configurations/PluginService.64.xcconfig: >+ * Configurations/PluginService.entitlements: Removed. >+ * Configurations/WebContent-OSX-sandbox.entitlements: Removed. >+ * Configurations/WebContent-OSX.entitlements: Removed. >+ * Configurations/WebContent-or-Plugin-OSX-restricted.entitlements: Removed. >+ * Configurations/WebContentService.xcconfig: >+ * Scripts/copy-webcontent-resources-to-private-headers.sh: >+ * Scripts/process-entitlements.sh: Added. >+ * Scripts/process-network-sandbox-entitlements.sh: Removed. >+ * Scripts/process-webcontent-or-plugin-entitlements.sh: Removed. >+ * Scripts/process-webcontent-sandbox-entitlements.sh: Removed. >+ * WebKit.xcodeproj/project.pbxproj: >+ > 2019-02-06 Per Arne Vollan <pvollan@apple.com> > > Roll out parts of r238819 since it is a PLT performance regression. >diff --git a/Source/WebKit/Configurations/BaseXPCService.xcconfig b/Source/WebKit/Configurations/BaseXPCService.xcconfig >index 7f8c23e5ba7cae7d4c4642e57ff5dd1765338aa3..f7af0b3f55269769120a717e23ca3ce49a2ba163 100644 >--- a/Source/WebKit/Configurations/BaseXPCService.xcconfig >+++ b/Source/WebKit/Configurations/BaseXPCService.xcconfig >@@ -54,6 +54,8 @@ WK_PATH_FROM_SERVICE_EXECUTABLE_TO_FRAMEWORK_SHALLOW_BUNDLE_NO = ../../../../../ > WK_PATH_FROM_SERVICE_EXECUTABLE_TO_FRAMEWORK_SHALLOW_BUNDLE_YES = ../..; > > CODE_SIGN_ENTITLEMENTS = $(CODE_SIGN_ENTITLEMENTS_COCOA_TOUCH_$(WK_IS_COCOA_TOUCH)); >+CODE_SIGN_ENTITLEMENTS_COCOA_TOUCH_ = $(CODE_SIGN_ENTITLEMENTS_COCOA_TOUCH_NO); >+CODE_SIGN_ENTITLEMENTS_COCOA_TOUCH_NO = ; > CODE_SIGN_ENTITLEMENTS_COCOA_TOUCH_YES = $(CODE_SIGN_ENTITLEMENTS_IOS_SKIP_INSTALL_$(SKIP_INSTALL)); > > CODE_SIGN_ENTITLEMENTS_IOS_SKIP_INSTALL_ = $(CODE_SIGN_ENTITLEMENTS_IOS_SKIP_INSTALL_NO); >@@ -64,6 +66,13 @@ CODE_SIGN_ENTITLEMENTS_IOS_MANUAL_SANDBOXING_ = $(CODE_SIGN_ENTITLEMENTS_IOS_MAN > CODE_SIGN_ENTITLEMENTS_IOS_MANUAL_SANDBOXING_NO = Configurations/$(WK_XPC_SERVICE_IOS_ENTITLEMENTS_BASE).entitlements; > CODE_SIGN_ENTITLEMENTS_IOS_MANUAL_SANDBOXING_YES = $(BUILT_PRODUCTS_DIR)/DerivedSources/WebKit2/$(WK_XPC_SERVICE_IOS_ENTITLEMENTS_BASE)-no-sandbox.entitlements; > >+CODE_SIGN_INJECT_BASE_ENTITLEMENTS = $(CODE_SIGN_INJECT_BASE_ENTITLEMENTS_$(WK_IS_COCOA_TOUCH)); >+CODE_SIGN_INJECT_BASE_ENTITLEMENTS_ = $(CODE_SIGN_INJECT_BASE_ENTITLEMENTS_NO); >+CODE_SIGN_INJECT_BASE_ENTITLEMENTS_NO = NO; >+CODE_SIGN_INJECT_BASE_ENTITLEMENTS_YES = $(CODE_SIGN_INJECT_BASE_ENTITLEMENTS) >+ >+WK_PROCESSED_XCENT_FILE=$(TEMP_FILE_DIR)/$(FULL_PRODUCT_NAME).entitlements >+ > WK_XPC_SERVICE_INSERT_LIBRARIES_DIR = $(WK_XPC_SERVICE_INSERT_LIBRARIES_DIR_$(WK_RELOCATABLE_FRAMEWORKS)); > WK_XPC_SERVICE_INSERT_LIBRARIES_DIR_ = $(WK_XPC_SERVICE_INSERT_LIBRARIES_DIR_NO); > WK_XPC_SERVICE_INSERT_LIBRARIES_DIR_NO = $(WEBKIT_FRAMEWORKS_DIR)/WebKit.framework/Frameworks; >@@ -74,7 +83,9 @@ WK_LIBRARY_VALIDATION_ENABLED_ = $(WK_LIBRARY_VALIDATION_ENABLED_NO); > WK_LIBRARY_VALIDATION_ENABLED_NO = $(WK_LIBRARY_VALIDATION_ENABLED); > WK_LIBRARY_VALIDATION_ENABLED_YES = YES; > >-WK_LIBRARY_VALIDATION_CODE_SIGN_FLAGS[sdk=macosx*] = $(WK_LIBRARY_VALIDATION_CODE_SIGN_FLAGS_$(WK_XPC_SERVICE_VARIANT)); >+WK_LIBRARY_VALIDATION_CODE_SIGN_FLAGS[sdk=macosx*] = $(WK_LIBRARY_VALIDATION_CODE_SIGN_FLAGS_$(WK_XPC_SERVICE_VARIANT)) --entitlements $(WK_PROCESSED_XCENT_FILE); > WK_LIBRARY_VALIDATION_CODE_SIGN_FLAGS_ = $(WK_LIBRARY_VALIDATION_CODE_SIGN_FLAGS_Normal); > WK_LIBRARY_VALIDATION_CODE_SIGN_FLAGS_Normal = $(WK_LIBRARY_VALIDATION_CODE_SIGN_FLAGS_$(WK_LIBRARY_VALIDATION_ENABLED)); > WK_LIBRARY_VALIDATION_CODE_SIGN_FLAGS_YES = -o library; >+ >+OTHER_CODE_SIGN_FLAGS = $(WK_LIBRARY_VALIDATION_CODE_SIGN_FLAGS); >diff --git a/Source/WebKit/Configurations/Databases-iOS.entitlements b/Source/WebKit/Configurations/Databases-iOS.entitlements >deleted file mode 100644 >index 37475eee882d5361283fa31a0ef61b5bd843aebb..0000000000000000000000000000000000000000 >--- a/Source/WebKit/Configurations/Databases-iOS.entitlements >+++ /dev/null >@@ -1,12 +0,0 @@ >-<?xml version="1.0" encoding="UTF-8"?> >-<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> >-<plist version="1.0"> >-<dict> >- <key>seatbelt-profiles</key> >- <array> >- <string>com.apple.WebKit.Storage</string> >- </array> >- <key>com.apple.private.memorystatus</key> >- <true/> >-</dict> >-</plist> >diff --git a/Source/WebKit/Configurations/Network-OSX-restricted.entitlements b/Source/WebKit/Configurations/Network-OSX-restricted.entitlements >deleted file mode 100644 >index 4e8c31a37c3f16a66824ccdbacd43e44fb9ead32..0000000000000000000000000000000000000000 >--- a/Source/WebKit/Configurations/Network-OSX-restricted.entitlements >+++ /dev/null >@@ -1,8 +0,0 @@ >-<?xml version="1.0" encoding="UTF-8"?> >-<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> >-<plist version="1.0"> >-<dict> >- <key>com.apple.private.network.socket-delegate</key> >- <true/> >-</dict> >-</plist> >diff --git a/Source/WebKit/Configurations/Network-OSX-sandbox.entitlements b/Source/WebKit/Configurations/Network-OSX-sandbox.entitlements >deleted file mode 100644 >index 03270566fc5437bd7d8911179dd517c5febd42ab..0000000000000000000000000000000000000000 >--- a/Source/WebKit/Configurations/Network-OSX-sandbox.entitlements >+++ /dev/null >@@ -1,8 +0,0 @@ >-<?xml version="1.0" encoding="UTF-8"?> >-<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> >-<plist version="1.0"> >-<dict> >- <key>com.apple.rootless.storage.WebKitNetworkingSandbox</key> >- <true/> >-</dict> >-</plist> >diff --git a/Source/WebKit/Configurations/Network-OSX.entitlements b/Source/WebKit/Configurations/Network-OSX.entitlements >deleted file mode 100644 >index 0c67376ebacb410fd873cac1d8d8dd431b262c02..0000000000000000000000000000000000000000 >--- a/Source/WebKit/Configurations/Network-OSX.entitlements >+++ /dev/null >@@ -1,5 +0,0 @@ >-<?xml version="1.0" encoding="UTF-8"?> >-<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> >-<plist version="1.0"> >-<dict/> >-</plist> >diff --git a/Source/WebKit/Configurations/NetworkService.xcconfig b/Source/WebKit/Configurations/NetworkService.xcconfig >index d06714a5c22783466b719d92115255a513531510..b0b309fd6fab71a38ef3b147935d74dc1c36265e 100644 >--- a/Source/WebKit/Configurations/NetworkService.xcconfig >+++ b/Source/WebKit/Configurations/NetworkService.xcconfig >@@ -32,9 +32,6 @@ WK_XPC_SERVICE_IOS_ENTITLEMENTS_BASE_appletvos = Network-iOS; > WK_XPC_SERVICE_IOS_ENTITLEMENTS_BASE_appletvsimulator = Network-iOS; > WK_XPC_SERVICE_IOS_ENTITLEMENTS_BASE_iosmac = Network-iOSMac; > >-CODE_SIGN_ENTITLEMENTS_COCOA_TOUCH_NO = Configurations/Network-OSX.entitlements; >-OTHER_CODE_SIGN_FLAGS = $(WK_LIBRARY_VALIDATION_CODE_SIGN_FLAGS); >- > PRODUCT_NAME = com.apple.WebKit.Networking; > PRODUCT_BUNDLE_IDENTIFIER = $(PRODUCT_NAME); > INFOPLIST_FILE[sdk=iphone*] = NetworkProcess/EntryPoint/Cocoa/XPCService/NetworkService/Info-iOS.plist; >diff --git a/Source/WebKit/Configurations/PluginService.64.xcconfig b/Source/WebKit/Configurations/PluginService.64.xcconfig >index bac6c46a482c61c2383c9fbd3b93ed1929eb103c..eabd14705c4da58519cd2258604e3d42fb5e40e8 100644 >--- a/Source/WebKit/Configurations/PluginService.64.xcconfig >+++ b/Source/WebKit/Configurations/PluginService.64.xcconfig >@@ -35,6 +35,4 @@ WK_APPKIT_LDFLAGS_macosx = -framework AppKit; > OTHER_LDFLAGS = $(inherited) $(WK_APPKIT_LDFLAGS) $(OTHER_LDFLAGS_PLATFORM) $(OTHER_LDFLAGS_VERSIONED_FRAMEWORK_PATH) $(WK_RELOCATABLE_FRAMEWORKS_LDFLAGS); > OTHER_LDFLAGS_PLATFORM[sdk=macosx*] = $(BUILT_PRODUCTS_DIR)/PluginProcessShim.dylib; > >-CODE_SIGN_ENTITLEMENTS = Configurations/PluginService.entitlements; >- > SKIP_INSTALL[sdk=iphone*] = YES; >diff --git a/Source/WebKit/Configurations/PluginService.entitlements b/Source/WebKit/Configurations/PluginService.entitlements >deleted file mode 100644 >index dde6c0d2fe9d95b3e4c6277f0a156c0e61e38fe4..0000000000000000000000000000000000000000 >--- a/Source/WebKit/Configurations/PluginService.entitlements >+++ /dev/null >@@ -1,16 +0,0 @@ >-<?xml version="1.0" encoding="UTF-8"?> >-<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> >-<plist version="1.0"> >-<dict> >- <key>com.apple.security.cs.allow-jit</key> >- <true/> >- <key>com.apple.security.cs.allow-unsigned-executable-memory</key> >- <true/> >- <key>com.apple.security.cs.disable-library-validation</key> >- <true/> >- <key>com.apple.security.files.user-selected.read-write</key> >- <true/> >- <key>com.apple.security.print</key> >- <true/> >-</dict> >-</plist> >diff --git a/Source/WebKit/Configurations/WebContent-OSX-sandbox.entitlements b/Source/WebKit/Configurations/WebContent-OSX-sandbox.entitlements >deleted file mode 100644 >index c34363adfe73a3c7af985d3cb6c464e900015ad5..0000000000000000000000000000000000000000 >--- a/Source/WebKit/Configurations/WebContent-OSX-sandbox.entitlements >+++ /dev/null >@@ -1,8 +0,0 @@ >-<?xml version="1.0" encoding="UTF-8"?> >-<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> >-<plist version="1.0"> >-<dict> >- <key>com.apple.rootless.storage.WebKitWebContentSandbox</key> >- <true/> >-</dict> >-</plist> >diff --git a/Source/WebKit/Configurations/WebContent-OSX.entitlements b/Source/WebKit/Configurations/WebContent-OSX.entitlements >deleted file mode 100644 >index d35e43ae588cdfe5570930260829dcd145c4d1e2..0000000000000000000000000000000000000000 >--- a/Source/WebKit/Configurations/WebContent-OSX.entitlements >+++ /dev/null >@@ -1,8 +0,0 @@ >-<?xml version="1.0" encoding="UTF-8"?> >-<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> >-<plist version="1.0"> >-<dict> >- <key>com.apple.security.cs.allow-jit</key> >- <true/> >-</dict> >-</plist> >diff --git a/Source/WebKit/Configurations/WebContent-or-Plugin-OSX-restricted.entitlements b/Source/WebKit/Configurations/WebContent-or-Plugin-OSX-restricted.entitlements >deleted file mode 100644 >index 2ad5067206a74c1df35151d9ff13b5635cf282a2..0000000000000000000000000000000000000000 >--- a/Source/WebKit/Configurations/WebContent-or-Plugin-OSX-restricted.entitlements >+++ /dev/null >@@ -1,11 +0,0 @@ >-<?xml version="1.0" encoding="UTF-8"?> >-<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> >-<plist version="1.0"> >-<dict> >- <key>com.apple.tcc.delegated-services</key> >- <array> >- <string>kTCCServiceCamera</string> >- <string>kTCCServiceMicrophone</string> >- </array> >-</dict> >-</plist> >diff --git a/Source/WebKit/Configurations/WebContentService.xcconfig b/Source/WebKit/Configurations/WebContentService.xcconfig >index f73cb5dc5d95fbd655aec82828ca8c58c729cbbb..2f400a99c2dc50d1c0500289144278ad66e93cb1 100644 >--- a/Source/WebKit/Configurations/WebContentService.xcconfig >+++ b/Source/WebKit/Configurations/WebContentService.xcconfig >@@ -32,9 +32,6 @@ WK_XPC_SERVICE_IOS_ENTITLEMENTS_BASE_appletvos = WebContent-iOS; > WK_XPC_SERVICE_IOS_ENTITLEMENTS_BASE_appletvsimulator = WebContent-iOS; > WK_XPC_SERVICE_IOS_ENTITLEMENTS_BASE_iosmac = WebContent-iOSMac; > >-CODE_SIGN_ENTITLEMENTS_COCOA_TOUCH_NO = Configurations/WebContent-OSX.entitlements; >-OTHER_CODE_SIGN_FLAGS = $(WK_LIBRARY_VALIDATION_CODE_SIGN_FLAGS); >- > PRODUCT_NAME = $(PRODUCT_NAME_$(WK_XPC_SERVICE_VARIANT)); > PRODUCT_NAME_ = $(PRODUCT_NAME_Normal); > PRODUCT_NAME_Normal = com.apple.WebKit.WebContent; >diff --git a/Source/WebKit/Scripts/copy-webcontent-resources-to-private-headers.sh b/Source/WebKit/Scripts/copy-webcontent-resources-to-private-headers.sh >index 126a654604312bcfb5d2b6501d892387d2f7d0b0..aa7464a4527a0a0998e79b751520c1ad41c08ed3 100755 >--- a/Source/WebKit/Scripts/copy-webcontent-resources-to-private-headers.sh >+++ b/Source/WebKit/Scripts/copy-webcontent-resources-to-private-headers.sh >@@ -29,7 +29,7 @@ WEB_CONTENT_RESOURCES_PATH="${BUILT_PRODUCTS_DIR}/WebKit.framework/PrivateHeader > mkdir -p "${WEB_CONTENT_RESOURCES_PATH}" > > if [[ ${WK_PLATFORM_NAME} == "macosx" ]]; then >- ENTITLEMENTS_FILE="${TEMP_FILE_DIR}/${FULL_PRODUCT_NAME}.xcent" >+ ENTITLEMENTS_FILE="${WK_PROCESSED_XCENT_FILE}" > else > ENTITLEMENTS_FILE="${SRCROOT}/Configurations/WebContent-iOS.entitlements" > fi >diff --git a/Source/WebKit/Scripts/process-entitlements.sh b/Source/WebKit/Scripts/process-entitlements.sh >new file mode 100755 >index 0000000000000000000000000000000000000000..965f316e17e4be7b7cb4d7763b871f4b39c26eea >--- /dev/null >+++ b/Source/WebKit/Scripts/process-entitlements.sh >@@ -0,0 +1,76 @@ >+#!/bin/bash >+ >+[[ ${WK_PLATFORM_NAME} == macosx ]] || exit 0 >+ >+function plistbuddy() >+{ >+ /usr/libexec/PlistBuddy -c "$*" "${WK_PROCESSED_XCENT_FILE}" >+} >+ >+function process_webcontent_entitlements() >+{ >+ plistbuddy Add :com.apple.security.cs.allow-jit bool YES >+ >+ if [[ ${WK_USE_RESTRICTED_ENTITLEMENTS} == YES ]] >+ then >+ plistbuddy Add :com.apple.rootless.storage.WebKitWebContentSandbox bool YES >+ fi >+ >+ process_webcontent_or_plugin_entitlements >+} >+ >+function process_network_entitlements() >+{ >+ if [[ ${WK_USE_RESTRICTED_ENTITLEMENTS} == YES ]] >+ then >+ if (( ${TARGET_MAC_OS_X_VERSION_MAJOR} >= 101500 )) >+ then >+ plistbuddy Add :com.apple.private.network.socket-delegate bool YES >+ fi >+ >+ plistbuddy Add :com.apple.rootless.storage.WebKitNetworkingSandbox bool YES >+ fi >+} >+ >+function process_plugin_entitlements() >+{ >+ plistbuddy Add :com.apple.security.cs.allow-jit bool YES >+ plistbuddy Add :com.apple.security.cs.allow-unsigned-executable-memory bool YES >+ plistbuddy Add :com.apple.security.cs.disable-library-validation bool YES >+ plistbuddy Add :com.apple.security.files.user-selected.read-write bool YES >+ plistbuddy Add :com.apple.security.print bool YES >+ >+ process_webcontent_or_plugin_entitlements >+} >+ >+function process_webcontent_or_plugin_entitlements() >+{ >+ if [[ ${WK_USE_RESTRICTED_ENTITLEMENTS} == YES ]] >+ then >+ if (( ${TARGET_MAC_OS_X_VERSION_MAJOR} >= 101400 )) >+ then >+ plistbuddy Add :com.apple.tcc.delegated-services array >+ plistbuddy Add :com.apple.tcc.delegated-services:0 string kTCCServiceCamera >+ plistbuddy Add :com.apple.tcc.delegated-services:1 string kTCCServiceMicrophone >+ fi >+ >+ if [[ ${WK_WEBCONTENT_SERVICE_NEEDS_XPC_DOMAIN_EXTENSION_ENTITLEMENT} == YES ]] >+ then >+ plistbuddy Add :com.apple.private.xpc.domain-extension bool YES >+ fi >+ fi >+ >+ if [[ ${WK_XPC_SERVICE_VARIANT} == Development ]] >+ then >+ plistbuddy Add :com.apple.security.cs.disable-library-validation bool YES >+ fi >+} >+ >+rm -f "${WK_PROCESSED_XCENT_FILE}" >+[[ ${RC_XBS} == "YES" ]] || plistbuddy Add :com.apple.security.get-task-allow bool YES >+ >+[[ ${PRODUCT_NAME} =~ com.apple.WebKit.WebContent(.Development)? ]] && process_webcontent_entitlements >+[[ ${PRODUCT_NAME} == com.apple.WebKit.Networking ]] && process_network_entitlements >+[[ ${PRODUCT_NAME} == com.apple.WebKit.Plugin.64 ]] && process_plugin_entitlements >+ >+exit 0 >diff --git a/Source/WebKit/Scripts/process-network-sandbox-entitlements.sh b/Source/WebKit/Scripts/process-network-sandbox-entitlements.sh >deleted file mode 100755 >index 637a340d5f7a10f4fc110f95a99c0ea2d6e81713..0000000000000000000000000000000000000000 >--- a/Source/WebKit/Scripts/process-network-sandbox-entitlements.sh >+++ /dev/null >@@ -1,19 +0,0 @@ >-#!/bin/sh >-set -e >- >-PROCESSED_XCENT_FILE="${TEMP_FILE_DIR}/${FULL_PRODUCT_NAME}.xcent" >- >-if [[ ${WK_PLATFORM_NAME} == "macosx" ]]; then >- >- if [[ ${WK_USE_RESTRICTED_ENTITLEMENTS} == "YES" ]]; then >- echo "Processing restricted entitlements for Internal SDK"; >- >- if (( ${TARGET_MAC_OS_X_VERSION_MAJOR} >= 101500 )); then >- echo "Adding macOS platform entitlements."; >- /usr/libexec/PlistBuddy -c "Merge Configurations/Network-OSX-restricted.entitlements" "${PROCESSED_XCENT_FILE}"; >- fi >- >- echo "Adding sandbox entitlements for Network process."; >- /usr/libexec/PlistBuddy -c "Merge Configurations/Network-OSX-sandbox.entitlements" "${PROCESSED_XCENT_FILE}"; >- fi >-fi >diff --git a/Source/WebKit/Scripts/process-webcontent-or-plugin-entitlements.sh b/Source/WebKit/Scripts/process-webcontent-or-plugin-entitlements.sh >deleted file mode 100755 >index 7587e34ca01e4fbad87cf3497aa0bad97cd13fe0..0000000000000000000000000000000000000000 >--- a/Source/WebKit/Scripts/process-webcontent-or-plugin-entitlements.sh >+++ /dev/null >@@ -1,26 +0,0 @@ >-#!/bin/sh >-set -e >- >-PROCESSED_XCENT_FILE="${TEMP_FILE_DIR}/${FULL_PRODUCT_NAME}.xcent" >- >-if [[ ${WK_PLATFORM_NAME} == "macosx" ]]; then >- >- if [[ ${WK_USE_RESTRICTED_ENTITLEMENTS} == "YES" ]]; then >- echo "Processing restricted entitlements for Internal SDK"; >- >- if (( ${TARGET_MAC_OS_X_VERSION_MAJOR} >= 101400 )); then >- echo "Adding macOS platform entitlements."; >- /usr/libexec/PlistBuddy -c "Merge Configurations/WebContent-or-Plugin-OSX-restricted.entitlements" "${PROCESSED_XCENT_FILE}"; >- fi >- >- if [[ ${WK_WEBCONTENT_SERVICE_NEEDS_XPC_DOMAIN_EXTENSION_ENTITLEMENT} == "YES" ]]; then >- echo "Adding domain extension entitlement for relocatable build."; >- /usr/libexec/PlistBuddy -c "Add :com.apple.private.xpc.domain-extension bool YES" "${PROCESSED_XCENT_FILE}"; >- fi >- fi >- >- if [[ ${WK_XPC_SERVICE_VARIANT} == "Development" ]]; then >- echo "Disabling library validation for development build."; >- /usr/libexec/PlistBuddy -c "Add :com.apple.security.cs.disable-library-validation bool YES" "${PROCESSED_XCENT_FILE}"; >- fi >-fi >diff --git a/Source/WebKit/Scripts/process-webcontent-sandbox-entitlements.sh b/Source/WebKit/Scripts/process-webcontent-sandbox-entitlements.sh >deleted file mode 100755 >index 1b84f2fd342ed541c284fdb680b6f4babb8a185d..0000000000000000000000000000000000000000 >--- a/Source/WebKit/Scripts/process-webcontent-sandbox-entitlements.sh >+++ /dev/null >@@ -1,14 +0,0 @@ >-#!/bin/sh >-set -e >- >-PROCESSED_XCENT_FILE="${TEMP_FILE_DIR}/${FULL_PRODUCT_NAME}.xcent" >- >-if [[ ${WK_PLATFORM_NAME} == "macosx" ]]; then >- >- if [[ ${WK_USE_RESTRICTED_ENTITLEMENTS} == "YES" ]]; then >- echo "Processing restricted entitlements for Internal SDK"; >- >- echo "Adding sandbox entitlements for WebContent process."; >- /usr/libexec/PlistBuddy -c "Merge Configurations/WebContent-OSX-sandbox.entitlements" "${PROCESSED_XCENT_FILE}"; >- fi >-fi >diff --git a/Source/WebKit/WebKit.xcodeproj/project.pbxproj b/Source/WebKit/WebKit.xcodeproj/project.pbxproj >index 19ff6c0acca060a1acf43d364618988e29b17a37..e9126f73b920d1bd1d295c883a82707337df8c8d 100644 >--- a/Source/WebKit/WebKit.xcodeproj/project.pbxproj >+++ b/Source/WebKit/WebKit.xcodeproj/project.pbxproj >@@ -2959,7 +2959,6 @@ > 37A64E5618F38F4600EB30F1 /* _WKFormInputSession.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = _WKFormInputSession.h; sourceTree = "<group>"; }; > 37A709A61E3EA0FD00CA5969 /* WKDataDetectorTypes.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WKDataDetectorTypes.h; sourceTree = "<group>"; }; > 37A709A81E3EA40C00CA5969 /* WKDataDetectorTypesInternal.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WKDataDetectorTypesInternal.h; sourceTree = "<group>"; }; >- 37B418EB1C9624F20031E63B /* WebContent-or-Plugin-OSX-restricted.entitlements */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.entitlements; path = "WebContent-or-Plugin-OSX-restricted.entitlements"; sourceTree = "<group>"; }; > 37B47E2C1D64DB76005F4EFF /* objcSPI.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = objcSPI.h; sourceTree = "<group>"; }; > 37B5045119EEF31300CE2CF8 /* WKErrorPrivate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WKErrorPrivate.h; sourceTree = "<group>"; }; > 37BEC4DE19491486008B4286 /* CompletionHandlerCallChecker.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = CompletionHandlerCallChecker.mm; sourceTree = "<group>"; }; >@@ -3043,9 +3042,6 @@ > 4151E5C31FBB90A900E47E2D /* FormDataReference.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = FormDataReference.h; sourceTree = "<group>"; }; > 4157853021276B6F00DD3800 /* copy-webcontent-resources-to-private-headers.sh */ = {isa = PBXFileReference; lastKnownFileType = text.script.sh; path = "copy-webcontent-resources-to-private-headers.sh"; sourceTree = "<group>"; }; > 4157E4AF20E2EC9800A6C0D7 /* com.google.o1dbrowserplugin.sb */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = com.google.o1dbrowserplugin.sb; sourceTree = "<group>"; }; >- 4188C154211377700012ABCD /* process-network-sandbox-entitlements.sh */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.script.sh; path = "process-network-sandbox-entitlements.sh"; sourceTree = "<group>"; }; >- 4188C156211377E80012ABCD /* process-webcontent-sandbox-entitlements.sh */ = {isa = PBXFileReference; lastKnownFileType = text.script.sh; path = "process-webcontent-sandbox-entitlements.sh"; sourceTree = "<group>"; }; >- 4188C158211378520012ABCD /* WebContent-OSX-sandbox.entitlements */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.entitlements; path = "WebContent-OSX-sandbox.entitlements"; sourceTree = "<group>"; }; > 41897ECB1F415D5C0016FA42 /* WebCacheStorageConnection.messages.in */ = {isa = PBXFileReference; lastKnownFileType = text; path = WebCacheStorageConnection.messages.in; sourceTree = "<group>"; }; > 41897ECC1F415D5C0016FA42 /* WebCacheStorageProvider.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = WebCacheStorageProvider.cpp; sourceTree = "<group>"; }; > 41897ECD1F415D5C0016FA42 /* WebCacheStorageConnection.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = WebCacheStorageConnection.h; sourceTree = "<group>"; }; >@@ -3067,7 +3063,6 @@ > 41B7ED71206965900087D853 /* NetworkMDNSRegister.messages.in */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = NetworkMDNSRegister.messages.in; sourceTree = "<group>"; }; > 41C5378F21F1362D008B1FAD /* _WKWebsiteDataStoreDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = _WKWebsiteDataStoreDelegate.h; sourceTree = "<group>"; }; > 41C858191F510DEE0065E085 /* CacheStorageEngineCache.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = CacheStorageEngineCache.cpp; sourceTree = "<group>"; }; >- 41D0FC7D20E43A5100076AE8 /* Network-OSX-sandbox.entitlements */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.entitlements; path = "Network-OSX-sandbox.entitlements"; sourceTree = "<group>"; }; > 41D129D91F3D101400D15E47 /* WebCacheStorageProvider.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = WebCacheStorageProvider.h; sourceTree = "<group>"; }; > 41DC45941E3D6E1E00B11F51 /* NetworkRTCProvider.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = NetworkRTCProvider.h; sourceTree = "<group>"; }; > 41DC45951E3D6E1E00B11F51 /* NetworkRTCProvider.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = NetworkRTCProvider.cpp; sourceTree = "<group>"; }; >@@ -3355,6 +3350,7 @@ > 535BCB902069C49C00CCCE02 /* NetworkActivityTracker.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = NetworkActivityTracker.h; sourceTree = "<group>"; }; > 539EB5461DC2EE40009D48CF /* NetworkDataTaskBlob.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = NetworkDataTaskBlob.cpp; sourceTree = "<group>"; }; > 539EB5471DC2EE40009D48CF /* NetworkDataTaskBlob.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = NetworkDataTaskBlob.h; sourceTree = "<group>"; }; >+ 53B1640F2203715000EC4166 /* process-entitlements.sh */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.script.sh; path = "process-entitlements.sh"; sourceTree = "<group>"; }; > 53F3CAA5206C443E0086490E /* NetworkActivityTracker.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = NetworkActivityTracker.cpp; sourceTree = "<group>"; }; > 570AB8F220AE3BD700B8BE87 /* SecKeyProxyStore.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = SecKeyProxyStore.h; sourceTree = "<group>"; }; > 570AB90020B2517400B8BE87 /* AuthenticationChallengeProxyCocoa.mm */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.objcpp; path = AuthenticationChallengeProxyCocoa.mm; sourceTree = "<group>"; }; >@@ -3457,11 +3453,9 @@ > 5C62FDF81EFC263C00CE072E /* WKURLSchemeTaskPrivate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = WKURLSchemeTaskPrivate.h; sourceTree = "<group>"; }; > 5C6CE6D01F59BC460007C6CB /* PageClientImplCocoa.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = PageClientImplCocoa.mm; sourceTree = "<group>"; }; > 5C6CE6D31F59EA350007C6CB /* PageClientImplCocoa.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PageClientImplCocoa.h; sourceTree = "<group>"; }; >- 5C6F4EED21E5B11300BC8380 /* Network-OSX-restricted.entitlements */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.entitlements; path = "Network-OSX-restricted.entitlements"; sourceTree = "<group>"; }; > 5C74300E21500492004BFA17 /* WKWebProcess.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WKWebProcess.h; sourceTree = "<group>"; }; > 5C74300F21500492004BFA17 /* WKWebProcess.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = WKWebProcess.cpp; sourceTree = "<group>"; }; > 5C7706731D111D8B0012700F /* WebSocketProvider.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = WebSocketProvider.cpp; path = Network/WebSocketProvider.cpp; sourceTree = "<group>"; }; >- 5C7ACFD1218DD8BD004CBB59 /* Network-OSX.entitlements */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.entitlements; path = "Network-OSX.entitlements"; sourceTree = "<group>"; }; > 5C7C88DC1D0F41A0009D2F6D /* WebSocketProvider.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = WebSocketProvider.h; path = Network/WebSocketProvider.h; sourceTree = "<group>"; }; > 5C7FB46E21E97C0B009E3241 /* WebCookieJar.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = WebCookieJar.cpp; sourceTree = "<group>"; }; > 5C7FB46F21E97C0C009E3241 /* WebCookieJar.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WebCookieJar.h; sourceTree = "<group>"; }; >@@ -3501,7 +3495,6 @@ > 5CD286501E722F440094FDC8 /* WKContentRuleListStorePrivate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WKContentRuleListStorePrivate.h; sourceTree = "<group>"; }; > 5CE85B1F1C88E6430070BFCE /* PingLoad.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PingLoad.h; sourceTree = "<group>"; }; > 5CFECB031E1ED1C800F88504 /* LegacyCustomProtocolManager.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = LegacyCustomProtocolManager.cpp; sourceTree = "<group>"; }; >- 5D442A5516D5856700AC3331 /* PluginService.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.xml; path = PluginService.entitlements; sourceTree = "<group>"; }; > 5DAD73F1116FF90C00EE5396 /* BaseTarget.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = BaseTarget.xcconfig; sourceTree = "<group>"; }; > 617A52D71F43A9B600DCDC0A /* ServiceWorkerClientFetchMessageReceiver.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = ServiceWorkerClientFetchMessageReceiver.cpp; path = DerivedSources/WebKit2/ServiceWorkerClientFetchMessageReceiver.cpp; sourceTree = BUILT_PRODUCTS_DIR; }; > 63108F941F96719C00A0DB84 /* _WKApplicationManifest.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = _WKApplicationManifest.h; sourceTree = "<group>"; }; >@@ -3551,11 +3544,9 @@ > 7A9CD8C21C779AD600D9F6C7 /* WebResourceLoadStatisticsStore.messages.in */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = WebResourceLoadStatisticsStore.messages.in; sourceTree = "<group>"; }; > 7AB6EA441EEAAE2300037B2B /* APIIconDatabaseClient.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = APIIconDatabaseClient.h; sourceTree = "<group>"; }; > 7AB6EA461EEAB6B000037B2B /* APIGeolocationProvider.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = APIGeolocationProvider.h; sourceTree = "<group>"; }; >- 7ACFAAD820B88D4F00C53203 /* process-webcontent-or-plugin-entitlements.sh */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.script.sh; path = "process-webcontent-or-plugin-entitlements.sh"; sourceTree = "<group>"; }; > 7AF2361E1E79A3B400438A05 /* WebErrors.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = WebErrors.cpp; sourceTree = "<group>"; }; > 7AF2361F1E79A3D800438A05 /* WebErrors.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WebErrors.h; sourceTree = "<group>"; }; > 7AF236221E79A43100438A05 /* WebErrorsCocoa.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = WebErrorsCocoa.mm; sourceTree = "<group>"; }; >- 7AF66E1120C07CB6007828EA /* WebContent-OSX.entitlements */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.entitlements; path = "WebContent-OSX.entitlements"; sourceTree = "<group>"; }; > 7AFBD36221E50F39005DBACB /* WebResourceLoadStatisticsStore.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = WebResourceLoadStatisticsStore.h; path = Classifier/WebResourceLoadStatisticsStore.h; sourceTree = "<group>"; }; > 7AFBD36421E51BAB005DBACB /* ResourceLoadStatisticsMemoryStore.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = ResourceLoadStatisticsMemoryStore.cpp; path = Classifier/ResourceLoadStatisticsMemoryStore.cpp; sourceTree = "<group>"; }; > 7AFBD36521E51BAB005DBACB /* ResourceLoadStatisticsMemoryStore.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = ResourceLoadStatisticsMemoryStore.h; path = Classifier/ResourceLoadStatisticsMemoryStore.h; sourceTree = "<group>"; }; >@@ -3912,7 +3903,6 @@ > A78CCDD7193AC9E3005ECC25 /* com.apple.WebKit.Storage.sb */ = {isa = PBXFileReference; lastKnownFileType = text; path = com.apple.WebKit.Storage.sb; sourceTree = "<group>"; }; > A78CCDD8193AC9E3005ECC25 /* com.apple.WebKit.Networking.sb */ = {isa = PBXFileReference; lastKnownFileType = text; path = com.apple.WebKit.Networking.sb; sourceTree = "<group>"; }; > A78CCDD9193AC9E3005ECC25 /* com.apple.WebKit.WebContent.sb */ = {isa = PBXFileReference; lastKnownFileType = text; path = com.apple.WebKit.WebContent.sb; sourceTree = "<group>"; }; >- A7BD9863194653D400D35698 /* Databases-iOS.entitlements */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xml; path = "Databases-iOS.entitlements"; sourceTree = "<group>"; }; > A7D792D41767CB0900881CBE /* ActivityAssertion.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ActivityAssertion.h; sourceTree = "<group>"; }; > A7D792D51767CB6E00881CBE /* ActivityAssertion.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = ActivityAssertion.cpp; sourceTree = "<group>"; }; > A7E93CEB192531AA00A1DC48 /* AuxiliaryProcessIOS.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; name = AuxiliaryProcessIOS.mm; path = ios/AuxiliaryProcessIOS.mm; sourceTree = "<group>"; }; >@@ -4843,27 +4833,19 @@ > 1A4F976A100E7B6600637A18 /* Base.xcconfig */, > 5DAD73F1116FF90C00EE5396 /* BaseTarget.xcconfig */, > BCACC40D16B0B7BE00B6E092 /* BaseXPCService.xcconfig */, >- A7BD9863194653D400D35698 /* Databases-iOS.entitlements */, > 1A4F976B100E7B6600637A18 /* DebugRelease.xcconfig */, > 1A4F976C100E7B6600637A18 /* FeatureDefines.xcconfig */, > 7C0BB9A918DCDF5A0006C086 /* Network-iOS.entitlements */, > 37119A7D20CCB64E002C6DC9 /* Network-iOSMac.entitlements */, >- 5C6F4EED21E5B11300BC8380 /* Network-OSX-restricted.entitlements */, >- 41D0FC7D20E43A5100076AE8 /* Network-OSX-sandbox.entitlements */, >- 5C7ACFD1218DD8BD004CBB59 /* Network-OSX.entitlements */, > BC8283AB16B4BEAD00A278FE /* NetworkService.xcconfig */, > A1EDD2DB1884B96400BBFE98 /* PluginProcessShim.xcconfig */, > BC8283F416B4FC5300A278FE /* PluginService.64.xcconfig */, >- 5D442A5516D5856700AC3331 /* PluginService.entitlements */, > 37E83D401B37D27B002079EE /* SandboxProfiles.xcconfig */, > A1EDD2DC1884B9B500BBFE98 /* SecItemShim.xcconfig */, > 5183B3931379F85C00E8754E /* Shim.xcconfig */, > 1A4F976E100E7B6600637A18 /* Version.xcconfig */, > 7C0BB9A818DCDE890006C086 /* WebContent-iOS.entitlements */, > 37119A7E20CCB64E002C6DC9 /* WebContent-iOSMac.entitlements */, >- 37B418EB1C9624F20031E63B /* WebContent-or-Plugin-OSX-restricted.entitlements */, >- 4188C158211378520012ABCD /* WebContent-OSX-sandbox.entitlements */, >- 7AF66E1120C07CB6007828EA /* WebContent-OSX.entitlements */, > 372EBB4A2017E76000085064 /* WebContentService.Development.xcconfig */, > BCACC40E16B0B8A800B6E092 /* WebContentService.xcconfig */, > BCB86F4B116AAACD00CE20B7 /* WebKit.xcconfig */, >@@ -8603,9 +8585,7 @@ > 0FC0856F187CE0A900780D86 /* messages.py */, > 0FC08570187CE0A900780D86 /* model.py */, > 0FC08571187CE0A900780D86 /* parser.py */, >- 4188C154211377700012ABCD /* process-network-sandbox-entitlements.sh */, >- 7ACFAAD820B88D4F00C53203 /* process-webcontent-or-plugin-entitlements.sh */, >- 4188C156211377E80012ABCD /* process-webcontent-sandbox-entitlements.sh */, >+ 53B1640F2203715000EC4166 /* process-entitlements.sh */, > ); > path = Scripts; > sourceTree = "<group>"; >@@ -10025,7 +10005,6 @@ > isa = PBXNativeTarget; > buildConfigurationList = 372EBB422017E64300085064 /* Build configuration list for PBXNativeTarget "WebContent.Development" */; > buildPhases = ( >- 7A35F25120BDB80C003958EC /* Remove stale entitlement file */, > 372EBB3B2017E64300085064 /* Sources */, > 372EBB3D2017E64300085064 /* Frameworks */, > 372EBB402017E64300085064 /* Resources */, >@@ -10107,7 +10086,6 @@ > isa = PBXNativeTarget; > buildConfigurationList = BC3DE47615A91764008D26FC /* Build configuration list for PBXNativeTarget "WebContent" */; > buildPhases = ( >- 7A35F25020BDB7CC003958EC /* Remove stale entitlement file */, > BC3DE46215A91763008D26FC /* Sources */, > BCDC308D15FDB99A006B6695 /* Frameworks */, > BC3DE46415A91763008D26FC /* Resources */, >@@ -10129,7 +10107,6 @@ > isa = PBXNativeTarget; > buildConfigurationList = BC8283BD16B4BF7700A278FE /* Build configuration list for PBXNativeTarget "Networking" */; > buildPhases = ( >- 41D0FC7F20E43B0B00076AE8 /* Remove stale entitlements file */, > BC8283AD16B4BF7700A278FE /* Sources */, > BC8283AE16B4BF7700A278FE /* Frameworks */, > BC8283AF16B4BF7700A278FE /* Resources */, >@@ -10406,7 +10383,6 @@ > files = ( > ); > inputPaths = ( >- "$(SRCROOT)/Configurations/Databases-iOS.entitlements", > "$(SRCROOT)/Configurations/Network-iOS.entitlements", > "$(SRCROOT)/Configurations/WebContent-iOS.entitlements", > "$(SRCROOT)/Configurations/Network-iOSMac.entitlements", >@@ -10414,7 +10390,6 @@ > ); > name = "Derive Entitlements for Manual Sandboxing"; > outputPaths = ( >- "$(BUILT_PRODUCTS_DIR)/DerivedSources/WebKit2/Databases-iOS-no-sandbox.entitlements", > "$(BUILT_PRODUCTS_DIR)/DerivedSources/WebKit2/Network-iOS-no-sandbox.entitlements", > "$(BUILT_PRODUCTS_DIR)/DerivedSources/WebKit2/WebContent-iOS-no-sandbox.entitlements", > "$(BUILT_PRODUCTS_DIR)/DerivedSources/WebKit2/Network-iOSMac-no-sandbox.entitlements", >@@ -10470,20 +10445,6 @@ > shellPath = /bin/sh; > shellScript = "Scripts/copy-webcontent-resources-to-private-headers.sh\n"; > }; >- 41D0FC7F20E43B0B00076AE8 /* Remove stale entitlements file */ = { >- isa = PBXShellScriptBuildPhase; >- buildActionMask = 2147483647; >- files = ( >- ); >- inputPaths = ( >- ); >- name = "Remove stale entitlements file"; >- outputPaths = ( >- ); >- runOnlyForDeploymentPostprocessing = 0; >- shellPath = /bin/sh; >- shellScript = "# We autogenerate this file, so don't want to retain an old copy during builds.\nrm -f ${TEMP_FILE_DIR}/${FULL_PRODUCT_NAME}.xcent\n"; >- }; > 41D0FC8020E43B4500076AE8 /* Unlock keychain */ = { > isa = PBXShellScriptBuildPhase; > buildActionMask = 2147483647; >@@ -10504,14 +10465,15 @@ > files = ( > ); > inputPaths = ( >- "$(TEMP_FILE_DIR)/$(FULL_PRODUCT_NAME).xcent", >+ "$(SRCROOT)/Scripts/process-entitlements.sh", > ); > name = "Process Network entitlements"; > outputPaths = ( >+ "$(WK_PROCESSED_XCENT_FILE)", > ); > runOnlyForDeploymentPostprocessing = 0; > shellPath = /bin/sh; >- shellScript = "Scripts/process-network-sandbox-entitlements.sh\n"; >+ shellScript = "Scripts/process-entitlements.sh\n"; > }; > 5325BDD221DFF47C00A0DEE1 /* ShellScript */ = { > isa = PBXShellScriptBuildPhase; >@@ -10593,48 +10555,21 @@ > shellPath = /bin/sh; > shellScript = "if [ \"${ACTION}\" = \"installhdrs\" ] || [ \"${ACTION}\" = \"installapi\" ]; then\n exit 0;\nfi\n\nif [ -f ../../Tools/Scripts/check-for-inappropriate-files-in-framework ]; then\n ../../Tools/Scripts/check-for-inappropriate-files-in-framework || exit $?\nfi\n"; > }; >- 7A35F25020BDB7CC003958EC /* Remove stale entitlement file */ = { >- isa = PBXShellScriptBuildPhase; >- buildActionMask = 2147483647; >- files = ( >- ); >- inputPaths = ( >- ); >- name = "Remove stale entitlement file"; >- outputPaths = ( >- ); >- runOnlyForDeploymentPostprocessing = 0; >- shellPath = /bin/sh; >- shellScript = "# We autogenerate this file, so don't want to retain an old copy during builds.\nrm -f ${TEMP_FILE_DIR}/${FULL_PRODUCT_NAME}.xcent\n"; >- }; >- 7A35F25120BDB80C003958EC /* Remove stale entitlement file */ = { >- isa = PBXShellScriptBuildPhase; >- buildActionMask = 2147483647; >- files = ( >- ); >- inputPaths = ( >- ); >- name = "Remove stale entitlement file"; >- outputPaths = ( >- ); >- runOnlyForDeploymentPostprocessing = 0; >- shellPath = /bin/sh; >- shellScript = "# We autogenerate this file, so don't want to retain an old copy during builds.\nrm -f ${TEMP_FILE_DIR}/${FULL_PRODUCT_NAME}.xcent\n"; >- }; > 7A79E2DD2107F2DD00EF32A4 /* Process Plugin entitlements */ = { > isa = PBXShellScriptBuildPhase; > buildActionMask = 2147483647; > files = ( > ); > inputPaths = ( >- "$(TEMP_FILE_DIR)/$(FULL_PRODUCT_NAME).xcent", >+ "$(SRCROOT)/Scripts/process-entitlements.sh", > ); > name = "Process Plugin entitlements"; > outputPaths = ( >+ "$(WK_PROCESSED_XCENT_FILE)", > ); > runOnlyForDeploymentPostprocessing = 0; > shellPath = /bin/sh; >- shellScript = "Scripts/process-webcontent-or-plugin-entitlements.sh\n"; >+ shellScript = "Scripts/process-entitlements.sh\n"; > }; > 7AFCBD5420B8911D00F55C9C /* Process WebContent entitlements */ = { > isa = PBXShellScriptBuildPhase; >@@ -10642,14 +10577,15 @@ > files = ( > ); > inputPaths = ( >- "$(TEMP_FILE_DIR)/$(FULL_PRODUCT_NAME).xcent", >+ "$(SRCROOT)/Scripts/process-entitlements.sh", > ); > name = "Process WebContent entitlements"; > outputPaths = ( >+ "$(WK_PROCESSED_XCENT_FILE)", > ); > runOnlyForDeploymentPostprocessing = 0; > shellPath = /bin/sh; >- shellScript = "Scripts/process-webcontent-or-plugin-entitlements.sh\nScripts/process-webcontent-sandbox-entitlements.sh\n"; >+ shellScript = "Scripts/process-entitlements.sh\n"; > }; > 7AFCBD5520B8917D00F55C9C /* Process WebContent entitlements */ = { > isa = PBXShellScriptBuildPhase; >@@ -10657,14 +10593,15 @@ > files = ( > ); > inputPaths = ( >- "$(TEMP_FILE_DIR)/$(FULL_PRODUCT_NAME).xcent", >+ "$(SRCROOT)/Scripts/process-entitlements.sh", > ); > name = "Process WebContent entitlements"; > outputPaths = ( >+ "$(WK_PROCESSED_XCENT_FILE)", > ); > runOnlyForDeploymentPostprocessing = 0; > shellPath = /bin/sh; >- shellScript = "Scripts/process-webcontent-or-plugin-entitlements.sh\nScripts/process-webcontent-sandbox-entitlements.sh\n"; >+ shellScript = "Scripts/process-entitlements.sh\n"; > }; > 99CA3862207286DB00BAD578 /* Copy WebDriver Atoms to Framework Private Headers */ = { > isa = PBXShellScriptBuildPhase;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Formatted Diff
|
Diff
Attachments on
bug 193799
: 361368