| 11 | | == JavaScriptCore == |
| 12 | | |
| 13 | | == V8 == |
| 14 | | |
| 15 | | == ObjC == |
| 16 | | |
| 17 | | == GObject == |
| 18 | | |
| 19 | | == CPP == |
| | 11 | By reading this document, you can know how IDL attributes work. |
| | 12 | However, the best practice to understand IDL attributes is to use some IDL attributes and watch the bindings code actually generated. |
| | 13 | |
| | 14 | If you touch any IDL file, all IDL files are rebuilt. |
| | 15 | The code generation is done at the very early phase of the ./webkit-build command, |
| | 16 | and you can find the generated code in 1 minute. |
| | 17 | |
| | 18 | In case of XXX.idl, the bindings code is generated in the following files in the Release build ("Release" becomes "Debug" in the Debug build). |
| | 19 | |
| | 20 | * JavaScriptCore: WebKitBuild/Release/DerivedSources/WebCore/JSXXX.h, WebKitBuild/Release/DerivedSources/WebCore/JSXXX.cpp |
| | 21 | * V8: out/Release/obj/gen/webkit/bindings/V8XXX.h, out/Release/obj/gen/webcore/bindings/V8XXX.cpp |
| | 22 | * ObjC: WebKitBuild/Release/DerivedSources/WebCore/DOMXXX.h, WebKitBuild/Release/DerivedSources/WebCore/DOMXXX.cpp |
| | 23 | * GObject: WebKitBuild/Release/DerivedSources/webkit/WebKitDOMXXX.h, WebKitBuild/Release/DerivedSources/webkit/WebKitDOMXXX.cpp |
| | 24 | * CPP: |