RESOLVED FIXED 45141
[Qt] V8 port for QT platform: webcore project files changes
https://bugs.webkit.org/show_bug.cgi?id=45141
Summary [Qt] V8 port for QT platform: webcore project files changes
Vlad
Reported 2010-09-02 15:45:20 PDT
Modify webcore project files to include V8 javascript engine. By default disabled.
Attachments
webcore project files changes (51.53 KB, text/plain)
2010-09-02 17:09 PDT, Vlad
no flags
QTJAVASCRIPTENGINE changed to JAVASCRIPT_ENGINE. Added V8_INCLUDE_DIR (51.85 KB, patch)
2010-09-03 10:52 PDT, Vlad
no flags
Patch (52.03 KB, patch)
2010-09-11 10:53 PDT, Simon Hausmann
no flags
Patch (52.03 KB, patch)
2010-09-11 10:55 PDT, Simon Hausmann
no flags
Patch (1.52 KB, patch)
2010-09-11 11:00 PDT, Simon Hausmann
no flags
Patch (2.26 KB, patch)
2010-09-11 11:02 PDT, Simon Hausmann
no flags
Patch (51.99 KB, patch)
2010-09-11 11:07 PDT, Simon Hausmann
kling: review+
Vlad
Comment 1 2010-09-02 17:09:51 PDT
Created attachment 66433 [details] webcore project files changes
Laszlo Gombos
Comment 2 2010-09-02 19:47:53 PDT
1./ Instead of +contains(QTJAVASCRIPTENGINE, V8) { + WEBCORE_INCLUDEPATH = \ + $$PWD/../v8.$$QTJAVASCRIPTENGINEREV/include \ + $$PWD/bindings/v8 \ I would recommend +contains(QTJAVASCRIPTENGINE, V8) { + WEBCORE_INCLUDEPATH = \ + $$PWD/../$$V8_DIR/include \ + $$PWD/bindigs/v8 2./ Instead of repeating the wtf source files in WebCore.pro I think it is time to create a wtf.pri under JavaScriptCore/wtf.
Simon Hausmann
Comment 3 2010-09-02 23:53:16 PDT
Comment on attachment 66433 [details] webcore project files changes View in context: https://bugs.webkit.org/attachment.cgi?id=66433&action=prettypatch > WebCore/WebCore.pri:70 > +contains(QTJAVASCRIPTENGINE, V8) { > + IDL_BINDINGS += \ > + html/canvas/CanvasPixelArray.idl > +} > + Andreas, do we need this for the JSC build, too?
Andreas Kling
Comment 4 2010-09-03 01:59:24 PDT
(In reply to comment #3) > > WebCore/WebCore.pri:70 > > +contains(QTJAVASCRIPTENGINE, V8) { > > + IDL_BINDINGS += \ > > + html/canvas/CanvasPixelArray.idl > > +} > > + > Andreas, do we need this for the JSC build, too? No, JSC returns a manually constructed CanvasPixelArray object in WebCore/bindings/js/JSImageDataCustom.cpp and does not use this IDL file.
Vlad
Comment 5 2010-09-03 10:52:39 PDT
Created attachment 66520 [details] QTJAVASCRIPTENGINE changed to JAVASCRIPT_ENGINE. Added V8_INCLUDE_DIR
Andreas Kling
Comment 6 2010-09-07 08:40:46 PDT
Comment on attachment 66520 [details] QTJAVASCRIPTENGINE changed to JAVASCRIPT_ENGINE. Added V8_INCLUDE_DIR > + platform/qt/platformBridge.cpp \ This won't work on case-sensitive systems; the file you added in another patch was called "PlatformBridge.cpp"
Simon Hausmann
Comment 7 2010-09-11 10:53:53 PDT
Simon Hausmann
Comment 8 2010-09-11 10:55:19 PDT
Simon Hausmann
Comment 9 2010-09-11 11:00:36 PDT
Simon Hausmann
Comment 10 2010-09-11 11:02:47 PDT
Simon Hausmann
Comment 11 2010-09-11 11:07:56 PDT
Andreas Kling
Comment 12 2010-09-11 11:08:51 PDT
Comment on attachment 67308 [details] Patch r=me
Simon Hausmann
Comment 13 2010-09-11 11:13:17 PDT
Note You need to log in before you can comment on or make changes to this bug.