3 Turn MiniBrowser into a stub .exe launcher and a .dll that contains all the real code
4
5 This allows us to add the Apple Application Support directory to PATH before trying to load
6 WebKit so that CoreGraphics.dll and friends can be found.
7
8 Fixes <http://webkit.org/b/68576> <rdar://problem/10163853> MiniBrowser fails to launch when
9 double-clicked
10
11 Reviewed by NOBODY (OOPS!).
12
13 * MiniBrowser/MiniBrowser.vcproj:
14 * MiniBrowser/Configurations/MiniBrowserCommon.vsprops:
15 Changed to build MiniBrowser.dll instead of MiniBrowser.exe.
16
17 * MiniBrowser/Configurations/MiniBrowserLauncherCommon.vsprops: Added.
18 * MiniBrowser/Configurations/MiniBrowserLauncherDebug.vsprops: Added.
19 * MiniBrowser/Configurations/MiniBrowserLauncherDebugAll.vsprops: Added.
20 * MiniBrowser/Configurations/MiniBrowserLauncherDebugCairoCFLite.vsprops: Added.
21 * MiniBrowser/Configurations/MiniBrowserLauncherProduction.vsprops: Added.
22 * MiniBrowser/Configurations/MiniBrowserLauncherRelease.vsprops: Added.
23 * MiniBrowser/Configurations/MiniBrowserLauncherReleaseCairoCFLite.vsprops: Added.
24
25 * MiniBrowser/MiniBrowserLauncher.vcproj: Copied from Tools/MiniBrowser/MiniBrowser.vcproj
26 but changed to build the stub launcher.
27
28 * MiniBrowser/win/main.cpp: Moved the /manifestdependency code to DLLLauncherMain.cpp, since
29 it needs to be compiled into the .exe instead of the .dll.
30 (DllMain): Added. We use this to store the DLL's HINSTANCE.
31 (dllLauncherEntryPoint): Renamed from _tWinMain. This is what gets called by the
32 DLLLauncherMain code.
33
34 * win/DLLLauncher/DLLLauncherMain.cpp: Moved the /manifestdependency code from MiniBrowser
35 to here.
36
372012-01-04 Adam Roben <aroben@apple.com>
38