[webkit-dev] JSC without Dependencies
Joe Mason
joe.mason at torchmobile.com
Mon Aug 17 11:33:07 PDT 2009
Steve Falkenburg wrote:
>
> On Aug 17, 2009, at 11:04 AM, Brent Fulgham wrote:
>
>> On Mon, Aug 17, 2009 at 9:19 AM, Brian Barnes<ggadwa at charter.net> wrote:
>>
>>> icu*** (might not be possible, google says these are unicode tools)
>>
>> The wtf/unicode things need these libraries. I'm not sure how wise it
>> would be to remove them, however this is the largest single external
>> dependency you will have to deal with.
>
> It may be possible to replace ICU use with
> MultiByteToWideChar/WideCharToMultiByte and similar functions from Win32.
The WINCE implementation might be helpful here. It depends on some data
tables taken from ICU which we decided not to check in, but you can
still find them in the older patches attached to this bug:
https://bugs.webkit.org/show_bug.cgi?id=27305
>>> 3) Compile all within VS (no makes or external calls) to eliminate any
>>> additional dependencies on other tools
>>
>> You can already do this. You only need cygwin to easily handle
>> retrieving the sources, and I think the Google/Chromium guys have been
>> working to remove this dependency.
>
> This one is harder, since JavaScriptCore uses bash, make, perl, and
> bison (at least) from cygwin. See the JavaScriptCoreGenerated vcproj,
> build-generated-files.sh, DerivedSources.make.
> I agree that it would be great to remove this dependency.
I don't think this is worth the pain, since it's entirely a build-time
dependency and won't affect your generated library at all. Is
installing cygwin really that hard? (If it's a matter of bloat, can you
replace the cygwin tools with msys? I haven't tried.)
Joe
More information about the webkit-dev
mailing list