Changeset 184215 in webkit
- Timestamp:
- May 12, 2015, 1:46:34 PM (10 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 12 edited
- 3 copied
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r184212 r184215 1 2015-05-12 Anders Carlsson <andersca@apple.com> 2 3 Production builds should link against the shims directly 4 https://bugs.webkit.org/show_bug.cgi?id=144922 5 rdar://problem/19708579 6 7 Reviewed by Dan Bernstein. 8 9 * Configurations/NetworkService.xcconfig: 10 Point to an Info.plist that has DYLD_INSERT_LIBRARIES set on 10.10 and earlier. 11 Link directly against SecItemShim.dylib where possible. 12 13 * Configurations/PluginProcessShim.xcconfig: 14 Set the install name and install path. 15 16 * Configurations/PluginService.32.xcconfig: 17 Point to an Info.plist that has DYLD_INSERT_LIBRARIES set on 10.10 and earlier. 18 Link directly against PluginProcessShim.dylib where possible. 19 20 * Configurations/PluginService.64.xcconfig: 21 Point to an Info.plist that has DYLD_INSERT_LIBRARIES set on 10.10 and earlier. 22 Link directly against PluginProcessShim.dylib where possible. 23 24 * Configurations/SecItemShim.xcconfig: 25 Set the install name and install path. 26 27 * Configurations/WebContentService.xcconfig: 28 Point to an Info.plist that has DYLD_INSERT_LIBRARIES set on 10.10 and earlier. 29 Link directly against WebProcessShim.dylib where possible. 30 31 * Configurations/WebProcessShim.xcconfig: 32 Set the install name and install path. 33 34 * NetworkProcess/EntryPoint/mac/XPCService/NetworkService/Info-OSX-10.9-10.10.plist: Copied from Source/WebKit2/NetworkProcess/EntryPoint/mac/XPCService/NetworkService/Info-OSX.plist. 35 * NetworkProcess/EntryPoint/mac/XPCService/NetworkService/Info-OSX.plist: 36 Add an Info.plist for 10.9 and 10.10 and remove DYLD_INSERT_LIBRARIES from the non-legacy plist. 37 38 * PluginProcess/EntryPoint/mac/XPCService/PluginService.32-64-10.9-10.10.Info.plist: Copied from Source/WebKit2/PluginProcess/EntryPoint/mac/XPCService/PluginService.32-64.Info.plist. 39 * PluginProcess/EntryPoint/mac/XPCService/PluginService.32-64.Info.plist: 40 Add an Info.plist for 10.9 and 10.10 and remove DYLD_INSERT_LIBRARIES from the non-legacy plist. 41 42 * WebKit2.xcodeproj/project.pbxproj: 43 Add new files. 44 45 * WebProcess/EntryPoint/mac/XPCService/WebContentService/Info-OSX-10.9-10.10.plist: Copied from Source/WebKit2/WebProcess/EntryPoint/mac/XPCService/WebContentService/Info-OSX.plist. 46 * WebProcess/EntryPoint/mac/XPCService/WebContentService/Info-OSX.plist: 47 Add an Info.plist for 10.9 and 10.10 and remove DYLD_INSERT_LIBRARIES from the non-legacy plist. 48 1 49 2015-05-12 Alexey Proskuryakov <ap@apple.com> 2 50 -
trunk/Source/WebKit2/Configurations/NetworkService.xcconfig
r177621 r184215 29 29 INFOPLIST_FILE[sdk=iphone*] = NetworkProcess/EntryPoint/mac/XPCService/NetworkService/Info-iOS.plist; 30 30 INFOPLIST_FILE[sdk=macosx*] = NetworkProcess/EntryPoint/mac/XPCService/NetworkService/Info-OSX.plist; 31 INFOPLIST_FILE[sdk=macosx10.9*] = NetworkProcess/EntryPoint/mac/XPCService/NetworkService/Info-OSX-10.9-10.10.plist; 32 INFOPLIST_FILE[sdk=macosx10.10*] = NetworkProcess/EntryPoint/mac/XPCService/NetworkService/Info-OSX-10.9-10.10.plist; 31 33 32 34 CODE_SIGN_ENTITLEMENTS[sdk=iphone*] = Configurations/Network-iOS.entitlements; 35 36 OTHER_LDFLAGS = $(inherited) $(OTHER_LDFLAGS_VERSIONED_FRAMEWORK_PATH) $(OTHER_LDFLAGS_PLATFORM); 37 OTHER_LDFLAGS_PLATFORM[sdk=macosx*] = $(BUILT_PRODUCTS_DIR)/SecItemShim.dylib; 38 OTHER_LDFLAGS_PLATFORM[sdk=macosx10.9*] = ; 39 OTHER_LDFLAGS_PLATFORM[sdk=macosx10.10*] = ; -
trunk/Source/WebKit2/Configurations/PluginProcessShim.xcconfig
r177621 r184215 26 26 #include "Shim.xcconfig" 27 27 28 INSTALL_PATH_ACTUAL = $(WEBKIT_FRAMEWORKS_DIR)/WebKit.framework/Versions/A/PluginProcess.app/Contents/MacOS; 29 DYLIB_INSTALL_NAME_BASE = $(NORMAL_WEBKIT_FRAMEWORKS_DIR)/WebKit.framework/Versions/A/PluginProcess.app/Contents/MacOS; 30 28 31 OTHER_LDFLAGS = $(ASAN_OTHER_LDFLAGS) $(OTHER_LDFLAGS_PLATFORM); 29 32 OTHER_LDFLAGS_PLATFORM[sdk=macosx*] = -framework AppKit -framework Carbon -framework QuartzCore; -
trunk/Source/WebKit2/Configurations/PluginService.32.xcconfig
r183360 r184215 32 32 PRODUCT_NAME = com.apple.WebKit.Plugin.32; 33 33 INFOPLIST_FILE = PluginProcess/EntryPoint/mac/XPCService/PluginService.32-64.Info.plist; 34 INFOPLIST_FILE[sdk=macosx10.9*] = PluginProcess/EntryPoint/mac/XPCService/PluginService.32-64-10.9-10.10.Info.plist; 35 INFOPLIST_FILE[sdk=macosx10.10] = PluginProcess/EntryPoint/mac/XPCService/PluginService.32-64-10.9-10.10.Info.plist; 34 36 35 37 OTHER_LDFLAGS = $(OTHER_LDFLAGS) $(OTHER_LDFLAGS_PLATFORM) $(OTHER_LDFLAGS_VERSIONED_FRAMEWORK_PATH); 36 OTHER_LDFLAGS_PLATFORM[sdk=macosx*] = -framework AppKit; 38 OTHER_LDFLAGS_PLATFORM[sdk=macosx*] = -framework AppKit $(BUILT_PRODUCTS_DIR)/PluginProcessShim.dylib; 39 OTHER_LDFLAGS_PLATFORM[sdk=macosx10.9*] = -framework AppKit; 40 OTHER_LDFLAGS_PLATFORM[sdk=macosx10.10*] = -framework AppKit; 37 41 38 42 CODE_SIGN_ENTITLEMENTS = Configurations/PluginService.entitlements; -
trunk/Source/WebKit2/Configurations/PluginService.64.xcconfig
r183360 r184215 32 32 PRODUCT_NAME = com.apple.WebKit.Plugin.64; 33 33 INFOPLIST_FILE = PluginProcess/EntryPoint/mac/XPCService/PluginService.32-64.Info.plist; 34 INFOPLIST_FILE[sdk=macosx10.9*] = PluginProcess/EntryPoint/mac/XPCService/PluginService.32-64-10.9-10.10.Info.plist; 35 INFOPLIST_FILE[sdk=macosx10.10] = PluginProcess/EntryPoint/mac/XPCService/PluginService.32-64-10.9-10.10.Info.plist; 34 36 35 37 OTHER_LDFLAGS = $(OTHER_LDFLAGS) $(OTHER_LDFLAGS_PLATFORM) $(OTHER_LDFLAGS_VERSIONED_FRAMEWORK_PATH); 36 OTHER_LDFLAGS_PLATFORM[sdk=macosx*] = -framework AppKit; 38 OTHER_LDFLAGS_PLATFORM[sdk=macosx*] = -framework AppKit $(BUILT_PRODUCTS_DIR)/PluginProcessShim.dylib; 39 OTHER_LDFLAGS_PLATFORM[sdk=macosx10.9*] = -framework AppKit; 40 OTHER_LDFLAGS_PLATFORM[sdk=macosx10.10*] = -framework AppKit; 37 41 38 42 CODE_SIGN_ENTITLEMENTS = Configurations/PluginService.entitlements; -
trunk/Source/WebKit2/Configurations/SecItemShim.xcconfig
r177621 r184215 26 26 #include "Shim.xcconfig" 27 27 28 INSTALL_PATH_ACTUAL[sdk=macosx*] = $(WEBKIT_FRAMEWORKS_DIR)/WebKit.framework/Versions/A/NetworkProcess.app/Contents/MacOS; 29 DYLIB_INSTALL_NAME_BASE[sdk=macosx*] = $(NORMAL_WEBKIT_FRAMEWORKS_DIR)/WebKit.framework/Versions/A/NetworkProcess.app/Contents/MacOS; 30 28 31 OTHER_LDFLAGS = $(ASAN_OTHER_LDFLAGS) $(OTHER_LDFLAGS_PLATFORM); 29 32 OTHER_LDFLAGS_PLATFORM[sdk=macosx*] = -framework Security; -
trunk/Source/WebKit2/Configurations/WebContentService.xcconfig
r179450 r184215 29 29 INFOPLIST_FILE[sdk=iphone*] = WebProcess/EntryPoint/mac/XPCService/WebContentService/Info-iOS.plist; 30 30 INFOPLIST_FILE[sdk=macosx*] = WebProcess/EntryPoint/mac/XPCService/WebContentService/Info-OSX.plist; 31 INFOPLIST_FILE[sdk=macosx10.9*] = WebProcess/EntryPoint/mac/XPCService/WebContentService/Info-OSX-10.9-10.10.plist; 32 INFOPLIST_FILE[sdk=macosx10.10*] = WebProcess/EntryPoint/mac/XPCService/WebContentService/Info-OSX-10.9-10.10.plist; 31 33 32 34 BUNDLE_LOCALIZATION_KEY[sdk=iphone*] = CFBundleFollowParentLocalization; … … 39 41 40 42 OTHER_LDFLAGS = $(inherited) $(OTHER_LDFLAGS_VERSIONED_FRAMEWORK_PATH) $(OTHER_LDFLAGS_PLATFORM); 41 OTHER_LDFLAGS_PLATFORM[sdk=macosx*] = -framework AppKit; 43 OTHER_LDFLAGS_PLATFORM[sdk=macosx*] = -framework AppKit $(BUILT_PRODUCTS_DIR)/WebProcessShim.dylib; 44 OTHER_LDFLAGS_PLATFORM[sdk=macosx10.9*] = -framework AppKit; 45 OTHER_LDFLAGS_PLATFORM[sdk=macosx10.10*] = -framework AppKit; -
trunk/Source/WebKit2/Configurations/WebProcessShim.xcconfig
r177621 r184215 26 26 #include "Shim.xcconfig" 27 27 28 INSTALL_PATH_ACTUAL = $(WEBKIT_FRAMEWORKS_DIR)/WebKit.framework/Versions/A/WebProcess.app/Contents/MacOS; 29 DYLIB_INSTALL_NAME_BASE = $(NORMAL_WEBKIT_FRAMEWORKS_DIR)/WebKit.framework/Versions/A/WebProcess.app/Contents/MacOS; 30 28 31 OTHER_LDFLAGS = $(ASAN_OTHER_LDFLAGS) $(OTHER_LDFLAGS_PLATFORM); 29 32 OTHER_LDFLAGS_PLATFORM[sdk=macosx*] = -framework CoreServices -framework Security; -
trunk/Source/WebKit2/NetworkProcess/EntryPoint/mac/XPCService/NetworkService/Info-OSX.plist
r177849 r184215 41 41 <key>_MultipleInstances</key> 42 42 <true/> 43 <key>EnvironmentVariables</key>44 <dict>45 <key>DYLD_INSERT_LIBRARIES</key>46 <string>$(WEBKIT_FRAMEWORKS_DIR)/WebKit.framework/NetworkProcess.app/Contents/MacOS/SecItemShim.dylib</string>47 </dict>48 43 </dict> 49 44 </dict> -
trunk/Source/WebKit2/PluginProcess/EntryPoint/mac/XPCService/PluginService.32-64.Info.plist
r177849 r184215 49 49 <key>EnvironmentVariables</key> 50 50 <dict> 51 <key>DYLD_INSERT_LIBRARIES</key>52 <string>$(WEBKIT_FRAMEWORKS_DIR)/WebKit.framework/PluginProcess.app/Contents/MacOS/PluginProcessShim.dylib</string>53 51 <key>NSStringDisableTagged</key> 54 52 <string>YES</string> -
trunk/Source/WebKit2/WebKit2.xcodeproj/project.pbxproj
r184043 r184215 2420 2420 1A6509CD18B4146200614332 /* WKProcessPoolPrivate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WKProcessPoolPrivate.h; sourceTree = "<group>"; }; 2421 2421 1A66BF8E18A052ED002071B4 /* WKWebViewInternal.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WKWebViewInternal.h; sourceTree = "<group>"; }; 2422 1A6D141F1B0167D500785FF0 /* Info-OSX-10.9-10.10.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = "Info-OSX-10.9-10.10.plist"; sourceTree = "<group>"; }; 2423 1A6D14211B01681600785FF0 /* PluginService.32-64-10.9-10.10.Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = "PluginService.32-64-10.9-10.10.Info.plist"; path = "PluginProcess/EntryPoint/mac/XPCService/PluginService.32-64-10.9-10.10.Info.plist"; sourceTree = SOURCE_ROOT; }; 2422 2424 1A6F9F8E11E13EFC00DB1371 /* CommandLine.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CommandLine.h; sourceTree = "<group>"; }; 2423 2425 1A6F9FB611E1408500DB1371 /* CommandLinePOSIX.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = CommandLinePOSIX.cpp; sourceTree = "<group>"; }; … … 2437 2439 1A7C6CD81378950800B9C04D /* EnvironmentVariables.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = EnvironmentVariables.cpp; sourceTree = "<group>"; }; 2438 2440 1A7C6CD91378950800B9C04D /* EnvironmentVariables.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = EnvironmentVariables.h; sourceTree = "<group>"; }; 2441 1A7DA54D1AFD8B380018239D /* Info-OSX-10.9-10.10.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = "Info-OSX-10.9-10.10.plist"; sourceTree = "<group>"; }; 2439 2442 1A7E377418E4A33A003D0FFF /* WKScriptMessageHandler.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WKScriptMessageHandler.h; sourceTree = "<group>"; }; 2440 2443 1A7E377618E4A4FE003D0FFF /* WKScriptMessage.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = WKScriptMessage.mm; sourceTree = "<group>"; }; … … 6874 6877 children = ( 6875 6878 26659AA0185FAAED004303DD /* Info-iOS.plist */, 6879 1A6D141F1B0167D500785FF0 /* Info-OSX-10.9-10.10.plist */, 6876 6880 BC8283A316B4BD9100A278FE /* Info-OSX.plist */, 6877 6881 ); … … 6902 6906 isa = PBXGroup; 6903 6907 children = ( 6908 1A6D14211B01681600785FF0 /* PluginService.32-64-10.9-10.10.Info.plist */, 6904 6909 BCFCA89516DE96CB00074069 /* PluginService.32-64.Info.plist */, 6905 6910 ); … … 6996 7001 children = ( 6997 7002 375FB4731883415600BE34D4 /* Info-iOS.plist */, 7003 1A7DA54D1AFD8B380018239D /* Info-OSX-10.9-10.10.plist */, 6998 7004 BCACC44016B24CAA00B6E092 /* Info-OSX.plist */, 6999 7005 ); -
trunk/Source/WebKit2/WebProcess/EntryPoint/mac/XPCService/WebContentService/Info-OSX.plist
r177849 r184215 47 47 <key>_MultipleInstances</key> 48 48 <true/> 49 <key>EnvironmentVariables</key>50 <dict>51 <key>DYLD_INSERT_LIBRARIES</key>52 <string>$(WEBKIT_FRAMEWORKS_DIR)/WebKit.framework/WebProcess.app/Contents/MacOS/WebProcessShim.dylib</string>53 </dict>54 49 </dict> 55 50 </dict>
Note:
See TracChangeset
for help on using the changeset viewer.