[webkit-help] How webkit compile generated js binding src?
arv at chromium.org
Mon Jun 18 11:03:42 PDT 2012
The h/cpp files are generated using CodeGeneratorJS.pm by reading idl files.
Usually it is enough to just modify an idl file or add a new idl file.
Try looking at the change history of one the newer idl files and you
should be able to figure out what you need to do to add a new idl
On Fri, Jun 15, 2012 at 8:41 PM, 刘斌 <liu.samba at gmail.com> wrote:
> Hi, friends
> I am trying to extend webkit js api for my project, my development tools
> are VS2010+cygwin+webkit+cairo port.
> And i am confused that how to compile generated js binding src, such as
> JSxxx.cpp and JSxxxCustom.cpp.
> I found the two files: JSBindingsAllInOne.cpp and DerivedSources.cpp in the
> webkit source directory which includes all JSxxx.cpp and JSxxxCustom.cpp
> I supposed that build system's script will modified these two files to
> insert the new generated binding files,
> but i noticed that these two files are not touched by script when I compile
> the webkit.
> Should I insert the JSxxx.cpp/JSxxxCustom.cpp into them by manual or may I
> just made a mistake?
> Any reference about extending js are welcomed.
> Thank you
> webkit-help mailing list
> webkit-help at lists.webkit.org
More information about the webkit-help