WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
46303
[WinCairo] Update WebKitTestRunner and DumpRenderTree Build
https://bugs.webkit.org/show_bug.cgi?id=46303
Summary
[WinCairo] Update WebKitTestRunner and DumpRenderTree Build
Brent Fulgham
Reported
Wednesday, September 22, 2010 9:55:26 PM UTC
This bug updates the build infrastructure for the WebKitTestRunner and DumpRenderTree projects so that the WinCairo port builds properly. This is a step in preparation for activating the WinCairo build bot. Changes include: 1. Disable the MD5 sources in DumpRenderTree, and copy the wtf/MD5.h header to an appropriate location for the cairo build. WinCairo attempts to match the native cairo pixel handling logic, so shares the WTF version of the MD5 routines. 2. Add a CFLite version of InjectedBundleCommon.vsprops for the non-CoreFoundation build used by WinCairo. 3. Update InjectedBundle so with *_Cairo build targets so that the WinCairo port uses CFLite and appropriate DLL naming.
Attachments
Build fixes for WinCairo.
(12.65 KB, patch)
2010-09-22 14:34 PDT
,
Brent Fulgham
aroben
: review-
Details
Formatted Diff
Diff
Revised per aroben's comments.
(16.53 KB, patch)
2010-09-22 16:13 PDT
,
Brent Fulgham
no flags
Details
Formatted Diff
Diff
Part 2 of change: Correct build for WebKitTestRunner and MiniBrowser
(46.46 KB, patch)
2010-09-22 17:50 PDT
,
Brent Fulgham
mrobinson
: review+
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
Brent Fulgham
Comment 1
Wednesday, September 22, 2010 10:34:08 PM UTC
Created
attachment 68444
[details]
Build fixes for WinCairo.
Adam Roben (:aroben)
Comment 2
Wednesday, September 22, 2010 10:46:12 PM UTC
Comment on
attachment 68444
[details]
Build fixes for WinCairo. View in context:
https://bugs.webkit.org/attachment.cgi?id=68444&action=review
You seem to be missing a WebKit/ChangeLog entry.
> WebKitTools/WebKitTestRunner/Configurations/InjectedBundleCFLite.vsprops:24 > + <Tool > + Name="VCCLCompilerTool" > + AdditionalIncludeDirectories=""$(ProjectDir)\..";"$(ProjectDir)\..\InjectedBundle\";"$(ProjectDir)\..\InjectedBundle\Bindings";"$(WebKitOutputDir)\Include";"$(WebKitOutputDir)\Include\private";"$(WebKitOutputDir)\Include\WebCore\ForwardingHeaders";"$(WebKitLibrariesDir)\include";"$(WebKitOutputDir)\obj\InjectedBundle\DerivedSources\"" > + ForcedIncludeFiles="WebKitTestRunnerPrefix.h" > + /> > + <Tool > + Name="VCLinkerTool" > + AdditionalDependencies="JavaScriptCore$(WebKitDLLConfigSuffix).lib WebKit$(WebKitDLLConfigSuffix).lib CFLite$(LibraryConfigSuffix).lib" > + OutputFile="$(OutDir)\$(ProjectName)$(WebKitConfigSuffix).dll" > + /> > + <Tool > + Name="VCPostBuildEventTool" > + CommandLine="if exist "$(WebKitOutputDir)\buildfailed" del "$(WebKitOutputDir)\buildfailed"" > + /> > + <Tool > + Name="VCPreBuildEventTool" > + CommandLine="%SystemDrive%\cygwin\bin\which.exe bash
if errorlevel 1 set PATH=%SystemDrive%\cygwin\bin;%PATH%
cmd /c
if exist "$(WebKitOutputDir)\buildfailed" grep XX$(ProjectName)XX "$(WebKitOutputDir)\buildfailed"
if errorlevel 1 exit 1
echo XX$(ProjectName)XX > "$(WebKitOutputDir)\buildfailed"
" > + />
We should move the Apple-specific stuff out of InjectedBundleCommon so that the non-Apple-specific things don't need to be duplicated here.
Brent Fulgham
Comment 3
Thursday, September 23, 2010 12:13:36 AM UTC
Created
attachment 68466
[details]
Revised per aroben's comments. * Adds missing ChangeLog entry. * Refactors vsprops to reduce duplication.
Martin Robinson
Comment 4
Thursday, September 23, 2010 12:26:26 AM UTC
Comment on
attachment 68466
[details]
Revised per aroben's comments. Looks sane to me after fixing the ChangeLog.
Brent Fulgham
Comment 5
Thursday, September 23, 2010 1:31:35 AM UTC
I'm adding an additional patch to resolve building of WebKitTestRunner and MiniBrowser. With these additions, a full build can again be achieved on WinCairo.
Brent Fulgham
Comment 6
Thursday, September 23, 2010 1:50:31 AM UTC
Created
attachment 68480
[details]
Part 2 of change: Correct build for WebKitTestRunner and MiniBrowser
Brent Fulgham
Comment 7
Thursday, September 23, 2010 1:52:06 AM UTC
Part 1 landed in
http://trac.webkit.org/changeset/68098
.
Brent Fulgham
Comment 8
Thursday, September 23, 2010 2:01:08 AM UTC
Note: I purposely left the post-build settings in both the *CoreFoundation and *CFLite property sheets (and projects), even though they are currently the same. A future update will modify the CFLite version of these routines to copy the CFLite-specific DLL's into the appropriate bin directory so tests can be run.
Martin Robinson
Comment 9
Thursday, September 23, 2010 2:08:55 AM UTC
Comment on
attachment 68480
[details]
Part 2 of change: Correct build for WebKitTestRunner and MiniBrowser This looks sane to me, though there is a lot of duplicated copying logic. bfulgham has assured me that he's making a followup patch which reduces this though.
Brent Fulgham
Comment 10
Thursday, September 23, 2010 5:21:18 PM UTC
Landed part 2 in
http://trac.webkit.org/changeset/68107
.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug