[webkit-help] Changing Code in DerivedSources
Julien Chaffraix
julien.chaffraix at gmail.com
Wed Feb 10 09:04:31 PST 2010
Hi,
> If I wanted to change some code in the DerivedSources directory, how would I
> go about doing this so that the auto-generated code contains our change on a
> fresh compile?
For the JS bindings, the usual way is to add the [Custom] flag to the
IDL property or method and put your code in a *Custom file (see the
files in WebCore/bindings/js/*Custom and their corresponding IDLs in
WebCore).
For broader changes or other WebCore generated files (.in files for
example), we modify the scripts and / or extend the language.
Your question is a big broad so this is a generic answer (which misses
some file type like the gperf generated ones). If you give us more
details, we can give you a more precise answer.
Regards,
Julien
More information about the webkit-help
mailing list