WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
25950
JavaScriptCore Fails to Build on Windows (Cairo)
https://bugs.webkit.org/show_bug.cgi?id=25950
Summary
JavaScriptCore Fails to Build on Windows (Cairo)
Brent Fulgham
Reported
2009-05-21 16:21:23 PDT
The recent (great!) change to using more Visual Studio property sheets introduced a build error for the non-Apple build of JavaScriptCore. The Cairo version links against CFLite.dll, rather than CoreFoundation (as this is not redistributable). Unfortunately, the JavaScriptCoreCommon.vsprops file assumes full CoreFoundation support. Suggestion: Create two new property sheets, and modify the projects to make use of them: (1) JavaScriptCoreCF.vsprops, which uses the true CoreFoundation library. (2) JavaScriptCoreCFLite.vsprops, which uses the open source CFLite library. All current targets in the JavaScriptCore project will now also inherit from JavaScriptCoreCF.vsprops, and should be unaffected. Create two new project targets (Debug_Cairo and Release_Cairo), that will be identical to the standard Debug and Release, but will inherit from JavaScriptCoreCFLite.vsprops instead of JavaScriptCoreCF.vsprops.
Attachments
Patch to allow redistributable JavaScriptCore Builds
(9.70 KB, patch)
2009-05-22 12:57 PDT
,
Brent Fulgham
no flags
Details
Formatted Diff
Diff
Revised patch to use CFLite labels.
(12.17 KB, patch)
2009-05-22 13:23 PDT
,
Brent Fulgham
no flags
Details
Formatted Diff
Diff
Correct my name, remove erroneous Debug_Cairo/Release_Cairo references.
(12.16 KB, patch)
2009-05-22 13:38 PDT
,
Brent Fulgham
sfalken
: review+
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
Brent Fulgham
Comment 1
2009-05-22 12:57:32 PDT
Created
attachment 30589
[details]
Patch to allow redistributable JavaScriptCore Builds
Steve Falkenburg
Comment 2
2009-05-22 13:05:00 PDT
Please consider using _CFLite as the suffix for the configs instead of Cairo, since JavaScriptCore has no Cairo dependencies.
Brent Fulgham
Comment 3
2009-05-22 13:23:54 PDT
Created
attachment 30592
[details]
Revised patch to use CFLite labels.
Steve Falkenburg
Comment 4
2009-05-22 13:29:43 PDT
You need to use your name instead of "U-bfulgham-PC\bfulgham" in both ChangeLogs. Config is still named Debug_Cairo/Release_Cairo. Please rename to Debug_CFLite/Release_CFLite. Fix ChangeLog to refer to Debug_CFLite/Release_CFLite instead of _Cairo.
Brent Fulgham
Comment 5
2009-05-22 13:38:01 PDT
Created
attachment 30593
[details]
Correct my name, remove erroneous Debug_Cairo/Release_Cairo references. Minor update to replace U-bfulgham-PC\bfulgham with Brent Fulgham, as well as correctly naming configurations.
Brent Fulgham
Comment 6
2009-05-22 16:01:00 PDT
Landed in
r44063
.
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