Consolidate main functions in WebKit2 now that they are all identical
authorweinig@apple.com <weinig@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 13 Feb 2013 22:46:05 +0000 (22:46 +0000)
committerweinig@apple.com <weinig@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 13 Feb 2013 22:46:05 +0000 (22:46 +0000)
commit70b0f4dc2d244ca016814dab088ca5dbf8f4a90b
tree0bfb16b15880dea0040518699c15dc2a955f673b
parent9b088574f9a2343b19bb8fad3dce2091943ab644
Consolidate main functions in WebKit2 now that they are all identical
https://bugs.webkit.org/show_bug.cgi?id=109748

Reviewed by Anders Carlsson.

- Consolidates all the LegacyProcess main functions into ChildProcessMain.mm
- Consolidates all the XPCService main functions into XPCServiceMain.mm and XPCServiceMain.Development.mm
- Rename existing ChildProcessMain.h/mm to ChildProcessEntryPoint.h/mm to match the XPCService ones.
- Switch LegacyProcess to use the "entry point in the plist" idiom, instead of hard coding each one, again
  matching the XPCService.

* Configurations/BaseLegacyProcess.xcconfig: Add base configuration to hold common legacy process options.
* Configurations/BaseXPCService.xcconfig:
* Configurations/NetworkProcess.xcconfig:
* Configurations/OfflineStorageProcess.xcconfig:
* Configurations/PluginProcess.xcconfig:
* Configurations/SharedWorkerProcess.xcconfig:
* Configurations/WebContentProcess.xcconfig: Renamed form  WebProcess.xcconfig.
* NetworkProcess/EntryPoint/mac/LegacyProcess/Info.plist:
* NetworkProcess/EntryPoint/mac/LegacyProcess/NetworkProcessMain.mm:
* NetworkProcess/EntryPoint/mac/LegacyProcess/NetworkProcessMainBootstrapper.cpp: Removed.
* NetworkProcess/EntryPoint/mac/XPCService/NetworkService.Development/NetworkServiceMain.Development.mm: Removed.
* NetworkProcess/EntryPoint/mac/XPCService/NetworkService/NetworkServiceMain.mm: Removed.
* OfflineStorageProcess/EntryPoint/mac/LegacyProcess/Info.plist:
* OfflineStorageProcess/EntryPoint/mac/LegacyProcess/OfflineStorageProcessMain.mm:
* OfflineStorageProcess/EntryPoint/mac/LegacyProcess/OfflineStorageProcessMainBootstrapper.cpp: Removed.
* OfflineStorageProcess/EntryPoint/mac/XPCService/OfflineStorageService.Development/OfflineStorageServiceMain.Development.mm: Removed.
* OfflineStorageProcess/EntryPoint/mac/XPCService/OfflineStorageService/OfflineStorageServiceMain.mm: Removed.
* PluginProcess/EntryPoint/mac/LegacyProcess/Info.plist:
* PluginProcess/EntryPoint/mac/LegacyProcess/PluginProcessMain.mm:
* PluginProcess/EntryPoint/mac/LegacyProcess/PluginProcessMainBootstrapper.cpp: Removed.
* PluginProcess/EntryPoint/mac/XPCService/PluginService.64/PluginService.64.Main.mm: Removed.
* PluginProcess/EntryPoint/mac/XPCService/PluginService.Development/PluginService.Development.Main.mm: Removed.
* Shared/EntryPointUtilities/mac/LegacyProcess/ChildProcessEntryPoint.h:
* Shared/EntryPointUtilities/mac/LegacyProcess/ChildProcessEntryPoint.mm:
* Shared/EntryPointUtilities/mac/LegacyProcess/ChildProcessMain.h: Removed.
* Shared/EntryPointUtilities/mac/LegacyProcess/ChildProcessMain.mm: Replaced.
* Shared/EntryPointUtilities/mac/LegacyProcess/ChildProcessMainBootstrapper.h: Removed.
* Shared/EntryPointUtilities/mac/XPCService/XPCServiceBootstrapper.Development.h: Removed.
* Shared/EntryPointUtilities/mac/XPCService/XPCServiceBootstrapper.h: Removed.
* Shared/EntryPointUtilities/mac/XPCService/XPCServiceMain.Development.mm:
* Shared/EntryPointUtilities/mac/XPCService/XPCServiceMain.mm:
* SharedWorkerProcess/EntryPoint/mac/LegacyProcess/Info.plist:
* SharedWorkerProcess/EntryPoint/mac/LegacyProcess/SharedWorkerProcessMain.mm:
* SharedWorkerProcess/EntryPoint/mac/LegacyProcess/SharedWorkerProcessMainBootstrapper.cpp: Removed.
* WebProcess/EntryPoint/mac/LegacyProcess/Info.plist:
* WebProcess/EntryPoint/mac/LegacyProcess/WebContentProcessMain.mm:
* WebProcess/EntryPoint/mac/LegacyProcess/WebContentProcessMainBootstrapper.cpp: Removed.
* WebProcess/EntryPoint/mac/XPCService/WebContentService.Development/WebContentServiceMain.Development.mm: Removed.
* WebProcess/EntryPoint/mac/XPCService/WebContentService/WebContentServiceMain.mm: Removed.
* WebKit2.xcodeproj/project.pbxproj:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@142806 268f45cc-cd09-0410-ab3c-d52691b4dbfc
38 files changed:
Source/WebKit2/ChangeLog
Source/WebKit2/Configurations/BaseLegacyProcess.xcconfig [moved from Source/WebKit2/Configurations/WebProcess.xcconfig with 91% similarity]
Source/WebKit2/Configurations/BaseXPCService.xcconfig
Source/WebKit2/Configurations/NetworkProcess.xcconfig
Source/WebKit2/Configurations/OfflineStorageProcess.xcconfig
Source/WebKit2/Configurations/PluginProcess.xcconfig
Source/WebKit2/Configurations/SharedWorkerProcess.xcconfig
Source/WebKit2/Configurations/WebContentProcess.xcconfig [new file with mode: 0644]
Source/WebKit2/NetworkProcess/EntryPoint/mac/LegacyProcess/Info.plist
Source/WebKit2/NetworkProcess/EntryPoint/mac/LegacyProcess/NetworkProcessMain.mm
Source/WebKit2/NetworkProcess/EntryPoint/mac/LegacyProcess/NetworkProcessMainBootstrapper.cpp [deleted file]
Source/WebKit2/NetworkProcess/EntryPoint/mac/XPCService/NetworkService.Development/NetworkServiceMain.Development.mm [deleted file]
Source/WebKit2/NetworkProcess/EntryPoint/mac/XPCService/NetworkService/NetworkServiceMain.mm [deleted file]
Source/WebKit2/OfflineStorageProcess/EntryPoint/mac/LegacyProcess/Info.plist
Source/WebKit2/OfflineStorageProcess/EntryPoint/mac/LegacyProcess/OfflineStorageProcessMain.mm
Source/WebKit2/OfflineStorageProcess/EntryPoint/mac/LegacyProcess/OfflineStorageProcessMainBootstrapper.cpp [deleted file]
Source/WebKit2/OfflineStorageProcess/EntryPoint/mac/XPCService/OfflineStorageService.Development/OfflineStorageServiceMain.Development.mm [deleted file]
Source/WebKit2/OfflineStorageProcess/EntryPoint/mac/XPCService/OfflineStorageService/OfflineStorageServiceMain.mm [deleted file]
Source/WebKit2/PluginProcess/EntryPoint/mac/LegacyProcess/Info.plist
Source/WebKit2/PluginProcess/EntryPoint/mac/LegacyProcess/PluginProcessMain.mm
Source/WebKit2/PluginProcess/EntryPoint/mac/LegacyProcess/PluginProcessMainBootstrapper.cpp [deleted file]
Source/WebKit2/PluginProcess/EntryPoint/mac/XPCService/PluginService.64/PluginService.64.Main.mm [deleted file]
Source/WebKit2/PluginProcess/EntryPoint/mac/XPCService/PluginService.Development/PluginService.Development.Main.mm [deleted file]
Source/WebKit2/Shared/EntryPointUtilities/mac/LegacyProcess/ChildProcessEntryPoint.h [moved from Source/WebKit2/Shared/EntryPointUtilities/mac/LegacyProcess/ChildProcessMain.h with 97% similarity]
Source/WebKit2/Shared/EntryPointUtilities/mac/LegacyProcess/ChildProcessEntryPoint.mm [new file with mode: 0644]
Source/WebKit2/Shared/EntryPointUtilities/mac/LegacyProcess/ChildProcessMain.mm
Source/WebKit2/Shared/EntryPointUtilities/mac/LegacyProcess/ChildProcessMainBootstrapper.h [deleted file]
Source/WebKit2/Shared/EntryPointUtilities/mac/XPCService/XPCServiceMain.Development.mm [moved from Source/WebKit2/Shared/EntryPointUtilities/mac/XPCService/XPCServiceBootstrapper.Development.h with 97% similarity]
Source/WebKit2/Shared/EntryPointUtilities/mac/XPCService/XPCServiceMain.mm [moved from Source/WebKit2/Shared/EntryPointUtilities/mac/XPCService/XPCServiceBootstrapper.h with 96% similarity]
Source/WebKit2/SharedWorkerProcess/EntryPoint/mac/LegacyProcess/Info.plist
Source/WebKit2/SharedWorkerProcess/EntryPoint/mac/LegacyProcess/SharedWorkerProcessMain.mm
Source/WebKit2/SharedWorkerProcess/EntryPoint/mac/LegacyProcess/SharedWorkerProcessMainBootstrapper.cpp [deleted file]
Source/WebKit2/WebKit2.xcodeproj/project.pbxproj
Source/WebKit2/WebProcess/EntryPoint/mac/LegacyProcess/Info.plist
Source/WebKit2/WebProcess/EntryPoint/mac/LegacyProcess/WebContentProcessMain.mm
Source/WebKit2/WebProcess/EntryPoint/mac/LegacyProcess/WebContentProcessMainBootstrapper.cpp [deleted file]
Source/WebKit2/WebProcess/EntryPoint/mac/XPCService/WebContentService.Development/WebContentServiceMain.Development.mm [deleted file]
Source/WebKit2/WebProcess/EntryPoint/mac/XPCService/WebContentService/WebContentServiceMain.mm [deleted file]