diff options
author | Jedrzej Nowacki <jedrzej.nowacki@nokia.com> | 2009-08-11 19:05:17 (GMT) |
---|---|---|
committer | Jedrzej Nowacki <jedrzej.nowacki@nokia.com> | 2009-08-11 19:25:19 (GMT) |
commit | 2449e7fc567f8151736949032a001cf2aa2d5bb9 (patch) | |
tree | 83cf88427899d42b13d1d55957d45eba4490c7ed /src/script | |
parent | 73a86eaf8136959cbac60af540ee8faadf454015 (diff) | |
download | Qt-2449e7fc567f8151736949032a001cf2aa2d5bb9.zip Qt-2449e7fc567f8151736949032a001cf2aa2d5bb9.tar.gz Qt-2449e7fc567f8151736949032a001cf2aa2d5bb9.tar.bz2 |
QtScript building system change
Make new dependency: QScripttools on Webkit. This change is needed to
implement QScriptEngineAgent as child of JSC::Debugger.
Exclude common part from scripttool.pri and script.pri and move it to
webkit.pri
Diffstat (limited to 'src/script')
-rw-r--r-- | src/script/script.pri | 32 | ||||
-rw-r--r-- | src/script/script.pro | 2 | ||||
-rw-r--r-- | src/script/webkit.pri | 32 |
3 files changed, 34 insertions, 32 deletions
diff --git a/src/script/script.pri b/src/script/script.pri index cb4b2bd..c5963ac 100644 --- a/src/script/script.pri +++ b/src/script/script.pri @@ -1,37 +1,5 @@ -# disable JIT for now -DEFINES += ENABLE_JIT=0 -# FIXME: shared the statically built JavaScriptCore -include($$PWD/../3rdparty/webkit/JavaScriptCore/JavaScriptCore.pri) - include($$PWD/api/api.pri) include($$PWD/bridge/bridge.pri) include($$PWD/parser/parser.pri) include($$PWD/visitors/visitors.pri) include($$PWD/utils/utils.pri) - -INCLUDEPATH += $$PWD/../3rdparty/webkit/JavaScriptCore -INCLUDEPATH += $$PWD/../3rdparty/webkit/JavaScriptCore/parser -INCLUDEPATH += $$PWD/../3rdparty/webkit/JavaScriptCore/bytecompiler -INCLUDEPATH += $$PWD/../3rdparty/webkit/JavaScriptCore/debugger -INCLUDEPATH += $$PWD/../3rdparty/webkit/JavaScriptCore/runtime -INCLUDEPATH += $$PWD/../3rdparty/webkit/JavaScriptCore/wtf -INCLUDEPATH += $$PWD/../3rdparty/webkit/JavaScriptCore/unicode -INCLUDEPATH += $$PWD/../3rdparty/webkit/JavaScriptCore/interpreter -INCLUDEPATH += $$PWD/../3rdparty/webkit/JavaScriptCore/jit -INCLUDEPATH += $$PWD/../3rdparty/webkit/JavaScriptCore/profiler -INCLUDEPATH += $$PWD/../3rdparty/webkit/JavaScriptCore/wrec -INCLUDEPATH += $$PWD/../3rdparty/webkit/JavaScriptCore/API -INCLUDEPATH += $$PWD/../3rdparty/webkit/JavaScriptCore/bytecode -INCLUDEPATH += $$PWD/../3rdparty/webkit/JavaScriptCore/assembler -INCLUDEPATH += $$PWD/../3rdparty/webkit/JavaScriptCore/generated - -# FIXME: not needed once JSCBISON works -# TODO: or leave it like this since the generated file is available anyway? -SOURCES += $$PWD/../3rdparty/webkit/JavaScriptCore/generated/Grammar.cpp - -DEFINES += BUILDING_QT__=1 -DEFINES += USE_SYSTEM_MALLOC -DEFINES += WTF_USE_JAVASCRIPTCORE_BINDINGS=1 -DEFINES += WTF_CHANGES=1 -DEFINES += NDEBUG - diff --git a/src/script/script.pro b/src/script/script.pro index 9aa9bc2..efbeed2 100644 --- a/src/script/script.pro +++ b/src/script/script.pro @@ -9,4 +9,6 @@ DEFINES += QLALR_NO_QSCRIPTGRAMMAR_DEBUG_INFO unix:QMAKE_PKGCONFIG_REQUIRES = QtCore include(../qbase.pri) +include(webkit.pri) include(script.pri) + diff --git a/src/script/webkit.pri b/src/script/webkit.pri new file mode 100644 index 0000000..d5e3571 --- /dev/null +++ b/src/script/webkit.pri @@ -0,0 +1,32 @@ +# disable JIT for now +DEFINES += ENABLE_JIT=0 +# FIXME: shared the statically built JavaScriptCore +include($$PWD/../3rdparty/webkit/JavaScriptCore/JavaScriptCore.pri) + +INCLUDEPATH += $$PWD/../3rdparty/webkit/JavaScriptCore +INCLUDEPATH += $$PWD/../3rdparty/webkit/JavaScriptCore/parser +INCLUDEPATH += $$PWD/../3rdparty/webkit/JavaScriptCore/bytecompiler +INCLUDEPATH += $$PWD/../3rdparty/webkit/JavaScriptCore/debugger +INCLUDEPATH += $$PWD/../3rdparty/webkit/JavaScriptCore/runtime +INCLUDEPATH += $$PWD/../3rdparty/webkit/JavaScriptCore/wtf +INCLUDEPATH += $$PWD/../3rdparty/webkit/JavaScriptCore/unicode +INCLUDEPATH += $$PWD/../3rdparty/webkit/JavaScriptCore/interpreter +INCLUDEPATH += $$PWD/../3rdparty/webkit/JavaScriptCore/jit +INCLUDEPATH += $$PWD/../3rdparty/webkit/JavaScriptCore/profiler +INCLUDEPATH += $$PWD/../3rdparty/webkit/JavaScriptCore/wrec +INCLUDEPATH += $$PWD/../3rdparty/webkit/JavaScriptCore/API +INCLUDEPATH += $$PWD/../3rdparty/webkit/JavaScriptCore/bytecode +INCLUDEPATH += $$PWD/../3rdparty/webkit/JavaScriptCore/assembler +INCLUDEPATH += $$PWD/../3rdparty/webkit/JavaScriptCore/generated + + +# FIXME: not needed once JSCBISON works +# TODO: or leave it like this since the generated file is available anyway? +SOURCES += $$PWD/../3rdparty/webkit/JavaScriptCore/generated/Grammar.cpp + +DEFINES += BUILDING_QT__=1 +DEFINES += USE_SYSTEM_MALLOC +DEFINES += WTF_USE_JAVASCRIPTCORE_BINDINGS=1 +DEFINES += WTF_CHANGES=1 +# DEFINES += NDEBUG + |