[webkit-help] How does /DerivedSources/HTMLNames.* get generated

Julien Chaffraix julien.chaffraix at gmail.com
Fri Feb 12 09:57:52 PST 2010


Hi,

> Can you please tell me how does these files get generated?
> ./DerivedSources/HTMLNames.cpp
> ./DerivedSources/HTMLNames.h
>
> Does it look up some files to determine what are the attributes, names
> for generation?
> If yes, can you please tell me what is that file?

These files are generated from WebCore/html/HTMLTagNames.in and
WebCore/html/HTMLAttributeNames.in using the perl script
WebCore/dom/make_names.pl.

All the DerivedSources/*Names* (HTMLNames, SVGNames, XMLNames, ...)
are generated using the same mechanism.

Regards,
Julien


More information about the webkit-help mailing list